In my app, I need to download data from google apis, and I used WWW class, it works perfectly on android, but on iOS, the WWW object always have the error, message is NSURLErrorDomain error -1012
How to fix this?
In my app, I need to download data from google apis, and I used WWW class, it works perfectly on android, but on iOS, the WWW object always have the error, message is NSURLErrorDomain error -1012
How to fix this?
You should show your code.
I have also problems with Parse API and Shephertz on iOS and WebPlayer. It seems to be lots of issues still to be solved. Hope next release includes the fixes!
Threads regarding the issues:
WWW www=new WWW(āhttps://xxxxx.appspot.com/_ah/api/xxxxx/v1/xxxx/list?apiToken=ā+xxxxx);
// for some reason, I cannot post the true website
yield return www;
if(string.IsNullOrEmpty(www.error))
{
//do things
}
else
{
MonoBehaviour.print(āWWW error! message=ā+www.error);
}
//This returns www error, and the error message is NSURLErrorDomain error -1012
This code works fine on pc and android, only ios have this issue.
Can you try Mono vs IL2CPP?
The IL2CPP will get other errors other than this.