On this page

React Native SDK installation

React Native CLI

Mobile SDK is compatible with React Native apps. Use these React Native bindings to install Mobile SDK in your app.

To install run: npm install @survicate/react-native-survicate --save

To create linking for iOS and Android in your react native app run react-native link @survicate/react-native-survicate

Note: Our bindings are compatible with the Autolinking feature introduced in React Native 0.60, so there is no need to run this command on 0.60 and newer versions.

Android

You need to add the Survicate Maven repository to your project build.gradle located under android directory.

iOS

Run pod update in your ios directory after adding the dependency.

Expo

To use @survicate/react-native-survicate in an Expo managed project, use npm, yarn or expo-cli.