-
Notifications
You must be signed in to change notification settings - Fork 444
Broken firebase API broken since 8/26 #475
Comments
I think |
Tried wrapping, still the same. |
I'm seeing something similar here. Not getting "firebase.init done" or "firebase.init error". Weird thing is it seems to be Android only. iOS builds are working fine on the same project. |
I think I know why this happens; this PR introduced a dependency on a very recent tns-core-modules version; it depends on this changeset to be present in your project. I don't like that dependecy so I'm going to remove the profiling code. Good thing is: Google fixed a few performance issues (mostly related to |
Just downloaded the latest version, problem persists for me.
and my {
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.jw",
"tns-ios": {
"version": "3.1.0"
},
"tns-android": {
"version": "3.1.1"
}
},
"dependencies": {
"nativescript-fonticon": "^1.1.1",
"nativescript-geolocation": "^3.0.0",
"nativescript-imagepicker": "^3.0.2",
"nativescript-mapbox": "^3.0.1",
"nativescript-oauth": "^2.0.1",
"nativescript-plugin-firebase": "^4.1.0",
"nativescript-telerik-ui": "^3.0.4",
"nativescript-theme-core": "^1.0.4",
"tns-core-modules": "^3.1.0",
"tns-platform-declarations": "^3.1.0"
},
"devDependencies": {
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"eslint": "^4.6.1",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"lazy": "1.0.11",
"nativescript-dev-android-snapshot": "^0.*.*",
"nativescript-dev-typescript": "^0.5.0",
"typescript": "^2.4.2"
}
} |
@ivegotasthma Please try the demo app. If you can reproduce it there then I'll take a look. |
Hello having the same issue even after i upgrade the plugin with npm just yesterday. Here is my scenario. I'm trying to merge two projects : the second is built on nativescript-plugin-firebase, they both work standalone but as soon as i merge them i'm getting this problem :JS: Angular is running in the development mode. Call enableProdMode() to enable the production mode. JS: Error in firebase.addValueEventListener: TypeError: Cannot read property 'child' of null JS: ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'child' of null JS: TypeError: Cannot read property 'child' of null I can add you temporarily to the repository of the project on bitbucket so that you can have a look ... |
@eddysen If you can reproduce the issue on the demo app then I'll gladly take a look! |
Experiencing this issue on Android only since upgrading to tns 3.4.0 |
Hi @eddysen , @ishandutta2007 , @ivegotasthma, @prestopasto |
I have been getting this error on my project, so suspecting some change on firebase side I created a fresh new nativescript project, fresh new firebase project with fresh new android app , adding fresh database data, still getting the same error which I have never seen before.
Essentially all
firebase.instance
insidenativescript-plugin-firebase
plugin are null all of a sudden without any change in code from my side.Error Message Received on terminal:
Steps followed:
org.nativescript.bbnsng
keytool -list -v -keystore ~/.android/bbnsng.keystore
to get SHA1, update app with samegoogle-services.json
and add it to app/App_Resources/Android/Steps to reproduce:
The text was updated successfully, but these errors were encountered: