I am working on an Ionic 2 app and I have a problem with the MediaCapture plugin. The plugin works fine most of the time, but sometime it cause my app to restart. I have read that this is a common problem and I seem to find no solution to the problem.
I have found this plugin https://github.com/zebra1024/cordova-plugin-wezka-nativecamera which claims to solve the issue, but the documentation is so bad that I a) haven’t figured out how to use it and b) don’t trust it that much.
The cordova background mode plugin is not a solution as I need the app to be available on public stores vendors.
Is there a way to prevent the app from going in background mode while getting a picture?