You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/14 01:17:55 UTC

[jira] [Commented] (CB-5357) Add support for navigator.app.exitApp

    [ https://issues.apache.org/jira/browse/CB-5357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13870165#comment-13870165 ] 

ASF subversion and git services commented on CB-5357:
-----------------------------------------------------

Commit af726e211f7c797ef6152b8a921d34af2f764119 in branch refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=af726e2 ]

CB-5357 Multistage exit app fires events pause->exit->onunload before exiting completely. WP8 only


> 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)