capacitor-adapty
v5.0.0
Published
Community Adapty plugin for Capacitor. New projects should use the official SDK @adapty/capacitor (https://github.com/adaptyteam/AdaptySDK-Capacitor).
Readme
capacitor-adapty
⚠️ Use the official Adapty SDK instead
Adapty now maintains an official Capacitor SDK, and new projects should use it. It is better supported than this community plugin:
- Always tracks the latest Adapty iOS and Android native SDKs
- Full Google Play Billing Library 7 support and compatibility with 8
- Fully compatible with Capacitor 7, with Capacitor 8 support planned
- Ready-to-use examples for React, Angular and Vue
- Complete, up-to-date documentation
- Backed by Adapty's official support team
Official repo: https://github.com/adaptyteam/AdaptySDK-Capacitor
This plugin remains available for existing integrations, but it is maintained on a best-effort basis only and does not track new Adapty releases. Please migrate.
Install
npm install capacitor-adapty
npx cap syncDocs
The documentation is still in progress, but for now you can read the official documentation
https://doc.adapty.io/docs
BREAKING CHANGES in 5.x.x version
- Android: Adapty SDK updated to 3.17.2 (from 2.10.4)
- Android: Google Play Billing Library updated to 8.x, as required by Google Play from Aug 31, 2026
logShowOnboarding()is now a no-op on Android. Adapty 3.x removed the publiclogShowOnboardingAPI; its replacement requires anAdaptyOnboardingfetched from a placement, which this plugin does not model.- Android: purchase history is no longer available during
restorePurchases(). Play Billing 8 removedqueryPurchaseHistoryAsync, so only active purchases are restored. - iOS still uses Adapty 2.10.4 — the Billing Library requirement is Android-only.
The JavaScript API is otherwise unchanged; no app-side changes are required.
BREAKING CHANGES in 3.x.x version
- Added full support for Capacitor 5 and removed compatibility with Capacitor 3 and 4
- Set minimum iOS version to 13.0
- Adapty SDK version updated to 2.x.x (see https://docs.adapty.io/docs/migration-to-ios-2)
BREAKING CHANGES in 2.x.x version
- Added full support for Capacitor 3 and removed compatibility with Capacitor 2
