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

  • Home
  • SEARCH
  • 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 8594981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:19:33+00:00 2026-06-12T00:19:33+00:00

When using XCode and phonegap, I usually edit the .plist file to whitelist the

  • 0

When using XCode and phonegap, I usually edit the .plist file to whitelist the url of my AJAX requests. How is this done in Eclipse on an Android phonegap project? After Googling the issue, I did come across editing the .htaccess file and adding in

Access-Control-Allow-Origin *

I don’t have permissions to modify the .htaccess file.

This works fine for iPhone when whitelisted. On Android, I get the

xmlhttprequest cannot load is not allowed by access-control-allow-origin

error, so being that it works with the iPhone with no issue after adding the url to the whitelist, do I have to modify the server for this to work? or can I whitelist the URL in this Android project in Eclipse using Phonegap? I do have access to the PHP files the ajax requests to, is there something I can do with those if whitelisting isn’t an option?

  • 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-06-12T00:19:35+00:00Added an answer on June 12, 2026 at 12:19 am

    For Read this Documentation and try to solve this issue

    In my Conditions this is working with both device..(iPhone and Android)

    for Android you edit this file “res/xml/cordova.xml” or “res/xml/phonegap.xml”

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

Sidebar

Related Questions

i am using PhoneGap,n using this code in xCode then run properly and database
I am using PhoneGap, jQuery mobile in Xcode. I have a local xml (data.xml)
I'm using Xcode 4.3 and I have followed this user's steps to create the
I'm trying to build a PhoneGap-based application using Xcode 4. Since there's no PhoneGap
I'm using mac os lion with the latest xcode version. I installed phonegap from
I have a simple html login form, deployed on Xcode using phonegap framework. When
I'm using PhoneGap + Xcode to create an app. Is there any way I
I am currently developing an iPhone app using Apache Cordova (phonegap) and xcode to
Using a basic PhoneGap 2.0 app, I don't see any console.log messages in XCode.
What is the difference when using .html and .htm for xcode 4.3.2 (phonegap)? I've

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.