adaptyteam/AdaptySDK-Capacitor
Capacitor SDK for growing in-app subscriptions
Easy In-App Purchases Integration to
Make Your Capacitor App Profitable
Adapty SDK is an open-source framework that makes implementing in-app subscriptions for Capacitor fast and easy. It's 100% open-source and lightweight.
Table of Contents
- Why Adapty?
- Getting Started
- Integrate IAPs within a few hours without server coding
- Design paywalls in the no-code builder
- Test paywalls & prices on Capacitor without app releases
- Real-time analytics for your Capacitor app
- Mobile app monetization's largest community
- Platform Support
- Capacitor compatibility
- Examples
- Contributing
- Like Adapty SDK?
- License
Why Adapty?
- No server code implementation. 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. 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. Test different prices, duration, offers, messages, and designs simultaneously, all without new app releases.
- Beautiful onboardings. Design onboardings in the no-code editor and guide users through their first app experience.
- Full customer's payment history. Explore the user's payment events from the trial start to subscription cancellation or billing issues.
- 3rd-party integrations. Send subscription events to 3rd-party analytics, attribution, and ad services with no coding, even if the user uninstalls the app.
- Advanced analytics. 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
Getting Started
npm install @adapty/capacitor
npx cap syncFollow our quickstart guide to install and configure Adapty SDK. Set up purchases in hours instead of weeks 🚀
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.
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 Capacitor 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 Capacitor app
- Manage the subscription's state without managing transactions.
- 99.5% accuracy.
- 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.
Mobile app monetization's largest community
Ask questions, participate in discussions about Adapty-related topics, become a part of our community for app developers and marketers. Learn how to monetize your app, ask questions, post jobs, read industry news and analytics. Ad free.
Platform Support
Adapty SDK for Capacitor is fully supported on iOS and Android platforms. Web platform is not supported—the build will succeed, but SDK methods will throw CapacitorException instead of performing actual operations.
Capacitor compatibility
| Capacitor version | @adapty/capacitor version |
|---|---|
| 8.x | 3.16.0 and newer |
| 7.x | 3.15.x and older |
| 6.x and older | Not supported |
Examples
We provide example applications demonstrating Adapty SDK integration:
-
Basic Examples (React, Angular, Vue) - Minimal applications showing core SDK functionality (activation, paywalls, purchases). Perfect for getting started and understanding the basic integration flow.
-
Adapty Devtools - Advanced development tool for bug reports and SDK testing. This comprehensive example includes detailed logging, debug panels, and testing utilities for developers working on SDK integration or reporting issues.
Contributing
- Feel free to open an issue, we check all of them or drop us an email at 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. See LICENSE for details.



