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 has been archived by the owner on Apr 28, 2022. It is now read-only.
AmazonBilling provider uses Service\BroadcastReceiver flow to handle requests. Current implementation is a little bit unreliable and somewhat confusing - there's no way to distinguish one purchase response from another.
Best way to workaround it is probably make billing request handling a blocking operation. However Amazon doesn't guarantee callback after posted request - there should be some failsafe so library won't get stuck waiting for callback that will never arrive.
Solution likely requires quite a bit of decompiled code reading.
The text was updated successfully, but these errors were encountered:
Any idea if this is likely to be a real-world problem for an Amazon store app that has simple "BUY" buttons for non-consumables, i.e. where the customer will rarely tap more than one, and when they do, they will at a minimum be 10-60 seconds apart?
Or, similarly, could it be a problem after re-installing the app and having a group of (say 10) previous purchases restored?
I.e., I'm trying to work out if this issue should block me trying to use it on Amazon with my quite simple IAP needs? Thanks in advance for any insight!
This enhancement is intended to make Amazon purchase flow more like other BillingProviders. Potentially it will allow to simplify library architecture and add getSku() API to BillingResponse.
Any idea if this is likely to be a real-world problem for an Amazon store app that has simple "BUY" buttons for non-consumables
AmazonBilling provider uses Service\BroadcastReceiver flow to handle requests. Current implementation is a little bit unreliable and somewhat confusing - there's no way to distinguish one purchase response from another.
Best way to workaround it is probably make billing request handling a blocking operation. However Amazon doesn't guarantee callback after posted request - there should be some failsafe so library won't get stuck waiting for callback that will never arrive.
Solution likely requires quite a bit of decompiled code reading.
The text was updated successfully, but these errors were encountered: