Software Archive
Read-only legacy content
17061 Discussions

Parsing JSON Data ( IOS Device )

Mohamed_Ali_B_
234 Views

 

Parsing JSON data with javascript ( ajax request or getJSON ) works in emulator but does not working in ios device

 

Example :

 var url= "http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true";

   $.ajax({

        type: 'GET',

        url: url,

        async: false,

        contentType: "application/json;charset=UTF-8",

        dataType: 'json',

        success: function(data) {

           alert(data);

    },        error: function(e) {       

    alert("error ");  

        }

    });

0 Kudos
1 Solution
Swati_S_Intel1
Employee
234 Views

The issue has been fixed now.

View solution in original post

0 Kudos
2 Replies
Swati_S_Intel1
Employee
234 Views

We are having issue with iOS build and engineering is looking at it. Please follow this thread, we will post as soon as it is fixed.

https://software.intel.com/en-us/forums/intel-xdk/topic/611793

0 Kudos
Swati_S_Intel1
Employee
235 Views

The issue has been fixed now.

0 Kudos
Reply