Search Unity

Help Wanted Share to my app

Discussion in 'Editor & General Support' started by lz7cjc, Feb 8, 2021.

  1. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    406
    Hi I want to be able to share a URL into my unity app so I can save it to the user profile. I don't know what I should be searching for to find tutorials on this! So when I hit share from YouTube, my app appears in list of options where it can then be saved. Hope that makes sense! Thanks
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    20,204
  3. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    406
    thanks but i think that is going the other way. I want someone to be able to go to Youtube on their phone, hit share and then get my app to appear to appear in the list of apps that the user can share to. So in the same way that I can share a url to GetPocket, or send to email I want to be able to save the URL from YouTube into my app.
     
  4. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    406
    Like this: shareto.png
     
  5. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    20,204
    I believe that is done by implementing an "URL Scheme." That should give you some googling. It will be fairly platform dependent but there may be third party libraries that can abstract it.
     
  6. lz7cjc

    lz7cjc

    Joined:
    Sep 10, 2019
    Posts:
    406
    ok thanks - so this will allow me to share a url from youtube to my app? I can't find anything in asset store but will keep looking
     
unityunity