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

BadTokenException in BillingReceiver #117

Open
nickkadrov opened this issue Jun 1, 2013 · 0 comments
Open

BadTokenException in BillingReceiver #117

nickkadrov opened this issue Jun 1, 2013 · 0 comments

Comments

@nickkadrov
Copy link

Hi,

First of all thak you for you nice library. It's really help me.

From time to time I've get this exeption from my users:
java.lang.RuntimeException: Unable to start receiver net.robotmedia.billing.BillingReceiver: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@41e718e8 is not valid; is your activity running?

I'm using AbstractBillingObserver for handling purchase process (not the activity version). As I understand sometimes for some reason Activity that I had put to Observer allready dead at the end of purchase.
What is the proper way to handel this situation?

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