the app in debug mode was working find and everything is good after releasing apk google sign in doesn't work i tried all the possible soultions i checked for the sha1 key and all is good in and added everything in the gradle nothing is missing but still give me error
and when i use it in debug it works again like flutter run but if i run fluter install and use the installed apk it doesn't work and it gives this error
I had similar problem, in my case with firebase token, this post helped. MissingPluginException for quick_actions plugin in release mode
Quote from the accepted answer:
As of now to remove this issue from the release mode I added
shrinkResources false
in the app levelbuild.grade file
of android folder.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.