Skip to main content

I ran my app on the Xcode iPhone SE iOS 12 Simulator and was surprised that Purchases.shared.offerings { (offerings, error) returned a value.  But also that the offering was corrupted. My available packages in offerings.current are 2 subscription and 1 Non-Consumable but 3 subscriptions were returned.  The Non-Consumable was incorrectly defined as a subscription.

On iOS 14 simulators Purchases.shared.offerings { (offerings, error) returns nothing as expected.

Can anyone explain what I am seeing here please.

The app is working in production.

regards

Peter

Hey @Peter Rule ,

Unfortunately, StoreKit does not work properly in iOS simulators. StoreKit's stability in the simulator has been historically flaky, resulting in random bugs when fetching products. I would definitely recommend testing on a real device.

 

Let me know if you have any other questions!


Reply