Redirect to application if installed, otherwise to App Store

后端 未结 8 2533
渐次进展
渐次进展 2020-12-02 04:52

I know it\'s possible to link directly to an app in iOS by registering a custom scheme (e.g. so://) and it\'s also possible to link to the app in the appstore via itunes.

8条回答
  •  暖寄归人
    2020-12-02 05:21

    There are a bunch of complicated edge cases here, so the easiest solution is to let someone else handle that stuff.

    This is what https://branch.io/ do. You can use their free plan to achieve exactly what you want, with a handful of bonus features

    • statistics
    • you can pass info along with the link, and it will be retrieved even if the user had to do an install first
    • link will work on the desktop (by default, it will text an install link to your mobile)

    I'm not affiliated with Branch.io, but I do use their product.

提交回复
热议问题