K
K
kibez2018-08-18 17:26:37
Apache Cordova
kibez, 2018-08-18 17:26:37

Is it possible to somehow intercept the completion of the application on cordova?

Is it possible to somehow intercept the completion of the application on cordova?
Ie when the user closes the "window" of the application? I found a plugin
https://www.npmjs.com/package/cordova-plugin-ondestroy
which should do the right thing... but it doesn't work.
It is necessary, when the user closes the window (OnDestroy), to show a dialog with a request to save data, etc.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question