Is it possible to open a URL in a specified browser from Unity mobile app?
I’d like to open Google Chrome if installed on device from Unity mobile app on Android and IOS.
Similar to Application.OpenURL(url), but target Chrome browser not default browser.
Thanks
You can target Chrome by using googlechrome
as the protocol instead of http
. For example, if you wanted to open the url http://answers.unity3d.com
in chrome it would be Application.OpenURL(@"googlechrome://answers.unity3d.com");
@brianturner
So to open the url in safari it would be:
Application.OpenURL(@“safari://answers.unity3d.com”);
??