Flutter Installation

IDWise Flutter SDK is hosted on pub.dev. Please follow the following steps to add the package to your project.

Requirements

  • Minimum version for flutter: TBA
  • Android:
    • minSdkVersion is 21 and targetSdkVersion is set to 35
  • iOS
    • Minimum deployment target: iOS 13.0 or higher.

Latest Stable Version

Pub 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.

iOS Setup

  1. Ensure you have the following two lines at the top of your Podfile:

    source 'https://cdn.cocoapods.org/'
    source 'https://github.com/idwise/ios-sdk'
    
    # if you are using NFC SDK you can use these lines instead 
    source 'https://cdn.cocoapods.org/'
    source 'https://github.com/idwise/ios-sdk-nfc'
    

Flutter Setup

Add the IDWise Plugin to your Flutter project by running the following command in the root project

flutter pub add idwise_flutter_sdk

NFC SDK Setup

Add the IDWise NFC Plugin to your Flutter project by running the following command in the root project

flutter pub add idwise_nfc_flutter_sdk
yarn add idwise-nfc-react-native-sdk

Next Steps

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