I've a problem that I can not fix.
My application is always running background. Billing manager is in Starter Service.
If I call manager.GetOwnedProducts while Google Play Store stopped (self-update or change device language etc.), my application crashes.
I find a same error here https://github.com/googlesamples/android-play-billing/issues/45#issuecomment-324466519
And here a solution https://github.com/googlesamples/android-play-billing/issues/45#issuecomment-328961916
How can I register a event for onBillingServiceDisconnected() for BillingManager?
My application is always running background. Billing manager is in Starter Service.
If I call manager.GetOwnedProducts while Google Play Store stopped (self-update or change device language etc.), my application crashes.
I find a same error here https://github.com/googlesamples/android-play-billing/issues/45#issuecomment-324466519
And here a solution https://github.com/googlesamples/android-play-billing/issues/45#issuecomment-328961916
How can I register a event for onBillingServiceDisconnected() for BillingManager?
B4X:
java.lang.NullPointerException:
at anywheresoftware.b4a.objects.IbHelper.queryPurchases (IbHelper.java:836)
at anywheresoftware.b4a.objects.IbHelper.queryInventory (IbHelper.java:544)
at anywheresoftware.b4a.objects.IbHelper.queryInventory (IbHelper.java:523)
at anywheresoftware.b4a.objects.IbHelper$3.run (IbHelper.java:616)
at java.lang.Thread.run (Thread.java:764)
Last edited: