Skip to main content

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

This documentation describes the 2.x surface. The package pins the native SDKs it was built against (EncoreKit 2.x on iOS, 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:
Installation complete!

Next Steps

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

Already Installed?

If you’ve already installed the SDK and need to update to a newer version, see Updating the SDK.