cordova-issues mailing list archives

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

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

ASF GitHub Bot commented on CB-11077:
-------------------------------------

Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/580#discussion_r60262381
  
    --- Diff: www/docs/en/dev/cordova/events/events.md ---
    @@ -323,6 +323,16 @@ function onBackKeyDown() {
     }
     ```
     
    +### Windows Quirks
    +
    +Throw an error in a `backbutton` callback to force the default behavior:
    +
    +```javascript
    +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: https://issues.apache.org/jira/browse/CB-11077
>             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,
windows-universal
>
> 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|https://issues.apache.org/jira/browse/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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message