MissingPluginException in flutter in release mode android
Looks like the recent proguard rules in flutter is ejecting the plugins which arent registering properly
In your project's app/build.gradle
change
buildTypes { release { signingConfig signingConfigs.release } }
to
buildTypes { release { shrinkResources false minifyEnabled false signingConfig signingConfigs.release } }
The added extra 2 lines seems to skip the proguard rules part thereby saving your from the nightmare , this is just a temporary work around , there might be a fix soon from flutter
Ofcourse this skips the proguard optimization , but atleast the code works now ;)
I have been wasting my time for almost 6 hours without knowing the solution ,so I am posting it here for others