Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7067221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:10:31+00:00 2026-05-28T05:10:31+00:00

Does phonegap/callback/cordova have a whitelist on all platforms? Is it implemented the same way

  • 0

Does phonegap/callback/cordova have a whitelist on all platforms? Is it implemented the same way on each?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:10:32+00:00Added an answer on May 28, 2026 at 5:10 am

    The whitelist is present on both iOS and Android, but not other platforms yet.

    Under iOS, it goes under the name of “External Hosts,” which is explained here: http://wiki.phonegap.com/w/page/41631150/PhoneGap%20for%20iOS%20FAQ

    Q. Links to and imported files from external hosts don't load?
    A. The latest code has the new white-list feature. If you are 
    referencing external hosts, you will have to add the host in PhoneGap.plist 
    under the "ExternalHosts" key. Wildcards are ok. So if you are connecting to
    "http://phonegap.com", you have to add "phonegap.com" to the list (or use the 
    wildcard "*.phonegap.com" which will match subdomains as well).
    

    For example:

    <key>ExternalHosts</key>
    <array>
        <string>*</string>
    </array>
    

    For Android, the feature is currently undocumented and somewhat buggy, although undergoing fixes. This thread holds some good troubleshooting details: https://groups.google.com/forum/#!topic/phonegap/9NZ4J4l1I-s

    In a nutshell, it is the ‘access’ attribute in xml/phonegap.xml. It uses perl-style regex

    To allow all domains (debugging): <access origin=".*"/> 
    

    Soon, this may be change to the following syntax:

    <access origin="https://example.com" subdomains="true" />
    

    Whitelist on BlackBerry is provided as part of the WebWorks framework
    and is configured via config.xml:

    https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/access_element_834677_11.html

    The sample project allows access to all URL via the “*” wild card.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does PhoneGap (more specifically DroidGap for Android) have way to tell when its webview
Does anybody have experience build app with PhoneGap's Build Service? I followed the steps
Does anyone use PhoneGap? I have a php app which uses ajax to receive
I am experimenting with PhoneGap and Android. Does anyone have an example that shows
Hey Fellow Phonegap Fans. Does anyone have any idea if I can have Phonegap
I wonder how I do that the scroll PhoneGap does not have this in
It seems that they have deprecated the Phonegap variable DeviceInfo as of Cordova 1.5
Does anyone know if there is a way to generate different code in the
Does COUNT(*) have any significant impact for MySQL performance if query already has GROUP
Does anyone have a translate function for x/y positions after rotation in javascript? for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.