Open DaedalusAB opened 3 years ago
Plugin initializes and works afterwards
Plugin doesn't initialize some of the time.
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');
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).
ERROR TypeError: this.crashlytics.logException is not a function
At random, the plugin will be initialized and will work properly, on the exact same code/build.
Same issue, did you find a solution?
Facing same issue, did you find a solution? can someone help.. @ReallySmallSoftware
Same issue, are there any updates on the resolution ?? @ReallySmallSoftware
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