Does anybody know a way to handle the app closed, so if the system or the user closes the app, it won't close but the current 'position' of the user will be saved? (maybe with some special permission?)
You can't stop the app being closed, but the activity_pause event will be triggered and you can save whatever information you need to before it closes.