Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 installs the app, but it doesn't seem to.

The steps - user visits page, doesn't have app installed, clicks View, goes to app store, installs app and then taps Open in the App Store. The app opens, but it doesn't appear to get the app-argument passed in. Note that if they then go back to the web page, the Smart Banner now says Open and that works and passes the app-argument, just not on the first install.

Have I misunderstood what is supposed to happen? If so, this makes the Smart Banner pretty much useless for me.

Gary

like image 988
user2472804 Avatar asked Jun 11 '13 00:06

user2472804


People also ask

How do you implement a Smart app Banner?

To enable this feature, you must use the same Google Developers Console project for your Web and Android clients, and configure your web app's sign-in button. Your web app must use the Google Sign-In button to prompt your web site users to download your app the first time that they sign in.

What is an in app banner?

Banner ads occupy a spot within an app's layout, either at the top or bottom of the device screen. They stay on screen while users are interacting with the app, and can refresh automatically after a certain period of time.

Does Android Have Smart app Banner?

Because of the fragmentation of the Android ecosystem and browser choice, Google has never released an Android smart banner. Chrome offers something called the Native App Install Prompt, but it is difficult to implement, provides very little developer control, and has never been widely adopted.


2 Answers

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.

like image 176
Marcelo Fabri Avatar answered Dec 05 '22 07:12

Marcelo Fabri


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.

like image 32
amb Avatar answered Dec 05 '22 07:12

amb