proofzy
proofzy

Reputation: 637

Phonegap app can not connect to database on mobile

I have been been working on an app in phonegap and make login and register with JavaScript and ajax call.

So I tested it on Google Chrome and it works perfect, connecting on server (mysql) and inserting data etc... So I decide to build app to test it on mobile (android), and it just not responding when I click on register or login button. Is there some code or file which I need to import ?

Upvotes: 0

Views: 373

Answers (2)

proofzy
proofzy

Reputation: 637

Application did not receive internet connection, so I changed my config.xml file. Core plugins I found here: https://build.phonegap.com/plugins

Upvotes: 0

Apetu Gideon
Apetu Gideon

Reputation: 136

Check the url you are connecting with in the ajax call, if its a full path

Upvotes: 1

Related Questions