Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Marcio_Levi
Beginner
83 Views

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

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).

 

Tags (2)
0 Kudos
2 Replies
Mitchell_Franklin
New Contributor I
83 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

Marcio_Levi
Beginner
83 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?

 

 

Reply