incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: API function: Open url in system web browser
Date Thu, 17 May 2012 21:27:29 GMT
iOS doesn't differentiate what the target attribute value is (thus
ambiguous in Objective-C what the intent is).

Good idea - we could clobber window.open, sure - and we add the native
bits to support this.

On Thu, May 17, 2012 at 2:27 PM, Filip Maj <fil@adobe.com> wrote:
> So target="_blank" is no good to use for this.
>
> A "new" API seems overkill for me.
>
> What about clobbering window.open ?
>
> On 5/17/12 2:19 PM, "Shazron" <shazron@gmail.com> wrote:
>
>>Punted this too much, need all of your input on this.
>>
>>Summary:
>>We need an API function on all platforms to always open a url in the
>>system web browser, right now each platform does its own thing, and on
>>iOS it is very wonky, relying on a something that is ambiguous
>>(navigation type value) through the target attribute of an anchor tag.
>>Basically, I agree with Andrew's proposal here:
>>https://issues.apache.org/jira/browse/CB-362?focusedCommentId=13247777&pag
>>e=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment
>>-13247777
>>
>>
>>JIRA issue:
>>https://issues.apache.org/jira/browse/CB-362
>>
>>See the matrix in the PG Build blog post:
>>https://build.phonegap.com/blog/access-tags
>

Mime
View raw message