ReallySmallSoftware / cordova-plugin-firebase-crashlytics

Google Firebase Crashlytics Cordova plugin
Other
32 stars 80 forks source link

FirebaseCrashlytics is undefined #26

Closed kalaiprakash93 closed 3 years ago

kalaiprakash93 commented 5 years ago

The following version i have used in my app image

Am calling below code in onDeviceReady event, var crashlytics = FirebaseCrashlytics.initialise(); crashlytics.logException("my caught exception");

But it alwasys return FirebaseCrashlytics is not defined error. Am using phonegap online build. Please check image

kalaiprakash93 commented 5 years ago

While creating cordova build its working fine but it is not working in Phonegap online build(build.phonegap.com)

kalaiprakash93 commented 4 years ago

i got the issues and fixed.but in ios its not working

svignesh07 commented 4 years ago

Hello @kalaiprakash93, I was wondering if you could get this plugin to work for iOS app? If yes, please let me know how you did it. Thanks.

kalaiprakash93 commented 4 years ago

No.Its only working in android alone. not working in iOS For iOS i have referred some other plugin cordova-fabric-plugin

svignesh07 commented 4 years ago

Got it. Thanks @kalaiprakash93. Also, could you please let me know if alternate plugin "cordova-fabric-plugin" you mentioned worked successfully for iOS?

ReallySmallSoftware commented 4 years ago

Someone has suggested there is some missing code in the iOS version - I am looking into this.

MaxXx1313 commented 4 years ago

For android try to add the following plugin: <plugin name="cordova-support-google-services" spec="1.3.1" />

ReallySmallSoftware commented 4 years ago

I have published a new release as it was being asked for, but I haven't had time to test properly

ReallySmallSoftware commented 3 years ago

Closing as no response for a while

MaxXx1313 commented 3 years ago

Sorry, I'd like to recommend using another plugin, which is more stable at the current moment: firebase-x