Skip to content

Latest commit

 

History

History
56 lines (41 loc) · 2.25 KB

File metadata and controls

56 lines (41 loc) · 2.25 KB

capacitor-adapty

⚠️ Use the official Adapty SDK instead

➡️ @adapty/capacitor

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 sync

Docs

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 public logShowOnboarding API; its replacement requires an AdaptyOnboarding fetched from a placement, which this plugin does not model.
  • Android: purchase history is no longer available during restorePurchases(). Play Billing 8 removed queryPurchaseHistoryAsync, 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

BREAKING CHANGES in 2.x.x version

  • Added full support for Capacitor 3 and removed compatibility with Capacitor 2