Requirements
Android
To use this plugin on Android devices, ensure that you meet the following requirements:
- Set Minimum SDK Version: Ensure your
minSdkVersion
is set to 21 or higher. - Enable Java 8 and AndroidX:
- Your project must have Java 8 enabled.
- Use AndroidX libraries instead of older support libraries.
- Update Android Gradle Plugin: Make sure the
android-gradle-plugin
version is 4.0.0 or above. - Update Proguard: Use Proguard version 6.2.2 or above.
- Update Kotlin Gradle Plugin: Ensure your
kotlin-gradle-plugin
version is 1.4.0 or higher. - Use FlutterFragmentActivity: Replace
FlutterActivity
withFlutterFragmentActivity
in yourMainActivity.kt
. - Customize SDK Colors and Appearance: Follow the steps outlined in the SDK Customizations for Android guide.
- Rebuild the App: After making these changes, rebuild the app as these updates are not reflected with hot reload.
- Configure the App Class: Use the App.kt configuration example for proper setup.
- Use Dart-Define with Yuno: Configure your project's build.gradle file to enable the use of
dart-define
with Yuno.
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 15 days ago