-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Expected Behavior
Plugin initializes and works afterwards
Actual Behavior
Plugin doesn't initialize some of the time.
Steps to Reproduce the Problem
This is a piece of code in a constructor of an angular service injected in 'root'
this.crashlytics = this.firebaseCrashlytics.initialise(); console.log(">> init crashalitics", this.crashlytics); // <--- log
When I run the app on an android device, it sometimes works, but most of the time it gives me back this in the log:
error: "plugin_not_installed" __proto__: Object
After that, when I attempt to log an exception (or anyhting) via
this.crashlytics.logException('asdfa');
It breaks with:
ERROR TypeError: this.crashlytics.logException is not a function (which, clearly is there because plugin is not installed somehow).
At random, the plugin will be initialized and will work properly, on the exact same code/build.
Specifications
- Plugin version: ~1.2.0
- Framework: Angular
- Framework version: 8
- Operating system: Android