Overview
The Encore React Native SDK lets your app present premium brand offers, real perks funded by brands, at the moments you choose. It is distributed via npm and includes native bridges for both iOS and Android.Requirements
- iOS 15.0 or later, and Android API 26 or later.
- Node 16 or later to install the package.
Install via npm
com.encorekit:encore 2.x on Android), so a bridge major tracks a native major.
Migrating an existing 1.x integration? 2.0 is a breaking release. Updating to 2.x walks the migration step by step.
iOS: Install CocoaPods
After installing the npm package, install the native iOS dependencies:Android: Auto-linking
React Native auto-links the native Android module, so no additional setup is needed.Verify Installation
You should now be able to import the SDK:Next Steps
Now that the SDK is installed, continue with the integration:- Configure the SDK: set up your API key and initialize Encore
- Identify Users: identify users for offer tracking