Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Ajax post method not working with android (apk) build app in cordova 5.1.1 or above

Marcio_Levi
Beginner
1,130 Views

Hey everybody.

I have a simple application (leaderboard) in construct 2. It uses an AJAX plugin and makes two requests: one for catch the scores (GET) and other to save the score (POST).

When I run the app on my computer (with the construct), everything works normally. But when I run the app on my android device, can not save the score.

I've read about this issue, and I tried to apply this knowledge, but without success.

I'm using the latest version of Intel XDK.

Any one have ideas ? Please need help (sorry for my bad english).

 

0 Kudos
2 Replies
Mitchell_Franklin
New Contributor I
1,130 Views

Hello,

I have used Construct2 with this before with no issues so I do think it is strange, I downloaded your file but it looks like you set the output in Contruct2 to minify JS = Ticked, could you please re-upload the files with out this being ticked?

Ta

Mitch

0 Kudos
Marcio_Levi
Beginner
1,130 Views

Hi Mitchell,

I made the changes you suggested and guess what .... it worked! You saved my life, thank you !!!

I did not know this problem with this option. What we lose if we do not use this option?

 

 

0 Kudos
Reply