For Unity v5.2.1f1, on iOS with iOS Pro, I’ve noticed that Application.OpenURL simply does nothing for certain URLs. Specifically, all youtube.com URLs and most facebook.com URLs seem to be blocked. They all work fine in the editor, but fail silently with no xcode log when testing on an iPhone 5c.
The following behavior is seen in a fresh test project, without messing with any project or xcode settings:
"http://www.google.com", // Works "https://www.facebook.com", //Works "https://www.youtube.com", //FAILS "https://www.youtube.com/watch?v=<urlescaped param>", //FAILS "https://www.youtube.com/user/<user>", //FAILS "fb://profile/<profile #>", //FAILS "https://www.facebook.com/<user>", //FAILS
If anyone could explain this behavior, it would be a huge help!