I want request all purchase history for the current user and app. Data json is ENTITLED, used code demo PurchasingManager.initiatePurchaseUpdatesRequest(Offset.fromString(baseActivity.getSharedPreferences(baseActivity.getCurrentUser(), Context.MODE_PRIVATE).getString(OFFSET, Offset.BEGINNING.toString()))); not working.Help me, please. p/s: test on sanbox null
Thank you for your post. The initiatePurchaseUpdatesRequest is an important API call that enables developers to restore in-app purchases. A common use case for this method is when a customer buys in-app items on one device and then downloads the same app on another device, or when a customer re-installs the app after removing it from their device. In both scenarios, through theinitiatePurchaseUpdatesRequest()call, make past in-app purchases and restore those purchases to the correct state. Please mention more details about what error you are getting when you are using the above method. This would help us to investigate the issue further.