This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| publish_to_appstore [2024/08/14 11:09] admin | publish_to_appstore [2024/08/17 20:06] (current) admin | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| https://www.youtube.com/watch?v=DLvdZtTAJrE&t=1208s | https://www.youtube.com/watch?v=DLvdZtTAJrE&t=1208s | ||
| + | |||
| + | |||
| # In App Purchase | # In App Purchase | ||
| - | 1. Follow Overall Guidance: [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases/|Overview for configuring in-app purchases]] | + | 1. Use StoreKit 2 to implement purchasing features in you app. [[https://developer.apple.com/videos/play/wwdc2021/10114/|WWDC tutorial and code]] | 
| - | 1. Create In-App-Purchase from App Store Connect page [[https://developer.apple.com/help/app-store-connect/manage-in-app-purchases/create-consumable-or-non-consumable-in-app-purchases/|Ref]] | + | |
| - | Guidelines for Choosing a Product ID | + | 2. Test locally (StoreKit configuration). [[https://developer.apple.com/documentation/xcode/setting-up-storekit-testing-in-xcode?language=objc| StoreKit Testing Setup]] | 
| - | 1. Uniqueness: The Product ID must be unique across all of your in-app purchases for that app. No two in-app purchase items within the same app can have the same Product ID. | + | |
| - | 2. Structure: Product IDs are typically structured in a way that makes them easy to identify and manage. A common practice is to use reverse domain name notation, similar to your app’s bundle identifier, but with additional detail to differentiate between different products. For example, if your app’s bundle identifier is com.example.myapp, you might structure your Product IDs like this: | + | 3. Configure App Store Connect: [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases/|Overview for configuring in-app purchases]] | 
| - | - com.example.myapp.premium_upgrade | + | |
| - | - com.example.myapp.remove_ads | + | 1. Create In-App-Purchase from App Store Connect page [[https://developer.apple.com/help/app-store-connect/manage-in-app-purchases/create-consumable-or-non-consumable-in-app-purchases/|Ref]] {{:pasted:20240814-110226.png}} | 
| - | - com.example.myapp.gold_coins_100 | + | |
| - | + | 2. Generate In-App-Purchase key [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/generate-keys-for-in-app-purchases|Ref]] | |
| - | {{:pasted:20240814-110226.png}} | + | |
| - | 1. Generate In-App-Purchase key [[https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/generate-keys-for-in-app-purchases|Ref]] | + | 3. Add Capability to my app: [[https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app|Ref]] | 
| + | |||
| + | 4. Test with App Store Connect (using Sandbox in Test Flight): [[https://developer.apple.com/documentation/storekit/in-app_purchase/testing_at_all_stages_of_development_with_xcode_and_the_sandbox?language=objc|Ref]] | ||
| + | |||
| + | <file> | ||
| + | Guidelines for Choosing a Product ID | ||
| + | 1. Uniqueness: The Product ID must be unique across all of your in-app purchases for that app. No two in-app purchase items within the same app can have the same Product ID. | ||
| + | 2. Structure: Product IDs are typically structured in a way that makes them easy to identify and manage. A common practice is to use reverse domain name notation, similar to your app’s bundle identifier, but with additional detail to differentiate between different products. For example, if your app’s bundle identifier is com.example.myapp, you might structure your Product IDs like this: | ||
| + | - com.example.myapp.premium_upgrade | ||
| + | - com.example.myapp.remove_ads | ||
| + | - com.example.myapp.gold_coins_100 | ||
| + | </file> | ||