Launch app if installed, or open Google Play with install referrer

前端 未结 2 1098
我寻月下人不归
我寻月下人不归 2021-02-08 10:14

We are trying to generate a link that, when clicked in a browser, opens our App if it\'s installed. This is usually done with something like this:

intent://som         


        
2条回答
  •  别那么骄傲
    2021-02-08 10:56

    I think this is your answer https://stackoverflow.com/a/28792160/5034920 Basically you must implement the intent filter like this:

    
    

    and at the server side, create a redirect rule to google play. For example, https://www.foo.com/bar/BlahBlah will redirect to https://play.google.com/store/apps/details?id=com.bar.foo&referrer=BlahBlah.

提交回复
热议问题