Search Unity

Android OpenURL issues

Discussion in 'Scripting' started by lmbarns, Jun 30, 2015.

  1. lmbarns

    lmbarns

    Joined:
    Jul 14, 2011
    Posts:
    1,628
    On certain phones when I call Application.OpenURL("validUrlString"); it opens the browser and starts a new tab. Each additional button press from the app opens the url in new tabs, so there are 10 tabs open for 3 links if I keep pressing them. It becomes unresponsive from the Unity app, pressing a button can cause a delay for minutes and it'll open.

    It's been creating issues where the first link opens fine, but after that it becomes unresponsive. I noticed that when I manually close chrome browser, the next time it opens, it's saved all those open tabs, so if I close my application and chrome browser, re-open my app and open a URL again, it opens all the tabs that were opened when I last closed it.....

    What can I do for this situation?????? I'm trying to identify whether it's chrome browser on the devices that are having troubles vs the native browser on the phones that work, or what....just speculating at this point. It works totally fine on some devices.