Requirements

Android

To use this plugin on Android devices, ensure that you meet the following requirements:

  1. Minimum SDK Version: Set your minSdkVersion to 21 or above.
  2. Java and AndroidX: Enable Java 8 in your project and replace older support libraries with AndroidX.
  3. Android Gradle Plugin: Ensure the android-gradle-plugin version is 4.0.0 or higher.
  4. Proguard Version: Use Proguard version 6.2.2 or above.
  5. Kotlin Gradle Plugin: Use kotlin-gradle-plugin version 1.4.0 or above.
  6. Flutter Fragment Activity: Replace FlutterActivity with FlutterFragmentActivity in MainActivity.kt.
  7. SDK Customizations: For color or other customizations on Android, follow the steps in the Android SDK Customizations guide.

Rebuild the App

Rebuild the app as the above changes won’t reflect with hot reload.

iOS

To use this plugin on IOS devices, ensure that you meet the following requirements:

  1. Minimum iOS Version: Ensure that your project uses iOS version 14.0 or above.