IAP and activity lifecycle & iap developer payload
1. I can easily implement amazon iap by reading sample code, but I wonder if I must register PurchaseObserver in the onStart method. or I can register it in the onCreate method 2. Is there any api to add a developer-customized payload into receipt or we need to implement by our self that we make the receipt part of our message
We generally do not answer questions about future products or services, which this falls under. However, I'd be happy to forward this feedback/suggestion to the correct team. Could you please provide more information on the "developer payload" feature you are looking for? Thanks.
Developer Payload description copied from Google Play Store billing documentation: "you can include a 'developer payload' string token when sending your purchase request to Google Play. Typically, this is used to pass in a string token that uniquely identifies this purchase request. If you specify a string value, Google Play returns this string along with the purchase response. Subsequently, when you make queries about this purchase, Google Play returns this string together with the purchase details."