From f95aeb9731d7ab2c31ab7881e30c1f0a22317cfa Mon Sep 17 00:00:00 2001 From: EddyVerbruggen Date: Tue, 9 Oct 2018 13:04:38 +0200 Subject: [PATCH] Nested GeoPoint gets saved as object in Firestore on iOS #947 --- demo-ng/app/tabs/firestore/firestore.component.ts | 6 ++++++ demo-ng/package.json | 2 +- src/package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/demo-ng/app/tabs/firestore/firestore.component.ts b/demo-ng/app/tabs/firestore/firestore.component.ts index c7738f46..37969409 100644 --- a/demo-ng/app/tabs/firestore/firestore.component.ts +++ b/demo-ng/app/tabs/firestore/firestore.component.ts @@ -142,6 +142,12 @@ export class FirestoreComponent { .update({ name: "Woofieupdate", last: "updatedwoofie!", + nested: { + nestedFoo: "bar", + nestedUpdateTs: firestore.FieldValue.serverTimestamp(), + nestedLastKnownLocation: firebase.firestore().GeoPoint(4.34, 5.67), + nestedLastKnownLocation2: firestore.GeoPoint(4.34, 5.67) + }, city: sfDocRef, updateTs: firestore.FieldValue.serverTimestamp(), updateTsAlt: firebase.firestore().FieldValue().serverTimestamp(), diff --git a/demo-ng/package.json b/demo-ng/package.json index 4458577d..0abe4f67 100644 --- a/demo-ng/package.json +++ b/demo-ng/package.json @@ -25,7 +25,7 @@ "nativescript-angular": "^6.1.0", "nativescript-camera": "^4.0.2", "nativescript-imagepicker": "~6.0.4", - "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.1.2.tgz", + "nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.1.4.tgz", "nativescript-theme-core": "~1.0.4", "reflect-metadata": "~0.1.10", "rxjs": "~6.0.0 || >=6.1.0", diff --git a/src/package.json b/src/package.json index c4eeb669..14f120da 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "nativescript-plugin-firebase", - "version": "7.1.3", + "version": "7.1.4", "description": "Fire. Base. Firebase!", "main": "firebase", "typings": "index.d.ts",