EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 448 forks source link

Stuck on Splash screen indefinitely #1037

Open dolanmiu opened 5 years ago

dolanmiu commented 5 years ago

On a fresh brand new project, when using this library, the Simulator stays on the Splash Screen.

No error. No Logs.

It just stays there

Edit: After about 5 minutes, it crashes to Home screen

Here is my firebase.nativescript.json:

{
    "external_push_client_only": false,
    "using_ios": true,
    "using_android": true,
    "firestore": true,
    "realtimedb": true,
    "authentication": true,
    "remote_config": false,
    "performance_monitoring": false,
    "messaging": false,
    "crashlytics": false,
    "crash_reporting": false,
    "storage": true,
    "functions": true,
    "facebook_auth": true,
    "google_auth": true,
    "admob": true,
    "invites": true,
    "dynamic_links": false,
    "ml_kit": false
}
EddyVerbruggen commented 5 years ago

Please share the repo.

shivgolani commented 5 years ago

@EddyVerbruggen getting the same issue on iOS.

EddyVerbruggen commented 5 years ago

See my previous comment.

shivgolani commented 5 years ago

@EddyVerbruggen @dolanmiu Adding Invites is causing the issue.

dolanmiu commented 5 years ago

I fixed this issue by using the following json:

{
    "external_push_client_only": false,
    "using_ios": true,
    "using_android": false,
    "firestore": true,
    "realtimedb": true,
    "authentication": true,
    "remote_config": false,
    "performance_monitoring": false,
    "messaging": false,
    "crashlytics": false,
    "crash_reporting": false,
    "storage": true,
    "functions": true,
    "facebook_auth": true,
    "google_auth": true,
    "admob": false,
    "invites": false,
    "dynamic_links": false,
    "ml_kit": false
}

This includes turning off invites as suggested by @shivgolani I also turned off Android for now to keep it simple

I deleted platforms/ios just to be sure

Then it worked