React Native SDK

Instructions for installing Deepwall React Native SDK

React Native SDK provides wrapper methods for Deepwall iOS and Android SDKs.

Requirements

  • iOS 10.0+

  • Android API Level 21+

  • React Native 0.56.0+

Installation

Deepwall for React Native is available on npm.

1.Install the Deepwall library

$ npm install deepwall-react-native-sdk --save

2. For React Native 0.59 and below, run the following to link to the library

Run $ react-native link deepwall-react-native-sdk

Additional Setup for iOS

1. Set minimum ios version to 10.0 in ios/Podfile and add use_frameworks! into ios/Podfile

2. Add pod 'DeepWall' into ios/Podfile and remove flipper from ios/Podfile if it exists.

platform :ios, '10.0'
use_frameworks!
pod 'DeepWall'

3. Run pod install

Run $ cd ios && pod install

Additional Setup for Android

  1. Set minSdkVersion to 21 in android/build.gradleand add the Deepwall library into repositories under allprojects.

allprojects {
   repositories {
       google()
       jcenter()
       maven { url 'https://raw.githubusercontent.com/Teknasyon-Teknoloji/deepwall-android-sdk/master/' }
  }
} 

Import and Use

Now you can use DeepWall by importing Deepwall to your project. Learn how to configure and use the Deepwall SDK using the following guide.

pageUsing the SDKs

Last updated