Skip to content

Ability to check whether Qonversion has been initialized #356

@LorTos

Description

@LorTos

It would be nice to have the ability to check whether the framework has been initialized.

My use case is that I use checkEntitlements when the user returns to the app, and in some edge cases the user apparently puts the app in background before the initialization completes, then comes back to it and the checkEntitlements is triggered.

I can work around the problem and it's not that problematic, but could come in handy to have a quick way to check in some other cases. Plus if I understand it correctly it should be just a matter of exposing something like:

abstract class Qonversion {
  ...
  static bool get isInitialized => _backingInstance != null
  ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions