Hey,
So, I used to trigger an external php mailer thus…
var shareJoke_url = shareUrl + "name=" + WWW.EscapeURL(name) + "&email=" + recipient;
hs_get = WWW(shareJoke_url);
Obviously, I’m basically just opening a web link, without actually doing anything with it. All the relevant info is in the url string.
However, while this not only worked for 1.5.1 of unity iphone, the app went through revisions etc and still works. The project has since been rebuilt for ipad with the latest unity/sdk, and it no longer appears to work.
That is, the php mailer acts like nothing has happened, but if I substitute hs_get = WWW(shareJoke_url) with Application.OpenURL(shareJoke_url), it opens externally in a web browser and works a treat.
So, I also changed it to var hs_post : WWW = new WWW(shareJoke_url);
Still to no avail. Also putting yield hs_post, no effect.
I am aware that hs_get = WWW(blah) is dynamically typed, however it never caused a fault to be thrown or a crash… So, question… What’s changed?
It did work, now it doesn’t.