Skip to content
New issue

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

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

Already on GitHub? Sign in 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!

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

No branches or pull requests

1 participant