You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2022. It is now read-only.
A considerable number of my users get this exception. However, I cannot reproduce it on any of my devices.
java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory
at org.onepf.oms.appstore.googleUtils.IabHelper.checkSetupDone(IabHelper.java:806)
at org.onepf.oms.appstore.googleUtils.IabHelper.queryInventory(IabHelper.java:566)
at org.onepf.oms.OpenIabHelper.queryInventory(OpenIabHelper.java:930)
at org.onepf.oms.OpenIabHelper$5.run(OpenIabHelper.java:957)
at java.lang.Thread.run(Thread.java:864)
I can see that you throw IllegalStateException when mSetupDone is false in checkSetupDone() in org.onepf.oms.appstore.googleUtils.IabHelper
I guess we could add 'catch (IllegalStateException ex)' to the queryInventoryAsync method in OpenIabHelper to handle this exception.
A considerable number of my users get this exception. However, I cannot reproduce it on any of my devices.
java.lang.IllegalStateException: IAB helper is not set up. Can't perform operation: queryInventory
at org.onepf.oms.appstore.googleUtils.IabHelper.checkSetupDone(IabHelper.java:806)
at org.onepf.oms.appstore.googleUtils.IabHelper.queryInventory(IabHelper.java:566)
at org.onepf.oms.OpenIabHelper.queryInventory(OpenIabHelper.java:930)
at org.onepf.oms.OpenIabHelper$5.run(OpenIabHelper.java:957)
at java.lang.Thread.run(Thread.java:864)
I can see that you throw IllegalStateException when mSetupDone is false in checkSetupDone() in org.onepf.oms.appstore.googleUtils.IabHelper
I guess we could add 'catch (IllegalStateException ex)' to the queryInventoryAsync method in OpenIabHelper to handle this exception.