cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5357) Add support for navigator.app.exitApp
Date Tue, 14 Jan 2014 00:17:55 GMT

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

Mime
View raw message