Software Archive
Read-only legacy content
17061 Discussions

Getting data from domains not working

John_V_1
Beginner
502 Views

I am using Intel XDK to create an app for our company. I built the app, tested in the emulator, then tested on the phone in app preview, and all worked fine.

However when I uploaded to the play store (still trying to get apple uploaded) I installed the app on the phone and although the app works, anything that pulls data from our website doesn't work.

For example, I have a newsfeed that pulls from a file I put up on our web server. It doesn't pull the data. Again it works in app preview on my phone, but not the live app.

Same for a php page that sends data back to the app to display, works fine in app preview, but not using the live app.

I am sure it is a setting or something that allows you to fetch data but can't find where. I though in allowed domains I put our domain but that didn't work.

Thanks, John V

 

0 Kudos
2 Replies
Swati_S_Intel1
Employee
502 Views

Try putting * in the domain list under the build settings for the platform you are trying to build for.

0 Kudos
Michael_O_
Beginner
502 Views

@SWATI. S 

I am having the same problem with all my apps since the release of XDK 1878.

Adding * didn't solve the problem.

There is a problem with your Android Cordova build server because it worked when I used PhoneGap build system.

0 Kudos
Reply