https://github.com/adaptyteam/adaptysdk-ios
iOS SDK for growing mobile in-app purchases
https://github.com/adaptyteam/adaptysdk-ios
apple entitlements iap iap-verification in-app-purchase in-app-receipt ios ios-subscription macos objective-c purchases receipt-validation sdk storekit subscription subscriptions swift swift5 swiftui trials
Last synced: 4 months ago
JSON representation
iOS SDK for growing mobile in-app purchases
- Host: GitHub
- URL: https://github.com/adaptyteam/adaptysdk-ios
- Owner: adaptyteam
- License: mit
- Created: 2019-11-13T10:12:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-14T15:03:53.000Z (about 1 year ago)
- Last Synced: 2025-05-15T12:05:03.980Z (about 1 year ago)
- Topics: apple, entitlements, iap, iap-verification, in-app-purchase, in-app-receipt, ios, ios-subscription, macos, objective-c, purchases, receipt-validation, sdk, storekit, subscription, subscriptions, swift, swift5, swiftui, trials
- Language: Swift
- Homepage: https://docs.adapty.io/docs/quickstart
- Size: 22.5 MB
- Stars: 415
- Watchers: 16
- Forks: 42
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Easy In-App Purchases Integration to
Make Your iOS App Profitable

Adapty SDK is an open-source framework that makes implementing in-app subscriptions for iOS fast and easy. It’s 100% open-source, native, and lightweight.
## Why Adapty?
- [No server code implementation](https://docs.adapty.io/v3.0/docs/ios-installation?utm_source=github&utm_medium=referral&utm_campaign=AdaptySDK-iOS). Integrate in-app purchases with server-side receipt validation in minutes — in your own paywall or one created in the no-code builder.
- [No-code paywall builder](https://adapty.io/docs/adapty-paywall-builder). Create a beautiful, natively rendered paywall in the no-code editor and display it in your app to start getting paid instantly.
- [On-the-fly paywalls price testing](https://docs.adapty.io/v3.0/docs/ab-tests?utm_source=github&utm_medium=referral&utm_campaign=AdaptySDK-iOS). Test different prices, duration, offers, messages, and designs simultaneously, all without new app releases.
- [Beautiful onboardings](https://adapty.io/docs/onboardings). Design onboardings in the no-code editor and guide users through their first app experience.
- [Full customer's payment history](https://docs.adapty.io/v3.0/docs/profiles-crm?utm_source=github&utm_medium=referral&utm_campaign=AdaptySDK-iOS). Explore the user's payment events from the trial start to subscription cancellation or billing issues.
- [3rd-party integrations](https://docs.adapty.io/v3.0/docs/events?utm_source=github&utm_medium=referral&utm_campaign=AdaptySDK-iOS). Send subscription events to 3rd-party analytics, attribution, and ad services with no coding, even if the user uninstalls the app.
- [Advanced analytics](https://docs.adapty.io/v3.0/docs/charts?utm_source=github&utm_medium=referral&utm_campaign=AdaptySDK-iOS). Analyze your app real-time metrics with advanced filters, such as Ad network, Ad campaign, country, A/B test, etc.
Talk to Us to Learn More
## Integrate IAPs Within a few hours without server coding
**Adapty handles everything, from free trials to refunds, in a simple, developer-friendly SDK.**
- Free trials, upgrades, downgrades, crossgrades, family sharing, renewals, promo offers, intro offers, promo codes, and more – Adapty SDK does everything with a single line of code.
- Easy subscription management.
- One-time purchases and lifetime subscriptions supported.
- Sync subscribers' states across iOS, Android, and Web.
```swift
// Your app’s code
import Adapty
Adapty.activate("YOUR_APP_KEY")
// Make a purchase, Adapty handles the rest
Adapty.makePurchase(product: product) { [weak self] result in
switch result {
case let .success(profile):
// check access level
case let .failure(error):
// handle error
}
}
```
## Design paywalls in the no-code builder

With Adapty, you can create a complete, purchase-ready paywall in the no-code builder.
Adapty automatically renders it and handles all the complex purchase flow, receipt validation, and subscription management behind the scenes.
## Test paywalls & prices on iOS without app releases

- Optimize in-app subscriptions with the paywall A/B testing. Conversions, trials, revenue, cancellations, and more — everything is calculated for you: each paywall and each A/B test.
- Change images, colors, layouts, and literally anything using the no-code builder or a custom JSON. Configure different prices, trial periods, promo offers, and more in Adapty without app releases.
## Real-time analytics for your iOS app

- Manage the subscription's state without managing transactions.
- 99.5% accuracy with App Store Connect.
- View and analyze data by attributes, such as status, channels, campaigns, and more.
- Filter, group, and measure metrics by attribution, platform, custom users' segments, and more in a few clicks.
## Adapty demo apps
[Here](Examples/), you can find a demo application for Adapty. Before running the app, you will need to configure the project.
## Mobile app monetization's largest community
Ask questions, participate in discussions about Adapty-related topics, become a part of our community for iOS app developers and marketers. Learn how to monetize your app, ask questions, post jobs, read industry news and analytics. Ad free.
## Get started
Follow our [quickstart guide](https://adapty.io/docs/ios-sdk-overview#get-started) to install and configure Adapty SDK. Set up purchases in hours instead of weeks 🚀
## Contributing
- Feel free to open an issue, we check all of them or drop us an email at [support@adapty.io](mailto:support@adapty.io) and tell us everything you want.
- Want to suggest a feature? Just contact us or open an issue in the repo.
## Like Adapty SDK?
So do we! Feel free to star the repo ⭐️⭐️⭐️ and make our developers happy!
## License
Adapty is available under the MIT license. [Click here](https://github.com/adaptyteam/AdaptySDK-iOS/blob/master/LICENSE) for details.