cordova-plugin-camera android crash code example
Example: cordova-plugin-camera android crash
If you using Android 9/10, use the following for your background mode:
cordova plugin rm cordova-plugin-background-mode
cordova plugin add https://github.com/vkeepe/cordova-plugin-background-mode