-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MissingPluginException when creating a .APK. #17
Comments
Same issue here. |
Same issue here... Detailed logs:
|
Update. Running |
Resolved. In addition to adding the AWS rules for proguard, I excluded this plugin package to make it working even when proguard or R8 turned on.
Then the plugin would work even with obfuscation on Android. |
@samuelchanx you're a lifesaver thanks a lot! |
@samuelchanx thank you, mate! you save my life. I struggle with this issue all day, and I'm not too familiar with native Android development. |
In my case, the following worked for me:
|
This one was okay before flutter_cognito_plugin version 2.0.0. After upgrading to version 2.0.0 this one is not working anymore. I spent 2 days making it works again, and I don't know why this combination below is working in version 2.0.0.
|
If you don't care about minifying, try adding the following to android {
...
buildTypes {
release {
...
shrinkResources false
minifyEnabled false
}
}
} |
Hi, i am sorry, where can i put this codes ? |
@kukuandroid in ur |
I think it should be in the readme |
Hey all I am facing this issue can someone provide the solution |
The plugin works fine if using the android emulator, however once generating an apk using "flutter build apk", an exception is thrown where it cannot find the corresponding plugin. I have tested other plugins and it seems that this is the only one that is not working in this manner.
The text was updated successfully, but these errors were encountered: