Application can not access URL via Ajax when on android

0

I'm trying to learn how to use Phonegap Build. I developed a small application with a simple button, which when clicked, will execute the jquery ajax function. This function will call an external URL and return success or error, in case of failure. When the project is on my machine, it accesses that external URL normally. But when I upload to Phonegaph build, I create the mobile application and install it on Android, so it does not work. I click the button and it returns error, indicated that it could not connect to the external URL using Ajax. But on my machine it accesses. I already found in Google a lot of tips to put in config.xml, but so far nothing solved. If someone has already created something with Phonegap Build that can access an external URL, and can give me some suggestions, thank you.

    
asked by anonymous 27.01.2016 / 01:05

0 answers