Sie verwenden den Download über http. Derzeit fügt Unity NSAllowsArbitraryLoads zu Info.plist hinzu, um den Übergang zu vereinfache
Machen Sie mit Unity eine App für iOS und Android.
Ich habe jetzt ein iOS-Problem:
You are using download over http. Currently unity adds `NSAllowsArbitraryLoads` to `Info.plist` to simplify transition, but it will be removed soon. Please consider updating to https.
nicht unterstützte URL
Das eigentliche Problem ist:
- I connect to an https address
- I did set the Allow Arbitrary Loads to YES
Yet, es funktioniert nicht.
Hier ist mein Code:
string GET = "mail="+mail+"&nome="+nome+"&cognome="+cognome;
// get parameters
WWW response = new WWW (SERVER+"adduser/?"+GET);
// calling page, address is like 'https://website.com/'
while (!response.isDone && response.error != "") {
yield return null;
}
if (response.error != "") {
print (response.error);
return false;
}
Offensichtlich ist dies in einemIEnumerator
Funktion und es gibt IMMER den vorherigen Fehler zurück.