Does app-argument on Apple Smart Banner get passed to app on install?

后端 未结 3 1300
粉色の甜心
粉色の甜心 2021-02-05 04:46

I\'ve implemented a Apple Smart Banner for my app, including a app-argument with a URL I\'d like the app to open on my site. I thought that would pass through when the user inst

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-05 05:39

    From the docs:

    If the app is already installed on a user's device, the banner intelligently changes its action, and tapping the banner will simply open the app. If the user doesn’t have your app on his device, tapping on the banner will take him to the app’s entry in the App Store. When he returns to your website, a progress bar appears in the banner, indicating how much longer the download will take to complete. When the app finishes downloading, the View button changes to an Open button, and tapping the banner will open the app while preserving the user’s context from your website.

    It only sends the URL param if the app is opened via the banner. If it's opened via AppStore or via SpringBoard, it won't send it.

提交回复
热议问题