Facebook action button link for iOS and Android - android

I am creating a Facebook for an app which is supported on both iOS and Android. While introducing the action button the Facebook post, the option is to provide only one link. How can I allow the click on the button to direct to Apple iTunes or Google Playstore depending on the mobile on which the button was clicked? I did try to do some search in regards to this and there are some discussions on deep linking which i don't fully understand. Is there a simple way achieve without having to modify anything on app?

Found the below website for creating short link which can direct to Apple iTunes or Android Playstore
tosto.re

Related

How to make a flutter app to be open with a custom URL?

I am working on a flutter app. We see that some apps like Facebook opens on clicking on the default domain name. Default apps for some domain names.
For example, clicking on facebook.com/foo opens the Fb application. How can we enable this in a flutter app? What is basic working happens there? Is there any code needed to make it happen on a flutter app?
you can use App-link / deeplink in your app to launch from a link .
App Link, Uni Link and deep link will help you a lot .
basically you have to analyse you requirements because you can achieve this by dynamic link, deep link and app link and these all look same but have their own functionalities so choose wisely which one is best for you.
you can use firebase dynamic link check this link
https://firebase.flutter.dev/docs/dynamic-links/overview/

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?
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
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.

Differed deep link android

I am developing an e-commerce android app I have a product page in my application. I want to implement share functionality in my app so if anyone share product the unique should be generated and specific should be opened only. I have referred some sites like a branch but are not find fully demo so anyone that can give the reference that will be helpful
Use firebase dynamic link. It is very useful. If app is not installed, it will take the user to playstore link of your app. If installed then it will take the user to your desired activity based on your deeplink/dynamic link.. here is the link https://firebase.google.com/docs/dynamic-links/?gclid=EAIaIQobChMI5tip9-S_4QIVjo6PCh3S5wWoEAAYASABEgKaivD_BwE.

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password.
In that case user will receive link on e-mail, and i want by clicking on that link, my flutter app will open, and route to specific screen.
You'll want to view this from the perspective of: How do I open my iOS/Android app from a URL, ie. App Deep Linking.
They each have their own respective implementations:
android/app-links
apple/allowing_apps_and_websites_to_link_to_your_content
Or you can go with more comprehensive SDKs that are capable of doing both for you:
Firebase Dynamic Links
Branch.io Deep Linking
There is a nice plugin for this,
https://github.com/avioli/uni_links
it also has a detailed explanation on how you need to configure iOS and Android for it to work (which is the hardest part imho); another nice source of information is this blog post
So here , you must use a dynamic link.
The best solution is the use of Firebase Dynamic Links .
One of the advantages of Firebase Dynamic Links: Convert mobile web users to native app users
With Dynamic Links, you can seamlessly transition users from your
mobile website to the equivalent content within your app. And because
the links survive the app install process, even new users can pick up
where they left off on your mobile site without missing a beat.
Another solution is to switch to native solutions: Android and iOS.
You can use app_links, that supports Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler (desktop included) for Android, iOS, macOS, web and Windows.

Get referring url for Android or iOS installation

We have several landing pages that link to Google Play and iOS App Store. I would love to know the landing page that a person came from within the app code. I have searched around and can't find any clear answer. Lots of gray area.
I just want to access the landing page URL in Java or Swift.
I realize iOS and Android are two separate beasts. But does anyone know how I could achieve this?
You will need to use Firebase Dynamic Links this helps you create various links using various alternatives as shown in this quote from the official Firebase source:
You create a Dynamic Link either by using the Firebase console, using a REST API, iOS or Android Builder API, or by forming a URL by adding Dynamic Link parameters to a domain specific to your app.
Then your app can access the link in code using Java or Swift and the link will work even if the user has your app already in their phone and you can set a logic to handle that too and the links are also automatically direct the user to AppStore or PlayStore depending on which device is used.
Dont worry about whether the link will work for both Android and iOS and you can use the api to access the link as this quote says.
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.
In addition, Dynamic Links work across app installs: if a user opens a Dynamic Link on iOS or Android and doesn't have your app installed, the user can be prompted to install it; then, after installation, your app starts and can access the link.
You can get more information on dynamic links here and check if it will solve your problem.

Categories

Resources