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

Bryce Curtis commented on CB-206:
---------------------------------

There is no spec for navigator.app.  It was initially introduced to handle app 
management and resources that were unique to Android.  For example hooking the 
back button which will probably never be in a spec.  Later, it was added to BB, 
since it had some common features with Android.

Regarding exitApp(), it is used by both Android & BB since the OS supports it, 
and has proven useful to be able to programmatically exit.  We can have a 
discussion as to whether to "assign" a web approach such as window.close() 
instead, but there have been issues with javascript frameworks (like jQuery) 
that sometimes use window and history manipulations to do their magic.  (Some 
of the complexity with history was due to jQuery issues.)

There's a difference between pure web apps and PhoneGap apps that seems to 
leave a few unique functions that can't be done the web way, yet aren't across 
all the platforms.  This is what navigator.app addresses.  Maybe we need to 
propose an App spec, come up with some other mapping, or stub out an API that 
degrades if not supported by a platform.

Maybe we should start with a list of scenarios which drove much of the 
navigator.app API?

Anyway, this should good for discussion :-)  

 
 
                
> No documentation for navigator.app methods
> ------------------------------------------
>
>                 Key: CB-206
>                 URL: https://issues.apache.org/jira/browse/CB-206
>             Project: Apache Callback
>          Issue Type: Wish
>          Components: Docs
>    Affects Versions: 1.3.0
>            Reporter: Raymond Camden
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> There are a few method available in the navigator.app space, for example, 
> exitApp, but there are not documented anywhere.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to