15 lines
512 B
Prolog
15 lines
512 B
Prolog
# Iron Arc R8 rules.
|
|
#
|
|
# The app talks to Rust through dart:ffi (no JNI, no reflection), so only the
|
|
# Flutter engine entry points need to survive shrinking; the Flutter Gradle
|
|
# plugin contributes its own consumer rules for that.
|
|
-keep class io.flutter.** { *; }
|
|
-keep class io.flutter.plugins.** { *; }
|
|
|
|
# Keep annotations used by shared_preferences' platform channel.
|
|
-keepattributes *Annotation*
|
|
|
|
# Do not warn about optional Flutter/AndroidX classes.
|
|
-dontwarn io.flutter.embedding.**
|
|
-dontwarn androidx.**
|