订阅SDK
在几分钟内集成应用内购买
使用Adapty SDK快速集成应用内购买和订阅,无需服务器编码。Adapty处理服务器端收据验证、订阅状态、订阅事件等。

为您的平台选择SDK
// 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
}
});
快速API,全球CDN
无论您的用户身在何处,Adapty API都会迅速响应,最小化支付的摩擦。


服务器端收据验证
您无需编写服务器处理以进行收据验证,我们为您完成了这项工作。

企业级经受考验的解决方案
0M
每月订阅事件
0
.
0B
用户
0
.
0M
每月订阅者
0B
每月API调用








