Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8588

showWebPage() should include CATEGORY_BROWSABLE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      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:

      • 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.

      If apps want to fire an intent without CATEGORY_BROWSER, they should use a custom plugin.

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              agrieve Andrew Grieve
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: