Release checklist
We’re thrilled you’ve decided to use Adapty! We want you to get the best results from the very first build. This guide will walk you through how to get started with Adapty
Installing Adapty SDK
Install Adapty SDK in your app and be sure you have replaced the "PUBLIC_SDK_KEY" placeholder with your actual Public SDK key.
Bear in mind, that SDK calls must be made after calling** .activate()
** method. Otherwise, we won't be able to authenticate requests and they will be canceled.
- iOS
- Android
- Flutter - info.plist
- Flutter - AndroidManifest.xml
- React Native (TS)
Adapty.activate("PUBLIC_SDK_KEY", customerUserId: "YOUR_USER_ID")
override fun onCreate() {
super.onCreate()
Adapty.activate(applicationContext, "PUBLIC_SDK_KEY", customerUserId: "YOUR_USER_ID")
}
<dict>
...
<key>AdaptyPublicSdkKey</key>
<string>PUBLIC_SDK_KEY</string>
</dict>
<application ...>
...
<meta-data
android:name="AdaptyPublicSdkKey"
android:value="PUBLIC_SDK_KEY" />
</application>
import { activateAdapty } from 'react-native-adapty';
const App: React.FC = () => {
// ...
useEffect(() => {
activateAdapty({ sdkKey: 'PUBLIC_SDK_KEY' });
}, []);
// ...
}
Configuring processing of purchases
Adding App Store shared secret for iOS and both package name with service account key file for Android would be neccessary to allow Adapty to successfully process purchasing events.
Subscription Events
Here is what you can do to set up tracking of subscription events.
For iOS | Update the App Store Server Notifications with our link |
For Android | Set up Real-time Developer Notifications (RTDN) |
Integrations
Integrations with third-party analytics and attribution services require passing identifiers to the SDK.
.updateProfile() | Use this method to passing identifiers to Amplitude, Mixpanel, Facebook Ads, and AppMetrica |
.updateAttribution() | This method would be required for passing attribution data from AppsFlyer, Adjust, and Branch. Be sure to configure the integration of interest in Adapty Dashboard, by providing API key and event names |
Promo campaigns and promo offers
If you want to use Adapty along with Apple Promotional Offers, adding a subscription key will allow us to sign offers.
Notes
Don't forget about Privacy Labels
Learn more about the data Adapty collects and which flags you'd need to set for a review.
Make sure to send paywall views to Adapty using .logShowPaywall() method. Otherwise, paywall views will not be accounted for in the metrics and conversions will be irrelevant.
If you have any questions about integrating Adapty SDK, feel free to contact us using the website (we use Intercom in the bottom right corner) or just email us at [email protected].