Products in the configuration file must be set up in RevenueCatĮven though products don't have to be set up in App Store Connect, they have to be set up in RevenueCat so that RevenueCat can validate the sandbox receipt. That means you can test your subscription groups and products in the simulator and then create the products in App Store Connect later. The subscription group name should match one that is set up for your app in App Store Connect, but it's not a requirement. In this tutorial, an auto-renewable subscription will be created.Įnter a name for a new subscription group and click Done. In the editor, click the "+" button at the bottom and create a new product. Step 3: Setting up the StoreKit Configuration File However, the RevenueCat SDK is still able to detect there are no active subscriptions and the appropriate entitlements will be removed when the app is restarted again. window, these types of events are not stored in the receipt and will not appear on the RevenueCat dashboard. While you can cancel and refund subscriptions through Xcode's Manage Transactions. StoreKit testing won't show cancellation or refund events It's recommended to test without configuration files until this is addressed. When making test purchases on the simulator, the transactions will appear to go through but you'll receive an error from our backend. While you can upload a StoreKit configuration file with a macOS app, this setup is currently incompatible with the SDK. StoreKit testing is currently incompatible with macOS This is a known issue and we have filed a feedback to Apple. Any command line tools that use the xcodebuild command to start running an app (like flutter run or Flutter's VSCode plugin) won't use the StoreKit Configuration File specified in your scheme. StoreKit testing only works if you are running your app directly through Xcode. StoreKit testing requires running app from Xcode Make sure to test on a real device if testing on iOS 13 or earlier. StoreKit testing works on iOS 14 and later
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |