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:

PackageRegistryPurpose
@ansight/capacitornpmTypeScript 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

TargetRequirement
Capacitor8.x (@capacitor/core >=8.0.0 <9.0.0)
Node22 or newer
AndroidAPI 24 or newer, Java 21
iOS / iPadOS15 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.