An open-source SDK for integrating in-app purchases on Unity
Implement in-app purchases in 30 minutes.
Out-of-the-box back end for Unity in-app purchases
Why choose Adapty SDK?
Correct subscription state at any moment
Rest assured you’ll always get the correct subscriber state across all platforms.
Server-side receipt validation
No need to worry about the correctness and safety of purchase validation.
Handling all kinds of subscription states
Free trials, upgrades, promo offers, family sharing, renewals, and more.
Enterprise-ready platform with a short release cycle
>99.99% SLA reliability and regular product updates.
Configuring platforms
Installing Adapty SDK
Adapty.activate(
"PUBLIC_SDK_KEY",
customerUserId: "YOUR_USER_ID"
)
"PUBLIC_SDK_KEY",
customerUserId: "YOUR_USER_ID"
)
Processing purchasing events
Fast and easy integration
Spend only a couple of hours to integrate the Adapty SDK into your iOS app and we’ll take care of the rest.
Just 5 SDK methods to implement Unity in-app purchases
// Your app's code
Adapty.MakePurchase(product, (profile, error) => {
if(error != null) {
// handle error
return;
}
});
// Your app's code
Adapty.RestorePurchases((profile, error) => {
if(error != null) {
// handle the error
} else {
// check the access level
}
});
// Your app's code
Adapty.Identify("YOUR_USER_ID", (error) => {
if(error == null) {
// successful identify
}
});
// Your app's code
var builder = new Adapty.ProfileParameters.Builder()
.("Profile_Parameters")
Adapty.UpdateProfile(builder.Build(), (error) => {
if(error != nil) {
// handle the error
}
});
// Your app's code
Adapty.UpdateAttribution("<attributions>", source, "<networkUserId>", (error) => {
if (error != null) {
// handle the error
}
// succesfull attribution update
});
People from all kinds of businesses turn to Adapty to grow their revenue
What do you get with Adapty?
Adapty SDK provides tremendous possibilities for growing app revenue
Real-time analytics for your Unity App
Rely on the data with 99.5% accuracy with App Store Connect.
Get startedGravity Fit
Health & Fitness
Paywall A/B testing
Find the most profitable paywall and grow your app’s revenue.
Explore A/B testingMentalGrowth
Health & Wellness app
Remote config for paywalls
Change your paywall remotely without having
to re-release the app.
Try it nowSmitten - Dating
Lifestyle