iphone - No results for query of Soundcloud API under iOS -
when using sc.get() function of soundcloud api instead of result receive "http error: 0". same codes working under android , in browser (with same origin policy disabled).
this part of code:
sc.initialize({client_id : "[myclientid]" ,redirect_uri:"[myuri]"}); sc.get('/resolve', {url : '[myurl]'}, function(track, error) { if (error) alert('error: ' + error.message); trackimg[l] = track.artwork_url; trackid[l] = track.id; ... });
the urls white-listed external hosts within projects .plist , cordova.plist (the project still running under phonegap 1.7.0). there no warning in xcode console blocked urls..
strangely enough app working fine couple of weeks ago. thing found changed callback.html redirect uri got deleted created new one.
Comments
Post a Comment