Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mohamed_Ali_B_
Beginner
49 Views

Parsing JSON Data ( IOS Device )

Jump to solution

 

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 ");  

        }

    });

Tags (2)
0 Kudos
1 Solution
Swati_S_Intel1
Employee
49 Views

The issue has been fixed now.

View solution in original post

2 Replies
Swati_S_Intel1
Employee
49 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

Swati_S_Intel1
Employee
50 Views

The issue has been fixed now.

View solution in original post

Reply