Blotout React Native SDK
Prerequisite
React-Native
- Version 0.62 or greater.
- Setting up the development environment ? Follow these instruction
iOS
-
Xcode
-
CocoaPods (recommended)
Android
Installation
$ npm i --save-dev @edgetag/sdk-react-native
$ cd ios && pod install && cd ..
Documentation
Read more about how to use our SDK on documentation pages.
How to contribute
Android
- open the "android" project in Android studio
- Check for edgetag:sdk-android version in build.gradle, if require update the version
dependencies {
.....
implementation "com.github.edgetag:sdk-android:0.9.0"
}
- If need to update/add API then edit RNEdgeTagSDKModule.kt accordingly.
- To test new API then call them from example/src/app/index.tsx
- From example folder
$ npm run build:android
iOS
- open "ios" folder
- Edit the pod file for latest Blotout-Analytics version
- install Blotout-Analytics
$ pod install
- open RNEdgeTagSDKModule.xcworkspace in Xcode
- Edit RNEdgeTagSDKModule.swift and RNEdgeTagSDKModule.m for new/update/edit API
- From example folder
$ npm run build:ios