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

后端 未结 3 1299
粉色の甜心
粉色の甜心 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:31

    You can do it with branch.io. More info here.

    tl;dr

    What Branch does is generate a custom URL specific for your device and uses the same unique configuration to fetch the data when the application is opened. Thus, you need to include their SDK into your app in order to get those arguments you want to send.

    0 讨论(0)
  • 2021-02-05 05:37

    Maybe this is a bug?

    From: http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html

    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.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题