I have an Intel XDK project. I want to use
navigator.app.exitApp();
in a condition.
Code is OK and well working on XDK preview and debugger mode. But after build the apk file, exitapp is not working.
Because it's working in debugger mode, I cannot control the problem.
As an idea: Maybe Intel XDK (preview apk) have a special plugin to run exitapp function and this plugin may not in my package. I search it but i just faced cordova.custom.plugins.exitapp. I added this but still not working.
Can anyone help me? Thank you.