Skip to content

error: "plugin_not_installed"Β #49

@DaedalusAB

Description

@DaedalusAB

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions