Luca Reghellin
Luca Reghellin

Reputation: 8101

Can I create (an how to) a single html link to a mobile app, that sends the user to itunes or gplay based on device?

as for the title.

I have to place a simple link to an app on a website. The app has 2 versions, ios and android, so I should put 2 links, one to itunes and the other to gplay. ok.

Is there a way to create a single link that will send the user to the proper store?

Upvotes: 2

Views: 450

Answers (2)

Satheesh
Satheesh

Reputation: 11276

Firebase dynamic links is one way. I would like to recommend Branch.io, they do the same but more efficiently and the links that are generated don't look like spam. I did a huge study comparing both and found Branch to be better.

One cool thing, they even handle desktop deep linking i.e. they enable users to send the app link as an SMS from a custom designed page that gets loaded if they click the link on a desktop machine.

Upvotes: 1

Sagar Chauhan
Sagar Chauhan

Reputation: 5823

User Firebase Dynamic Links which are match for your scenario.

As per firebase documentation:

With Dynamic Links, your users get the best available experience for the platform they open your link on. If a user opens a Dynamic Link on iOS or Android, they can be taken directly to the linked content in your native app. If a user opens the same Dynamic Link in a desktop browser, they can be taken to the equivalent content on your website.

Source: https://firebase.google.com/docs/dynamic-links

Upvotes: 3

Related Questions