@active-reach/react-native-sdk
v1.6.0
Published
Active Reach React Native SDK - Native bridge for iOS and Android
Maintainers
Readme
@active-reach/react-native-sdk
Official React Native SDK for the Active Reach Platform — event tracking, identity resolution, in-app messaging, push notifications, consent management, and journey orchestration.
Native modules bridge to the Active Reach Android SDK
(ai.active-reach:android-sdk) and iOS SDK (ActiveReachSDK)
under the hood — same identity graph, same event contract, same
SSE-driven in-app pipeline.
Install
npm install @active-reach/react-native-sdk
# or
yarn add @active-reach/react-native-sdk
# iOS pods
cd ios && pod installQuick start
import { AegisRN } from '@active-reach/react-native-sdk';
await AegisRN.init({
writeKey: 'pk_live_xxx',
apiHost: 'https://api.active-reach.ai',
});
await AegisRN.track('app_opened', { channel: 'organic' });
await AegisRN.identify('user_123', {
email: '[email protected]',
plan: 'pro',
});The runtime class is
AegisRNbecause internal class names stay with the legacyAegisprefix per the brand canon. The npm package name (@active-reach/react-native-sdk) is what customers install.
Features
| Area | Public API |
|---|---|
| Events | AegisRN.track(), screen(), identify(), alias(), group(), reset() |
| E-commerce | EcommerceTracker — 19 canonical events |
| In-app | Native renderers via the Android / iOS SDKs (modal, sticky bar, coach mark, spinner, quiz/rating) |
| Push | FCM + APNs lifecycle hooks against canonical /v1/push/engagement |
| Consent | ConsentManager — 4 canonical categories |
| Governance | TraitGovernor + NameGovernor (Bloom + Murmur3) |
| Plugins | PluginRegistry extension surface |
Documentation
Full developer docs: https://docs.active-reach.ai/developers/sdks/react-native-sdk
Related SDKs
| Runtime | Package | Registry |
|---|---|---|
| Web (browser) | @active-reach/web-sdk | npm |
| React Native | @active-reach/react-native-sdk | npm |
| Android (Kotlin) | ai.active-reach:android-sdk | Maven Central |
| iOS (Swift) | ActiveReachSDK | CocoaPods + SPM |
| Flutter (Dart) | active_reach_sdk | pub.dev |
Requirements
- React Native 0.71+
- iOS 13.0+ / Android API 26+
- Node.js 18+ for build tooling
License
MIT © Active Reach Intelligence LLP
