I made a simple app that reads a barcode and inserts it into a sqlite
base.
When I'm in debug, it works perfectly, it saves the data, etc ...
But when I put in a release, I unplug the phone from the notebook, the app opens, it starts to read the camera, but by the time it should save to the bank, the app stops working.
I tried to give all possible permissions to the app and it still did not work.
What can it be?