Relaunching app from app itself

Hello,

I want my app to completely shutdown & then automatically get relaunch without manual intervention.

In my case I download some file which can only gets affected after fresh launch.

Like Corona viewer gets relaunch automatically.


I’ve done this by installing one more app. And using open URL scheme I launch that app. Then that new app launch actual app. (Please refer attached image)

But this is not the correct way.

This is not practical. I doubt either Android or iOS supports having apps auto-restart. And Apple would probably consider this behavior a bug and reject you.

If you’re using network.request() or network.download() then you get a call back event where you can read your file and update your app accordingly.

Rob

This is not practical. I doubt either Android or iOS supports having apps auto-restart. And Apple would probably consider this behavior a bug and reject you.

If you’re using network.request() or network.download() then you get a call back event where you can read your file and update your app accordingly.

Rob