App Quit Event


I wondering is there a Quit-Event emitted when e.g. the user swipe out the app in task manager.
Ok, terminating a app will not wait until running my code in a quit-event. But maybe a short execution is possible.

The best you are going to be able to do is Platform.pause, but don’t rely on it absolutely being called.

The pause event is emitted when the app get blurred. (focus lost) e.g. Home Button or Task-Manager Button pressed. In rare cases also when the keyboard appears. (maybe old Android on some devices).
But anyway, this event does not fit my plan. I don’t want disconnect or unsubscribe on app pause. But thanks. :slight_smile: