サブスクリプションSDK
数分でアプリ内購入を統合
Adapty SDKを使用して、サーバーのコーディングなしでアプリ内購入とサブスクリプションを迅速に統合できます。Adaptyはサーバーサイドのレシート検証、サブスクリプションの状態、サブスクリプションイベントなどを処理します。

あなたのプラットフォームに合ったSDKを選んでください
開発者にもエージェントにも使いやすいSDK
手動で
エージェントで
Claude Code
Codex
Cursor
Gemini CLI
GitHub Copilot
Other
claude plugin marketplace add adaptyteam/adapty-skills
claude plugin install adapty-skills@adapty
npx skills add adaptyteam/adapty-skills --all
npx skills add adaptyteam/adapty-skills --all
gemini skills install https://github.com/adaptyteam/adapty-skills
git clone https://github.com/adaptyteam/adapty-skills.git
cp -r adapty-skills/skills/* ~/.copilot/skills/
npx skills add adaptyteam/adapty-skills --all
2
次に、アプリで統合スキルを実行します
エージェントがAdaptyをセットアップしてSDKを統合し、各ステップで作業内容を確認します。
/adapty-integration
// Your app's code
import Adapty
do {
try await Adapty.activate("PUBLIC_SDK_KEY")
// Make a purchase, Adapty handles the rest
let purchaseResult = try await Adapty.makePurchase(product)
// successful purchase
} catch {
// handle the error
}
// Your app's code
Adapty.activate(this, AdaptyConfig.Builder("YOUR_APP_KEY").build())
// Make a purchase, Adapty handles the rest
Adapty.makePurchase(activity, product) { result ->
when (result) {
is AdaptyResult.Success -> {
if (result.value is AdaptyPurchaseResult.Success)
// successful purchase
}
is AdaptyResult.Error -> {
// handle the error
}
}
}
// Your app's code
import { adapty } from 'react-native-adapty';
await adapty.activate('YOUR_APP_KEY');
// Make a purchase, Adapty handles the rest
try {
const profile = await adapty.makePurchase(product);
// successful purchase
} catch (error) {
// handle the error
}
// Your app's code
import 'package:adapty_flutter/adapty_flutter.dart';
try {
await Adapty().activate();
// Make a purchase, Adapty handles the rest
final purchaseResult = await Adapty().makePurchase(product: product);
// successful purchase
} on AdaptyError catch (adaptyError) {
// handle the error
} catch (error) {
// handle other errors
}
// Your app's code
using AdaptySDK;
Adapty.makePurchase(product, (profile, error) => {
if (error == null) {
// successful purchase
}
});


クロスプラットフォーム加入者同期
Adaptyは、iOS、Android、およびWeb間で加入者の状態を同期します。Adaptyを真実の情報源として使用し、ユーザーに安全にプレミアムアクセスを付与します。
同期に関する詳細を学ぶ
サーバーサイドのレシート検証
レシートの検証のためのサーバー処理を書き込む必要はありません。我々がそれを行いました。

エンタープライズグレードの戦闘テスト済みソリューション
0M
サブスクリプションイベント / 月
0
.
0B
ユーザー
0
.
0M
購読者 / 月
0B
APIコール / 月






