You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/03/03 03:41:05 UTC
[jira] [Commented] (CB-8588) showWebPage() should include
CATEGORY_BROWSABLE
[ https://issues.apache.org/jira/browse/CB-8588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344372#comment-14344372 ]
ASF subversion and git services commented on CB-8588:
-----------------------------------------------------
Commit 747d2c97cdd3ea3927b6f9ab7e774040f8d9e245 in cordova-android's branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=747d2c9 ]
CB-8588 Add CATEGORY_BROWSABLE to intents from showWebPage openExternal=true
> showWebPage() should include CATEGORY_BROWSABLE
> -----------------------------------------------
>
> Key: CB-8588
> URL: https://issues.apache.org/jira/browse/CB-8588
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> Since this API is meant to simulate what happens when a link is clicked (I believe), it should include this category. It's certainly a safer default:
> {quote}
> * Activities that can be safely invoked from a browser must support this
> * category. For example, if the user is viewing a web page or an e-mail
> * and clicks on a link in the text, the Intent generated execute that
> * link will require the BROWSABLE category, so that only activities
> * supporting this category will be considered as possible actions. By
> * supporting this category, you are promising that there is nothing
> * damaging (without user intervention) that can happen by invoking any
> * matching Intent.
> {quote}
> If apps want to fire an intent without CATEGORY_BROWSER, they should use a custom plugin.
--
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