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 14.0 or later ā this is the deployment target required by the
reteno-react-native-sdkpodspec. The bundled nativeReteno2.7.3 pod itself supports iOS 12.0 or later - 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.0.0:
reteno-react-native-sdk v3.0.0:- Reteno Android SDK 2.10.1
- Reteno iOS SDK 2.7.3
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.