Another follow-up in the series of webinars covering Amazon devices, services, and mobile applications, here’s a list of questions we collected during and after our presentation on the Amazon In-App Purchasing API.
Q: How does amazon recommend implementing restoring IAPs for device re-installs or multiple devices?
A: For Entitlements and Subscriptions, you can use PurchasingManager.initiatePurchaseUpdatesRequest(Offset.BEGINNING); to get all the receipts for the currentUser, and you can validate any receipt against the Receipt Validation Service (not discussed in the Webinar.)
Q:Can I host website files on S3 for app program? How will only legitimate app purchasers access the website? Mobile app program needs more info/examples. e-book publishers can't relate.
A: Yes. IAP does not care where entitled content is fulfilled from. You can fulfill content from an S3 server. Your app would be responsible for validating entitlement or active subscription for currentUser, and then pulling down the S3 content and granting currentUser access to that data.
Q: Could you show how it looks visually in some app?
A: See ButtonClicker, a sample in the IAP section of the SDK download
Q: I mean specific recommendations implemented inapp purchases with ANE.
Q: We are looking to restore saved game data using the userID, is this a sensible use for the ID? If so what is the maximum length of this string, does it contain only ASCII characters?
A: Good question. We recommend using the userID (player name and alias) from the GameCircle API. Using this, you can not only get an identifier for saved game data, but you can also sync game state, store high-scores and register achievements. If you don't want to use GameCircle, getUserID will return an app-specific ID of the currently logged in user, meaning the result will be different for different apps, even on the same device. The UserID will, however, always the same for the same package name, even across devices.
Q: What format is the userID field? (length, character encoding, etc)
Q: Can you also add a few more samples of html5 code for us to check so that we know our content will work on multiple devices.