React Native
React Native lets you build mobile apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.
Here's how you can integrate the Antsomi SDK with your React Native apps:
1. Installation
Step 1: Run npm install @antsomicorp/antsomirnsdk
to install the SDK.
2. Antsomi Instance Initialization
Initialize AntsomiRnSDK in your App.tsx
In which:
Key | Description |
---|---|
| Your iOS App Group ID. For example, |
| Your CDP365 portal ID.
For example, |
| Your CDP365 event source ID.
For example, |
| Your CDP365 application ID.
For example, |
Remember to verify the user's mobile device operating system to ensure accurate event source configuration. In CDP365, mobile app event sources are categorized into iOS and Android sources, so it's essential to distinguish between them based on the user's device OS.
NEXT STEP
Last updated