Skip to main content

Overview

The Encore Capacitor SDK is distributed via npm and includes native bridges for both iOS and Android. It works with any Capacitor 6+ app (Angular, React, Vue, or vanilla JS).

Install via npm

npm install @encorekit/capacitor

Sync Native Projects

npx cap sync
This copies the plugin into your native iOS and Android projects and installs native dependencies automatically. SPM is used by default for iOS.
If your project uses CocoaPods for iOS dependency management, pass the --packagemanager flag when adding the iOS platform:
npx cap add ios --packagemanager CocoaPods
npx cap sync
If you’ve already added iOS with SPM, remove and re-add:
rm -rf ios
npx cap add ios --packagemanager CocoaPods
npx cap sync

Verify Installation

You should now be able to import the SDK:
import Encore from '@encorekit/capacitor';
Installation complete!

Next Steps

Now that the SDK is installed, continue with the integration: