Software Archive
Read-only legacy content
17060 Discussions

Problems with some mobiles

Amaia_E_
Beginner
329 Views

Hello! Sorry for my english.

I have done an APP with IntelXDK with Cordova. In the simulation, everything works perfect. My APP has to connect with a server. Here I put the code.

The problem is that when I try with a mobiles, the APP can connect with the server and take me an answer only in some of them. But it not work in all of mobiles. I don´t know the reason of this.

Somebody have this problem? A solution for it?  trouble with mobile permission?

Thanks!!!

 

index.html

        function doAJAX() {
            $.ajax({
                type:'GET',
                url:'http://time.jsontest.com/',
                success: function (data) {
                    alert(JSON.stringify(data))
                }
            });
        }

0 Kudos
2 Replies
Hamilton_Tenório_da_
Valued Contributor I
329 Views

Do you set the Connection plugin in Cordova?

Do you put * in Domain list at Build Settings?

0 Kudos
Amaia_E_
Beginner
329 Views
0 Kudos
Reply