The Reteno React Native SDK for Mobile Customer Engagement and Analytics solutions
React Native SDK Setup
The Reteno React Native SDK for Mobile Customer Engagement and Analytics solutions
Overview
Reteno is a lightweight SDK for React Native that helps mobile teams integrate Reteno into their mobile apps. The server-side library makes it easy to call the Reteno API.
The SDK supports:
- React Native 0.86.2 or later — including the New Architecture (Fabric/TurboModules). Starting with
v3.0.0the native module ships a codegenSpec(RetenoSdkSpec) and conforms toTurboModuleon both platforms; apps still on the old (bridge) architecture keep working unchanged, autodetected at build time — there is nothing to configure either way - iOS 15.0 or later — this is the deployment target required by both the
reteno-react-native-sdkpodspec and the bundled nativeReteno2.7.7 pod - Android 8.0 or later (API 26) — SDK functionality is unavailable below this level. The artifacts declare
minSdkVersion 21, so integrating Reteno does not force you to raise your ownminSdkVersion; the SDK is simply inactive on older devices — see Android setup
Native SDK versions in reteno-react-native-sdk v3.1.3:
reteno-react-native-sdk v3.1.3:- Reteno Android SDK 2.11.0
- Reteno iOS SDK 2.7.7
Version support
An older version of the React Native SDK does not receive updates of the native Reteno iOS and Android SDKs: those arrive only in a new version of the React Native SDK itself, and are not backported. Over time individual functions can therefore become limited, so update to the latest version when you have the opportunity.
Getting started with Reteno SDK / Setup guide
API style
Every SDK method is available as a flat, top-level export (setUserAttributes, setOnRetenoPushReceivedListener, …) — this remains the canonical form and is not deprecated. Starting with v3.0.0 the same methods are also grouped into namespaced objects (user, push, events, inApp, inbox, recommendations, ecommerce) for teams that prefer that style. See Namespaced API for the full mapping and usage.
Licence
Reteno React Native SDK is released under the MIT license. See LICENSE for details.
