You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/service-credentials/itunesconnect-app-specific-shared-secret.mdx
+47-2Lines changed: 47 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,37 @@ excerpt: Getting your App Store Connect App-Specific Shared Secret
6
6
hidden: false
7
7
---
8
8
9
-
The App-Specific Shared Secret allows RevenueCat to connect with Appleon your behalf.
9
+
The App-Specific Shared Secret is a unique authentication key that allows RevenueCat to securely communicate with Apple's servers on your behalf. This secret is **mandatory for receipt validation** when using **StoreKit 1**.
10
10
11
-
## Setup
11
+
:::warning
12
+
StoreKit 1 is now deprecated by Apple. New apps are recommended to use **StoreKit 2**. See our [migration guide](/sdk-guides/ios-native-4x-to-5x-migration) for details.
13
+
:::
14
+
15
+
## StoreKit Version Requirements
16
+
17
+
The App-Specific Shared Secret is required for **StoreKit 1** implementations. For **StoreKit 2** apps, you'll need an [In-App Purchase Key](/service-credentials/itunesconnect-app-specific-shared-secret/in-app-purchase-key-configuration) instead.
-**Use case**: Modern apps using iOS 15+ with RevenueCat SDK v5.0+
23
+
-**Purpose**: Server-to-server communication with Apple's App Store Server API for validating transactions, managing subscriptions, and accessing detailed purchase information
24
+
25
+
:::info
26
+
The In-App Purchase Key is required for all in-app purchases (including subscriptions) when using StoreKit 2 and RevenueCat v5.0+. This key enables RevenueCat to securely access Apple's APIs and ensure accurate validation and reporting.
27
+
:::
28
+
29
+
### StoreKit 1
30
+
31
+
-**Required**: App-Specific Shared Secret
32
+
-**Use case**: Legacy apps, apps targeting iOS 15 or earlier
33
+
-**Purpose**: Server-side receipt validation and subscription management for the traditional receipt-based flow
34
+
35
+
## Setup (StoreKit 1 Only)
36
+
37
+
:::warning
38
+
This setup is only required for StoreKit 1 implementations. If you're using **StoreKit 2**, see [In-App Purchase Key Configuration](/service-credentials/itunesconnect-app-specific-shared-secret/in-app-purchase-key-configuration) instead.
39
+
:::
12
40
13
41
### 1. Generating an App-Specific Shared Secret
14
42
@@ -28,3 +56,20 @@ The App-Specific Shared Secret allows RevenueCat to connect with Apple on your b
28
56
Enter the secret in your iOS app settings in the RevenueCat dashboard:
0 commit comments