Ionic app restarting after Camera Capture


After capturing image and pressing tick mark, my application is restarting automatically in Moto Z play in Android Oreo. But it is working fine with any other mobiles but in some mobiles it is restarting the app.

Urgent, need solution. Please help me to solve this problem.


you could watch to this github issue on the camera cordova plugin.


It’s a memory problem and it’s how Android behave

I faced that problem and built a workaround using the provided Cordova lifecycle, I documented everything in


I didn’t get it how to solve this problem. Please help me.


I already used background service, but no use with that.