Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Get started with the ODP React Native SDK

This topic describes how to connect your React Native mobile app with the Optimizely Data Platform (ODP) SDK module.

📘

Availability

The React Native SDK is not available for all customers.

You can check your availability by following the instructions in the Create Mobile Apps in ODP UI section. If you see the Mobile App integration option, you can use the React Native SDK. For more information, contact your Customer Success Manager.

The ODP React Native SDK module is an NPM package that lets you interact with the ODP API via a "Mobile Apps" integration with an app that is written in React Native.

Create mobile apps in ODP UI

To use ODP in your React Native application, set up a Mobile App integration on the ODP web app. In your ODP account:

  1. Click Account Settings in the top-right.
  2. Click Integrations in the left-hand sidebar.
  3. Click the Mobile Apps card in the list.
  4. Create a new mobile app, name it, and remember the short identifier. This is used as the app_id later.
  5. (Optional) Install any necessary APNs keys or GCM keys that you need for push notifications.

🚧

Caution

Push notifications will not work unless you install keys.