React Native Installation

IDWise React Native SDK is hosted on npm. You can use the dependency manager of your choice to add the package to your project. Please make sure to add the following config to your project.

Requirements

  • Minimum version for React Native: TBA
  • Android:
    • minSdkVersion is 21 and targetSdkVersion is set to 31
  • iOS
    • Minimum deployment target: iOS 12.0 or higher.

Latest Stable Version

NPM Version

Please see the Release Notes for more details

Android Setup

  1. Add the following to your app-level build.gradle file located at projectRoot/android/app/build.gradle
android {
  ...
  defaultConfig {
    ...
    multiDexEnabled true
  }
  buildFeatures {
    ...
    dataBinding true
  }
}
  1. IDWise Android SDK is hosted on Private Maven Repository You have to add the following URL in your repositories section:
    repositories {
      ...
      maven { url 'https://mobile-sdk.idwise.ai/releases/' }
    }
    

📘

support Right-to-Left (Android)

Add the following android:supportsRtl="true" attribute in the application tag in your project’s AndroidManifest.xml file located at /app/src/main/AndroidManifest.xml for the right-to-left language such as Arabic, Urdu and etc.

Setup

Add the React-Native SDK Plugin to your React Native project by running the following command in the root project

npm install idwise-react-native-sdk
yarn add idwise-react-native-sdk

NFC SDK Setup

Add the React-Native SDK Plugin for NFC to your React Native project by running the following command in the root project

npm install idwise-nfc-react-native-sdk
yarn add idwise-nfc-react-native-sdk

Next Steps

  • To start with the IDWise Standard SDK, click here.