I just build my apk to test it on the phone but I got some weird errors like
- the dialogue box that opened on the onTap method stopped working but before or in the debug mode it is still working.
- the image picker has the same problem that it is not working in apk but it is working when running through android studio.
does anyone know any reason behind this is why this is happening?
it would be really helpful if you could help.
For some design issue it may occure in release mode. Where in debug mode we get some warning and ignore that but in release mode without solving those design issue it won't run smoothly. try to find if there has any design issue like
So solution is
Run you app in debug mode and check logs, I am sure you will find the problem there.