Cordova / Capacitor Packages
Review the Capacitor bridge package, its native SDK dependencies, and supported Capacitor, Node, Android, and iOS versions.
Package
Capacitor apps install one npm package:
| Package | Registry | Purpose |
|---|---|---|
@ansight/capacitor | npm | TypeScript API, DOM inspection, and a bridge to the native Ansight iOS and Android runtimes. |
npm install @ansight/capacitor
npx cap sync
The package links ai.ansight:ansight-android on Android and the Ansight
package or pod on iOS.
Compatibility
| Target | Requirement |
|---|---|
| Capacitor | 8.x (@capacitor/core >=8.0.0 <9.0.0) |
| Node | 22 or newer |
| Android | API 24 or newer, Java 21 |
| iOS / iPadOS | 15 or newer |
Classic Apache Cordova projects should not treat @ansight/capacitor as a
drop-in adapter.
Follow Cordova / Capacitor Setup for the complete installation and startup flow. Review Cordova / Capacitor Security before including the bridge in a distributable build.