Open evgfilim1 opened 3 months ago
I'm having the same problem. There is no error when I remove flutter_secure_storage from my app.
After applying it, the project compiles successfully and seems like no errors are emitted at runtime.
android/app/proguard-rules.pro
if it doesn't exist yet.# https://github.com/mogol/flutter_secure_storage/issues/748
-dontwarn com.google.errorprone.annotations.CanIgnoreReturnValue
-dontwarn com.google.errorprone.annotations.CheckReturnValue
-dontwarn com.google.errorprone.annotations.Immutable
-dontwarn com.google.errorprone.annotations.RestrictedApi
-dontwarn javax.annotation.Nullable
-dontwarn javax.annotation.concurrent.GuardedBy
I will add the workaround above to the package asap.
Steps to reproduce
flutter_secure_storage: ^9.2.2
todependencies
ofpubspec.yaml
android/settings.gradle
(com.android.application
plugin) or any other 8.x.y.android/gradle/wrapper/gradle-wrapper.properties
or any other which support the above specified AGP version.flutter build apk
orflutter run --release
).Expected behavior
Builds successfully
Actual behavior
Versions
Additional notes
android.enableR8.fullMode=false
toandroid/gradle.properties
doesn't help