Page 2 of 2

navigator.app.exitApp() not working from apk file

Posted: Sat Mar 14, 2015 4:19 pm
by Sayan Nandy

Hi Alena,

I have built the apk using appery.io and then transferred it to my Asus_T00J Zenfone 5 with Android 4.4.2 (KitKat). There on clicking the close button with the code as shown in the above snapshot, the app is not closing. I can send you the apk if you share the email id. Actually I deleted some of the plugins to reduce the size of the apk (as with only a couple of pages it's size was around 2.2 mb which reduced to 1.7 mb on deletion of some plugins), I am not quite sure whether that is creating the problem or not!
Kindly help me resolve the issue.


navigator.app.exitApp() not working from apk file

Posted: Tue Mar 17, 2015 11:31 am
by Egor Kotov6832188

Hello Sayan,
1) you shouldn't delete plugins unless it's Barcode Scanner, which was described how to delete from Appery.io project. If you changed anything else it can cause unpredictable behavior.

2)One of next lines you used should work in app to exit
navigator.app.exitApp();
navigator.device.exitApp();


navigator.app.exitApp() not working from apk file

Posted: Tue Mar 17, 2015 6:01 pm
by Sayan Nandy

Hi Egor,

Can you tell me which plugin is responsible for the function and how to add it again!!!
Otherwise I will have to delete the entire project and make it again...


navigator.app.exitApp() not working from apk file

Posted: Tue Mar 24, 2015 9:44 pm
by Egor Kotov6832188

Hello Sayan,

1) open source tab
2) delete all files/folders under OS you have changed
3) Click on engine icon and sekect "Undo all changes"
4) All be restored
Note: if you have 3rd party plugins, which was integrated, they all will be lost.