Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a method to check if service is initialized and usable #157

Open
coderGtm opened this issue Jan 29, 2024 · 0 comments
Open

Add a method to check if service is initialized and usable #157

coderGtm opened this issue Jan 29, 2024 · 0 comments

Comments

@coderGtm
Copy link

I have a use case where I don't want to initialize the service in onCreate() in order to save memory. So I initialize it just before purchase. But if I initialize it everytime on a purchase, it will call addPurchaseListenerer all those times. So it here a way to know that the service is initialized and usabe (if it is initialized long back, say a day, then the session might get expired....just my guess).

So a function like iapConnector.isUsable() will be awesome!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant