She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

close the app in ios is not working

Hi Team,

codenavigator.app.exitApp();/code this code is not working in ios, the app is not close after tapping/clicking the button. any suggestion?

Thank you

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

close the app in ios is not working

Hello,

Could you check are there any errors in console? This: (http://devcenter.appery.io/documentat... should help.

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

close the app in ios is not working

how could i check the error if the app is already installed in the gadget? -.-

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

close the app in ios is not working

Hi She -

You can use Weinre debugger, if the app is running on the device. https://devcenter.appery.io/documenta...

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

close the app in ios is not working

Hi Ilya,
so this "navigator.app.exitApp();" code is working even in iOS device? because i already tried it and nothing happen.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

close the app in ios is not working

Please check this code:

preif(navigator.app){
navigator.app.exitApp();
}else if(navigator.device){
navigator.device.exitApp();
}/pre

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

close the app in ios is not working

Hi Sergiy,
This is code is not working. im using iOS 8.3

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

close the app in ios is not working

Appery.io doesn't support iOS 8.3:
https://devcenter.appery.io/documenta...

Return to “Issues”