Requirements
Android
To use this plugin on Android devices, ensure that you meet the following requirements:
- Minimum SDK Version: Set your
minSdkVersion
to 21 or above. - Java and AndroidX: Enable Java 8 in your project and replace older support libraries with AndroidX.
- Android Gradle Plugin: Ensure the
android-gradle-plugin
version is 4.0.0 or higher. - Proguard Version: Use Proguard version 6.2.2 or above.
- Kotlin Gradle Plugin: Use
kotlin-gradle-plugin
version 1.4.0 or above. - Flutter Fragment Activity: Replace
FlutterActivity
withFlutterFragmentActivity
inMainActivity.kt
. - 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:
- Minimum iOS Version: Ensure that your project uses iOS version 14.0 or above.
Updated 9 days ago