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

Phonegap on Android - restrict with only certain domain does not work. I use access origin.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      I set config.xml
      <plugin name="cordova-plugin-whitelist" spec="https://github.com/apache/cordova-plugin-whitelist.git" />
      <allow-navigation href="http://domain.net/*" />
      <access origin="http://domain.net" browserOnly="true" />

      But App still can open other domains inside App. It works fine on iOS and restrict there to only defined domains - so if I click external link nothing happens. Only if I click my allowed domain name - it loads. But on Android it loads all URLs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            olegkhorev Oleg Khorev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: