EddyVerbruggen / nativescript-plugin-firebase

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

iOS init error #732

Open shivgolani opened 6 years ago

shivgolani commented 6 years ago

[[NSNotificationCenter defaultCenter] postNotificationName:kFIRAppReadyToConfigureSDKNotification object:self userInfo:appInfoDict];

EddyVerbruggen commented 6 years ago

What's this!?

shivgolani commented 6 years ago

Hello @EddyVerbruggen the plugin works perfectly on Android; however, throwing the above error on iOS when I use firebase.init() function. Basically after Chrashanalytics is loaded the app gets stuck and Xcode debuggers points to this method.

EddyVerbruggen commented 6 years ago

Doesn't ring a bell..

shivgolani commented 6 years ago

@EddyVerbruggen Getting this error when I enable invites. Without invites it works fine.

EddyVerbruggen commented 6 years ago

Can you share a repo reproducing this issue? I mean, I have a demo app with invites which doesn't show this error so it's hard for me to make sense of it.

phlipmode commented 6 years ago

Hey, I got this issue too. Interesting approach with the "invites" module. This would have been my next step, checking which feature might cause this error. The debugger in Xcode just crashes at Line 344 in FIRApp.m from Pods/FirebaseCore (pod 'Firebase/Core', '~> 5.0.0' ).

Another problem is, that you don't get any hints in the nativescript debugger, I was just able to get that crash infos via Xcode itself. I will try the "workaround" and remove "Invite" for now. I will try to supply more info later on.