In an iOS project I have a SocialXT.Post call, and a delegate that responds to the PostCompleted event.
This setup works well, but I have found one case where the PostCompletedEventArgs parameter of the delegate gets a wrong result.
Environment:
- Unity 3.5.7
- U3DXT Pro Version 1.6.4.0
To reproduce:
- make sure the device cannot get on the net (disable WIFI/3G, or just turn on airplane mode)
- in the iOS app initiate the SocialXT.Post call, and press the Send button in the message composition dialog
- another dialog will show up stating “Cannot Send Tweet”, press Cancel
In the process of this you’ll see multiple warnings asking you to turn on WIFI / turn off airplane mode, disregard those.
Result:
The PostCompleted delegate will be called with a PostCompletedEventArgs object, where completed=true, even though posting didn’t work.