You're right, Dungeons restores transactions from the server if it detects that it was just installed and doesn't have purchase history yet.
Only managed items are restored, that's part of the definition of a managed item. http://developer.android.com/guide/market/billing/billing_overview.html#billing-request The billing infrastructure prevents repeat purchases of managed items. Still, it's a good idea to not present the purchase UI for an item that's already been purchased (and present some other UI or functionality enhancements that the user purchased with the item). Also be aware that some users backup and restore apps and their data when wiping / flashing / getting a new phone, this matters if you encrypt your purchase state data with anything device specific (e.g. the device id or the IMEI). -- Kostya 2011/11/10 Trung Nguyen Thanh <[email protected]> > I tried to search about that problem, but didnt get many information. > I just know that: > - Restore in the first time user install app or when user reinstall > when they uninstall/wipe data. > - Restore transaction just apply for managed-product. > I tried to read Dungeon Example, there are few line of code about > restore transaction like: when to call restore request, when to get > restore respone... but i dont know: > - How to get return information? (like item id that user had bought > cause we need that id to ensure that user will not buy it again?) > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

