I have problem with the function exitApp in Cordova/Ionic.
If a disable crosswalk works fine, but if i enable crosswalk nothing happens
Thanks
I have problem with the function exitApp in Cordova/Ionic.
If a disable crosswalk works fine, but if i enable crosswalk nothing happens
Thanks
I have the exact same problem. I’ve tried:
But it doesn’t work. I’m using crosswalk@10.39.235.15.
In the pinned Crosswalk topic, someone already stated this issue:
Crosswalk Integration Beta in Ionic CLI (v1.3.2)
So there are something thats still need to get worked out on the cordova side of crosswalk.
Right now we’re using an upstream version of cordova-android, so somethings may still break here and there.
There’s also a few plugins that will need to be update such as the admob plugin (which has been noted).
So plugin authors will need to do that in time.
Thanks @mhartington, I am aware of the use of the unreleased version of cordova-android 4.0, but didn’t realize this could also be a consequence.
Thanks for all your help and keep up with the awesome work!
Hello
i have same problem like you and i solve that by this code for exit app
window.close();
ionic.Platform.exitApp();
Hope this help for you.
Thanks
works perfect
Works fine thank you, i’m gonna link this to another topic open with the same issue
Actually now that i’m using this workaround, a lot of time when i resume the app it crash. Anyone experiencing the same?
it works well in my app ! Thank you
Hello,
The window.close() do the trick on Android, but under iOS I can’t exit the application.
And the object $ionicPlatform doesn’t have any function exitApp().
I’m under Crosswalk 14.43.343.17 / Ionic 1.6.1 / Cordova 5.1.1
Any help will be really appreciated
$scope.closeApp=function(){
ionic.Platform.exitApp();
};
You can’t exit an IOS App, Apple do not allow apps to exit programmatically
See this thread : http://stackoverflow.com/questions/14422908/iphone-does-not-recognize-phonegaps-navigator-app