From e838eecc64a71c531aa7622aa78f24261edad4d6 Mon Sep 17 00:00:00 2001 From: Trey t Date: Mon, 24 Nov 2025 13:43:24 -0600 Subject: [PATCH] Add StoreKit Configuration file for local in-app purchase testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Created Configuration.storekit with two subscription products: - MyCrib Pro Monthly ($4.99/month) * Product ID: com.example.mycrib.pro.monthly * 1 week free trial * Recurring monthly subscription - MyCrib Pro Annual ($49.99/year) * Product ID: com.example.mycrib.pro.annual * 1 month free trial * Recurring annual subscription (17% savings) This allows testing StoreKit 2 purchase flows in the iOS Simulator without needing TestFlight or App Store Connect configuration. Setup instructions: 1. Open iosApp.xcodeproj in Xcode 2. Add Configuration.storekit to project (drag into Project Navigator) 3. Edit scheme (Product > Scheme > Edit Scheme) 4. Go to Run > Options tab 5. Set StoreKit Configuration to "Configuration.storekit" 6. Run app in simulator to test purchases locally 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- iosApp/iosApp/Configuration.storekit | 139 +++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 iosApp/iosApp/Configuration.storekit diff --git a/iosApp/iosApp/Configuration.storekit b/iosApp/iosApp/Configuration.storekit new file mode 100644 index 0000000..4f98ff2 --- /dev/null +++ b/iosApp/iosApp/Configuration.storekit @@ -0,0 +1,139 @@ +{ + "identifier" : "C7E7B8F0", + "nonRenewingSubscriptions" : [ + + ], + "products" : [ + + ], + "settings" : { + "_applicationInternalID" : "6738709434", + "_developerTeamID" : "Y3D7Z5NY85", + "_failTransactionsEnabled" : false, + "_lastSynchronizedDate" : 753868871.33856297, + "_locale" : "en_US", + "_storefront" : "USA", + "_storeKitErrors" : [ + { + "current" : null, + "enabled" : false, + "name" : "Load Products" + }, + { + "current" : null, + "enabled" : false, + "name" : "Purchase" + }, + { + "current" : null, + "enabled" : false, + "name" : "Verification" + }, + { + "current" : null, + "enabled" : false, + "name" : "App Store Sync" + }, + { + "current" : null, + "enabled" : false, + "name" : "Subscription Status" + }, + { + "current" : null, + "enabled" : false, + "name" : "App Transaction" + }, + { + "current" : null, + "enabled" : false, + "name" : "Manage Subscriptions Sheet" + }, + { + "current" : null, + "enabled" : false, + "name" : "Refund Request Sheet" + }, + { + "current" : null, + "enabled" : false, + "name" : "Offer Code Redeem Sheet" + } + ] + }, + "subscriptionGroups" : [ + { + "id" : "21517970", + "localizations" : [ + + ], + "name" : "MyCrib Pro", + "subscriptions" : [ + { + "adHocOffers" : [ + + ], + "codeOffers" : [ + + ], + "displayPrice" : "4.99", + "familyShareable" : false, + "groupNumber" : 1, + "internalID" : "6738711291", + "introductoryOffer" : { + "internalID" : "6738711408", + "numberOfPeriods" : 1, + "paymentMode" : "free", + "subscriptionPeriod" : "P1W" + }, + "localizations" : [ + { + "description" : "Unlock unlimited properties, tasks, contractors, and documents", + "displayName" : "MyCrib Pro Monthly", + "locale" : "en_US" + } + ], + "productID" : "com.example.mycrib.pro.monthly", + "recurringSubscriptionPeriod" : "P1M", + "referenceName" : "MyCrib Pro Monthly", + "subscriptionGroupID" : "21517970", + "type" : "RecurringSubscription" + }, + { + "adHocOffers" : [ + + ], + "codeOffers" : [ + + ], + "displayPrice" : "49.99", + "familyShareable" : false, + "groupNumber" : 2, + "internalID" : "6738711458", + "introductoryOffer" : { + "internalID" : "6738711502", + "numberOfPeriods" : 1, + "paymentMode" : "free", + "subscriptionPeriod" : "P1M" + }, + "localizations" : [ + { + "description" : "Unlock unlimited properties, tasks, contractors, and documents - Save 17% with annual billing", + "displayName" : "MyCrib Pro Annual", + "locale" : "en_US" + } + ], + "productID" : "com.example.mycrib.pro.annual", + "recurringSubscriptionPeriod" : "P1Y", + "referenceName" : "MyCrib Pro Annual", + "subscriptionGroupID" : "21517970", + "type" : "RecurringSubscription" + } + ] + } + ], + "version" : { + "major" : 4, + "minor" : 0 + } +}