Skip to main content
Honored Contributor
May 18, 2020

Open URL in Oculus Browser from Unity application

The title basically says it all. Is it possible for an application to open the Oculus Browser with a specific URL? Maybe through App Deep Linking?

13 replies

julienkayAuthor
Honored Contributor
May 19, 2020
I guess I can answer this myself.
Application.OpenURL() seems to do the trick. No need to overcomplicate things.

New Participant
March 1, 2021

Application.OpenURL seems to work for Windows, but what if I am on the Quest?

New Participant
April 1, 2021

Yes what should we do If We have build the apk for quest and inside the apk when when we hit the button it doesn't seems to open the web browser. Did you got any solution for this problem ? 

New Participant
June 25, 2021

Still no solution for that?

New Participant
July 16, 2021

Any feedback?

New Participant
May 10, 2022

Update: now if you open a url from your quest apk, it will automatically open oculus's meta quest browser. for me it seems to close my app after opening the browser though, so im not sure how helpful that is to you if your app closes

 

Participant
July 1, 2022

I am trying to figure out how to get it to open in the background as well, or be able to go back to the application that opened it after interacting with the browser.  If anyone has any hints, or if meta wants to listen in for future features, it would be able to interact with the browser and not close the main application that opened the browser.

Sammey
New Participant
January 8, 2023

My browser seems to open (after having to close the app) but the url used in Application.openURL("https://..") is not opened in the browser. Is anyone else here having that same issue?

New Participant
April 8, 2023

Yes, I have the same issue. In my case, there seems to be some URLs that the Meta browser won't open, so it just opens a blank page.

New Participant
January 18, 2023

Yes, same issue here. The OS asks to quit the Unity app, then the browser opens if you accept, but the URL is ignored.

Inspiring
April 9, 2023

I have links in my Quest app, and it's opened with this code, now in v50 it wouldn't close the app, but v51 is closing the app.  I have links to Youtube, Facebook, bit.ly, reddit and my website.

 

Application.OpenURL(url);

 

 

Inspiring
May 6, 2024

Any update? Unity documentation says:

Android: Due to security changes in Android 7.0 (More information), Application.OpenURL can no longer be used for opening local app files, you need to use (FileProvider) which allows you to share files with other applications.