Closed russcarver closed 6 years ago
Sure, I'll add something - that was a bit of an oversight - sorry. Meanwhile, try this:
var crashlytics = FirebaseCrashlytics.initialise();
crashlytics.crash();
That did it, thanks!
Simple example above added to README
unable to use in ionic 4 angular 6. Any suggestion ?
Can you put in your readme an example of how to use it? I have the following:
declare var FirebaseCrashlytics: any;
and then later, trying to use as:
FirebaseCrashlytics.crash();
but I get an error:
"TypeError: FirebaseCrashlytics.crash is not a function"
I chose "FirebaseCrashlytics" based on the
clobber
found in yourplugin.xml
.