cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11077) backbutton does not minimize app
Date Tue, 19 Apr 2016 16:18:25 GMT


ASF GitHub Bot commented on CB-11077:

Github user nikhilkh commented on a diff in the pull request:
    --- Diff: www/docs/en/dev/cordova/events/ ---
    @@ -323,6 +323,16 @@ function onBackKeyDown() {
    +### Windows Quirks
    +Throw an error in a `backbutton` callback to force the default behavior:
    +document.addEventListener('backbutton', function (evt) {
    +    throw "Exit"; // This will suspend the app
    --- End diff --
    Should it throw a new Error instead of a string?

> backbutton does not minimize app
> --------------------------------
>                 Key: CB-11077
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>    Affects Versions: 4.3.0, 4.3.2
>            Reporter: Beat
>              Labels: cordova, docs, triaged, universal, window, windows-phone, windows-phone-81,
> I was always wondering why backbutton handling was not well supported on windows-phone
platform until windows@4.2.0 was released with backbutton support [CB-8481|].
> But currently this fix became a real problem for me since I tried to release a new version
of my application to the windows store. My application was not approved by ms team, because
it was not suspended when there is no history. So I had to downgrade to windows@4.1.0 to get
an approved application...

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message