I am using this component and it was working in production without a problem. But I am having an issue recently while restoring auto-renewable products;
"InAppPurchasesRestored" - Raised whenever products have been restored from the iTunes App Store.
"InAppProductRestored" - Raised whenever a product is restored from the iTunes App Store.
I can get every product by catching the event "InAppProductRestored" but somehow "InAppPurchasesRestored" event is not called anymore so I cannot get the count of it. I was doing purchased receipt process in this event handler because I check the latest purchased product and send the receipt to our server here. "InAppProductRestored" calls every product that is purchased previously so its not helping me in this case.
PurchaseManager.RestoreProducts (); //calls nothing currently PurchaseManager.RestorePreviousPurchases (); //call just "InAppProductRestored"
I am executing both of them for restore. (I am using the apple sandbox environment - SimulateiTunesAppStore = false)
Persistence settings in AppDelegate are like below;
PurchaseManager.AutomaticPersistenceType = InAppPurchasePersistenceType.LocalFile; PurchaseManager.PersistenceFilename = "AtomicData"; PurchaseManager.ShuffleProductsOnPersistence = false; PurchaseManager.AutoPersistAfterPurchase = true; PurchaseManager.FullPersistence = true;
Any help or advice would be great. Thanks!