Banner on Android always shows Download App.

Hi, on Android from any browser the banner, used the Web sdk always shows “Download app” even if I have the application installed already. I enabled “always try to open app” and this way the banner is able to open the app with the URI scheme instead of redirect to play store. We didn’t have the Branch sdk integrated into our Mobile app. Did I miss something and without that installed app detection is not working? Thanks in advance. Best Regards, Jani

Hellmann Worldwide Logistics — Developer
1 Answer(s)
Answered on June 24, 2016.

Hi Jani!

Yes, you will need to have the SDK integrated in order for this to work. There is no way to directly detect if an app is installed, so we match the device ID for the web visitor to the device ID recorded during an SDK session. This is what changes the button on the banner, so without the SDK, we can’t complete the loop.

Branch — Developer
Commented on June 27, 2016.

Thanks for your answer, that explains why it didn’t work.

I encountered another problem. As I saw there is no option to have different position on mobile and desktop(we had this as a business requirement) to show smart banner on the bottom for desktop but keep it on top for mobile browsers. To achieve that I made a simple modification on the banner.js.
Do you think this can be useful for others? If it is I’d be happy to create a pull request.

Hellmann Worldwide Logistics — Developer
Commented on June 27, 2016.

Hi Jani,

We would love to see a pull request! I’m sure you already have it, but the repo is here: https://github.com/BranchMetrics/web-branch-deep-linking (it just changed names yesterday).

Branch — Developer