简体   繁体   中英

after releasing apk from fluttter google sign in doesn't work

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

enter image description here

这是 Gradle 文件 在此处输入图像描述 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 level build.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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM