[
https://issues.apache.org/jira/browse/CB-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-5357.
---------------------------------
Resolution: Fixed
> Add support for navigator.app.exitApp
> -------------------------------------
>
> Key: CB-5357
> URL: https://issues.apache.org/jira/browse/CB-5357
> Project: Apache Cordova
> Issue Type: Improvement
> Components: WP8
> Affects Versions: 3.1.0
> Reporter: Björn Andersson
> Assignee: Jesse MacFadyen
> Priority: Minor
>
> I recently had an app rejected from the WP Store because it didn't exit when
> pressing back on the first page of the app. Due to how the app is loaded the
> "very first page" of the app is the third in history, so exiting from the
> first page required three taps on the back button.
> Android has {{navigator.app.exitApp()}} which can quit the app when called
> and it would be a very nice feature to have available built-in.
> For myself I solved this by creating a plugin adding this functionality which
> is available in [the plugin
> repository|http://plugins.cordova.io/#/se.sanitarium.cordova.exitapp] as well
> as on [GitHub|https://github.com/gaqzi/cordova-plugin-exitapp].
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)