flutter-sdk icon indicating copy to clipboard operation
flutter-sdk copied to clipboard

Ability to check whether Qonversion has been initialized

Open LorTos opened this issue 1 year ago • 3 comments

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
  ...
}

LorTos avatar Sep 11 '24 09:09 LorTos

Hi @LorTos Thanks for the request. I'll add this to our feature requests list and let you know when we implement it!

suriksarkisyan avatar Sep 11 '24 09:09 suriksarkisyan

By the way, here is our public list of feature requests.

suriksarkisyan avatar Sep 11 '24 09:09 suriksarkisyan

Uh good to know! I'll add it there next time, thanks!

LorTos avatar Sep 11 '24 09:09 LorTos

Any updates?

admin824 avatar Sep 25 '25 21:09 admin824

Hi @LorTos. We haven’t revisited this feature request since it hasn’t been requested often. Could you clarify your use case and why this feature is essential for you?

SpertsyanKM avatar Sep 28 '25 12:09 SpertsyanKM

It's been a while so I cannot remember the problem I was having at the time, I wouldn't consider this feature to be essential since I worked around it in the meantime

LorTos avatar Oct 01 '25 07:10 LorTos

Okay, thank you, @LorTos!

I have the same question for @admin824. Could you please clarify your use case and why this feature is essential for you?

SpertsyanKM avatar Oct 01 '25 08:10 SpertsyanKM