The SDK can be used with React Native applications. This SDK comes with an example app which demonstrates such integration. You can use the code of the example to integrate the SDK in your ReactNative project.
These instructions assume that you have already read the Developer Guide. If you have not yet done so, please do so before continuing below.
Getting started
iOS
Using CocoaPods
Add the following lines to your target in Podfile:
pod'Reblaze',:path =>'<path_to_mobilesdk>/libs/iO pod 'RNReblazeReactNativeSdk', :path => '<path_to_mobilesdk>/libs/react-native/iOS/'
Add the following lines to android/settings.gradle:
include ':reblaze-react-native-sdk'
project(':reblaze-react-native-sdk').projectDir = new File(
rootProject.projectDir,
'<path_to_mobilesdk>./libs/react-native/Android'
)
Add the following lines inside the dependencies block of android/app/build.gradle: