[Camera Plugin] App crashes after taking a picture at specific devices
Forge component by OutSystems R&D
Application Type


We are facing some issues (app crashes) when a user is taking a picture and confirming it.

This issue has been reported only in the Production environment since this occurs only on specific devices:

 - Samsung SM-T515 (tab A 10.1 2019) / Android 10

 - Samsung tab A

We cannot perform debug (is in a Production environment) and based on Date time indicated by a user we identify this error at the same time that the app crashes.

"Database 43f4dcbc-fd8c-42d9-9c42-e5eeb9787e67_66ba940d-3616-4623-8794-7aee2bfb2b87 failed to close database cannot be closed while a transaction is in progress"

Note: This application runs most of the time on Offline Mode.

Thanks in advance.


Hi Joao,

There can be multiple reasons for the same:
- Poor connectivity while the picture was captured & you were trying to directly upload it to the server.

- Connection timeout in case the image getting upload was large in size.

I don't think this is related to Camera-Plugin;

Can you clarify whether you are trying to upload directly to the server & via which approach.

If yes then; I would recommend capturing & save the image locally as a binary & then upload the same to the server accordingly via sync pattern or as required.

Hope it helps,


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.