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
Hi,
What is the best practices regarding in-app-purchases and internet issues?
Should I listen to network availability?
Should I init the library only if there's internet available?
Should I re-init if the network was disconnected and reconnected?
I'm shooting in the dark here, would really appreciate your knowledge.
Thanks!
The text was updated successfully, but these errors were encountered:
I haven't installed and tried the library yet, but assume it'll throw some exceptions when you initialise it with no internet available - will then need to prompt the user to check their internet connection.
While working on this, I found the init will fail if there's no internet (for the first load), and will not fail if the app was loaded (Google play cache), also it will not fail on getting the products... but fail purchasing.
Breaking the internet connection between purchase success, and consume will leave the product in a "user already bought this item" that we somehow have to understand...
All these off-line situations are not formalized and actually should work the same on all apps...
Hi,
What is the best practices regarding in-app-purchases and internet issues?
Should I listen to network availability?
Should I init the library only if there's internet available?
Should I re-init if the network was disconnected and reconnected?
I'm shooting in the dark here, would really appreciate your knowledge.
Thanks!
The text was updated successfully, but these errors were encountered: