Search Unity

[Solved] How to open Unity App/apk via URL link?

Discussion in 'Scripting' started by Aldo, Feb 3, 2017.

  1. Aldo

    Aldo

    Joined:
    Aug 10, 2012
    Posts:
    173
    I'm working in some kind of image gallery application and I want people to be able to share a link via twitter, FB, etc...

    The idea is that a second user clicks the link and this opens the application with the image chosen by the first user.

    like <a href=myApplication?ID=4> Look at this awesome pic! <a/>

    This link would open "myApplication" and show image 4.
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,187
    You're going to have to probably look into deep linking, which allows you to do something like what you described. I'm not sure how easy it is to setup though, so if you are still a novice, it may or may not be tough to do.
     
  3. Aldo

    Aldo

    Joined:
    Aug 10, 2012
    Posts:
    173
    Deep linking!! Thanks for the term.

    I've already found a plugin for android that says it does the job
    (will keep searching for documentation since it does not have a good rating)
     
  4. Aldo

    Aldo

    Joined:
    Aug 10, 2012
    Posts:
    173
    Thanks a lot for your help! ^^

    https://github.com/TROPHiT/UnityDeeplinks

    tested on android and it works like a charm
     
    Last edited: Feb 6, 2017
    gillemp and Shuttershady like this.