Skip to content

Commit 03f3fc3

Browse files
committed
android
1 parent 2dd0053 commit 03f3fc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/FlutterFirebaseFirestoreMessageCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected void writeValue(ByteArrayOutputStream stream, Object value) {
7474
writeDouble(stream, ((GeoPoint) value).getLongitude());
7575
} else if (value instanceof VectorValue) {
7676
stream.write(DATA_TYPE_VECTOR_VALUE);
77-
writeValue(stream, ((VectorValue) value).getInternalValue());
77+
writeValue(stream, ((VectorValue) value).toArray());
7878
} else if (value instanceof DocumentReference) {
7979
stream.write(DATA_TYPE_DOCUMENT_REFERENCE);
8080
FirebaseFirestore firestore = ((DocumentReference) value).getFirestore();

0 commit comments

Comments
 (0)