Search Unity

Add URL schemes

Discussion in 'macOS' started by jtiret, May 17, 2021.

  1. jtiret

    jtiret

    Joined:
    Nov 11, 2020
    Posts:
    63
    Hello,

    I need to launch my game's Mac application by clicking on a link on a web page. For that, I intended to configure URL schemes. This option is available for iOS (see screenshot below) but unfortunately I cannot the any equivalent in Standalone player settings, is there any?

    Screenshot 2021-05-17 at 09.27.20.png

    I need this feature because I would like to give the ability for the users to sign in by clicking on a button in the app, being redirected to their web browser, do the authentication and being redirected back to the Mac app. You could argue that I can directly add the Sign-In UI into Unity but this is mainly OAuth authentication (authenticating with Google, Apple, etc.) and it has to be done on their website. This workflow works perfectly fine on iOS and I need the same on macOS.

    According to the doc I can see that Unity support this for iOS, Android and Windows, but not macOS. Is there any reason for this and any workaround?

    Thanks in advance for your help.

    Jonathan
     
    Last edited: May 17, 2021
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Search for the "Universal Deep Linking" plugin. I think it will help you here.
     
    jtiret likes this.
  3. jtiret

    jtiret

    Joined:
    Nov 11, 2020
    Posts:
    63
    Thanks of lot for your help, this is exactly what I was look for.