You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
For the past days, I've was thinking that this can be achieved adding timeOut when initializing Firebase as mention in issue #588, but it was wrong.
I've open this new issue to address this problematic, in which I will explain me better.
Using the plugin as always with firebase.init, return nothing, no error, no promise callback. Simply the plugin isn't initialized.
Putting the initialization function into a timeout: setTimeout(()=>{ firebase.init(()=>{...}) },1000)
Something seems to work, authentication is working fine (login, auth callback, ...).
Also retrieving data from the real-time DB works,
but when I try to update a value something goes wrong: JS: Unhandled Promise rejection: Reload failed com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred. ; Zone: <root> ; Task: ; Value: Reload failed com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred.
These problems are related to the following versions: angular: ^5.0.0; nativescript: 3.4; nativescript-angular: ^5.0.0 ; tns-core-modules: 3.4; tns-android: 3.4
I think that it can be related to some conflict and/or changes in nativescript-angular.
Note: I've cannot test it on iOs
The text was updated successfully, but these errors were encountered:
For the past days, I've was thinking that this can be achieved adding timeOut when initializing Firebase as mention in issue #588, but it was wrong.
I've open this new issue to address this problematic, in which I will explain me better.
Using the plugin as always with
firebase.init
, return nothing, no error, no promise callback. Simply the plugin isn't initialized.Putting the initialization function into a timeout:
setTimeout(()=>{ firebase.init(()=>{...}) },1000)
Something seems to work, authentication is working fine (login, auth callback, ...).
Also retrieving data from the real-time DB works,
but when I try to update a value something goes wrong:
JS: Unhandled Promise rejection: Reload failed com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred. ; Zone: <root> ; Task: ; Value: Reload failed com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred.
These problems are related to the following versions:
angular: ^5.0.0; nativescript: 3.4; nativescript-angular: ^5.0.0 ; tns-core-modules: 3.4; tns-android: 3.4
I think that it can be related to some conflict and/or changes in nativescript-angular.
Note: I've cannot test it on iOs
The text was updated successfully, but these errors were encountered: