HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Get Started with React Native SDK

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

Overview

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

To get started developing with ODP, see the Get Started with ODP section. This section covers how to use the ODP React Native SDK to interact with the ODP API.

Create Mobile Apps in ODP UI

In order to use ODP in your React Native application, you will first need to 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 will be used as the app_id later.
  5. (Optional) Install any necessary APNs keys or GCM keys that you need for push notifications.

📘

Note

Push notifications will not work unless you install keys here.

Your React Native app is now ready to begin integration with the SDK module.


Did this page help you?