オープンソースのSDKで、React Native のインアプリ購入を統合します。
30分でインアプリ購入を実装します。
React Nativeのアプリ内購入のための即戦力バックエンド
なぜAdapty SDKを選ぶのか?
いつでも正しいサブスクリプション状態
すべてのプラットフォームで常に正しい購読者の状態を取得できることを保証します。
サーバーサイドの領収書検証
購入検証の正確性と安全性について心配する必要はありません。
あらゆる種類のサブスクリプション状態の取り扱い
無料トライアル、アップグレード、プロモーションオファー、ファミリーシェアリング、更新など。
エンタープライズ対応のプラットフォームで短いリリースサイクル
>99.99%のSLA信頼性と定期的な製品更新。
プラットフォームの設定
Adapty SDKのインストール
Adapty.activate(
"PUBLIC_SDK_KEY",
customerUserId: "YOUR_USER_ID"
)
"PUBLIC_SDK_KEY",
customerUserId: "YOUR_USER_ID"
)
購入イベントの処理
迅速で簡単な統合
iOSアプリにAdapty SDKを統合するのにわずか数時間で済み、残りは私たちが対応します。
アプリ内購入のために実装すべきSDKメソッドはたったの5つです。
// Your app's code
try {
const profile = await adapty.makePurchase(product);
const isSubscribed = profile?.accessLevels['YOUR_ACCESS_LEVEL']?.isActive;
if (isSubscribed) {
// grant access to features in accordance with access level
}
} catch (error) {
// handle the error
}
// Your app's code
try {
const profile = await adapty.restorePurchases();
const isSubscribed = profile.accessLevels['YOUR_ACCESS_LEVEL']?.isActive;
if (isSubscribed) {
// restore access
}
} catch (error) {
// handle the error
}
// Your app's code
try {
await adapty.identify("YOUR_USER_ID");
// successfully identified
} catch (error) {
// handle the error
}
 
 
 
// Your app's code
try {
await adapty.updateProfile(params);
} catch (error) {
// handle `AdaptyError`
}
import { adapty, AttributionSource } from 'react-native-adapty';
import appsFlyer from 'react-native-appsflyer';
appsFlyer.onInstallConversionData(installData => {
try {
// It's important to include the network user ID
const networkUserId = appsFlyer.getAppsFlyerUID();
adapty.updateAttribution(installData, AttributionSource.AppsFlyer, networkUserId);
} catch (error) {
// handle error
}
});
// ...
appsFlyer.initSdk(/*...*/);
さまざまな業種の人々が収益を増やすために Adapty に頼っています
Adaptyで何が得られますか?
Adapty SDKはアプリの収益を増やすための膨大な可能性を提供します。