IONIC 2 Camera is Restarted

Sometimes when i try open the camera on my phone, the app is restarted after capture the picture, someone had this issue or something like that ?

i’m using ionic 2.0.0-rc.5

Thank :slight_smile:

Hi post your code whenever possible.

let options = {
  allowEdit: true,
  targetWidth: 200,
  targetHeight: 200,
  destinationType: 2,
  quality: 100
Camera.getPicture(options).then((imageData) => {
  console.log(imageData); = imageData;

What platform? Real device or emulator?

Are you planning to upgrade or why are you still on RC5?

Hi @Sujan12 , so i’m trying to run in a real device, i’m using the ionic rc 5, it could be a memory problem of my device ? such as many apps opened ?