Hi,
cannot authenticate in Firebase using plugin @nativescript/firebase 11.0.0-rc.6 with NS 7.0.8 on ANDROID (Angular project).
When trying to login (with any method... anonymous, email/password/Google Login), I get this error:
Error in firebase.login: TypeError: Cannot set property 'resolve' of undefined
On IOS it's working with no problems.
I tryed on macOS and on Windows, same result.
Steps to reproduce:
create a new blank NG project, using the new template "@nativescript/template-blank-ng" version 7.0.2, add Firebase init code as explained in the plugin page, add "google-services.json" downloaded from Firebase console, add a button and assign to it a Firebase login function (for example the Anonymous login). See the result on output console:
Error in firebase.login: TypeError: Cannot set property 'resolve' of undefined
Hi, cannot authenticate in Firebase using plugin @nativescript/firebase 11.0.0-rc.6 with NS 7.0.8 on ANDROID (Angular project). When trying to login (with any method... anonymous, email/password/Google Login), I get this error: Error in firebase.login: TypeError: Cannot set property 'resolve' of undefined On IOS it's working with no problems. I tryed on macOS and on Windows, same result.
Steps to reproduce: create a new blank NG project, using the new template "@nativescript/template-blank-ng" version 7.0.2, add Firebase init code as explained in the plugin page, add "google-services.json" downloaded from Firebase console, add a button and assign to it a Firebase login function (for example the Anonymous login). See the result on output console: Error in firebase.login: TypeError: Cannot set property 'resolve' of undefined
Here is my package.json file:
{ "name": "@nativescript/template-hello-world-ng", "main": "main.js", "version": "7.0.0", "author": "NativeScript Team oss@nativescript.org", "description": "NativeScript Application", "license": "SEE LICENSE IN",
"publishConfig": {
"access": "public"
},
"keywords": [
"nativescript",
"mobile",
"angular",
"{N}",
"template"
],
"repository": "",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"scripts": {
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc"
},
"dependencies": {
"@angular/animations": "10.1.1",
"@angular/common": "10.1.1",
"@angular/compiler": "10.1.1",
"@angular/core": "10.1.1",
"@angular/forms": "10.1.1",
"@angular/platform-browser": "10.1.1",
"@angular/platform-browser-dynamic": "10.1.1",
"@angular/router": "10.1.1",
"@nativescript/angular": "10.1.0",
"@nativescript/core": "7.0.3",
"@nativescript/firebase": "rc",
"@nativescript/theme": "2.3.3",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"zone.js": "0.11.1"
},
"devDependencies": {
"@angular/compiler-cli": "10.1.1",
"@nativescript/android": "7.0.0",
"@nativescript/types": "7.0.3",
"@nativescript/webpack": "3.0.4",
"@ngtools/webpack": "10.1.1",
"typescript": "3.9.7"
},
"gitHead": "9905b5001bf6c07e1bb26e84c4bcc62db11181dc",
"private": "true",
"readme": "NativeScript Application"
}
Anybody else having this issue?
Regards, Paolo