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

Sergey Shakhnazarov commented on CB-11077:
------------------------------------------

Investigated the issue and it seems to be a documentation issue for me as the 
default backbutton behavior can be forced by a throw in the {{backbutton}} 
callback:
{code}
document.addEventListener('backbutton', function (evt) {
    throw "Exit"; // This will suspend the app
}, false);
{code}
I will send a PR documenting that.

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to