-
-
Notifications
You must be signed in to change notification settings - Fork 240
Description
Only on Ios when I use "@nativescript/firebase": "^11.0.0"
I get an error when try to var batch = firestore.batch();
Uncaught (in promise): TypeError: firebase_common__WEBPACK_IMPORTED_MODULE_1_.firebase.firestore.WriteBatch is not a constructor
TypeError: firebase_common__WEBPACK_IMPORTED_MODULE_1_.firebase.firestore.WriteBatch is not a constructor
at Object.push.../node_modules/@nativescript/firebase/firebase.js.firebase_common__WEBPACK_IMPORTED_MODULE_1_.firebase.firestore.batch (file: node_modules/@nativescript/firebase/firebase.ios.js:1574:0)
and another one when I try to remove the listener
NativeScript encountered a fatal error: Uncaught TypeError: listener.remove is not a function
import { firebase,firestore } from "@nativescript/firebase";
"dependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"@nativescript/angular": "~10.1.0",
"@nativescript/core": "~7.0.0",
"@nativescript/theme": "~2.3.0",
"@schematics/angular": "^10.1.3",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.6.0",
"zone.js": "~0.11.1",
"@nativescript/camera": "^5.0.0",
"@nativescript/firebase": "^11.0.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"date-fns": "^2.16.1",
"dateformat": "^3.0.3",
"nativescript-app-sync": "^2.0.0",
"nativescript-audio": "^6.1.0",
"nativescript-auto-fit-text": "^1.0.0",
"nativescript-camera": "^4.5.0",
"nativescript-insomnia": "^2.0.0",
"nativescript-toasts": "^1.0.3"