Issue
I have a flutter app which uses the phone's camera. While debugging I can successfully use the camera but when using a release apk I have built I get a blank screen. I have added the permissions to the manifest and also the app requests for user to grant permission too.
Here is how it looks in debug mode
Here is how it looks when I install app-release.apk
What could be the issue?
Solution
I found the issue. I was using an expanded widget in a stack. So when I run the app in debug mode I can open and use the camera, However if the app is in release mode it shows the white screen. Hence, I removed the epanded widget and only the stack widget.
Answered By - Kevnlan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.