We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=2061984, result=0, data=Intent { (has extras) }} to activity {com...}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
Caused by java.lang.NullPointerException com.anjlab.android.iab.v3.BillingBase.getPreferencesBaseKey (BillingBase.java:37) com.anjlab.android.iab.v3.BillingProcessor.getPurchasePayload (BillingProcessor.java:450) com.anjlab.android.iab.v3.BillingProcessor.handleActivityResult (BillingProcessor.java:379) com... (My call)
The text was updated successfully, but these errors were encountered:
Maybe try passing application context instead of activity to BillingProcessor?
Sorry, something went wrong.
closing this in flavour of #166
No branches or pull requests
Fatal Exception: java.lang.RuntimeException
Failure delivering result ResultInfo{who=null, request=2061984, result=0, data=Intent { (has extras) }} to activity {com...}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
Caused by java.lang.NullPointerException
com.anjlab.android.iab.v3.BillingBase.getPreferencesBaseKey (BillingBase.java:37)
com.anjlab.android.iab.v3.BillingProcessor.getPurchasePayload (BillingProcessor.java:450)
com.anjlab.android.iab.v3.BillingProcessor.handleActivityResult (BillingProcessor.java:379)
com... (My call)
The text was updated successfully, but these errors were encountered: