Use case: send email to users that currently don’t have the app installed. The email shall contain two links for Google (Android devices) and Apple (for iPhone). When the user taps on the link, launch Google play or Apple store app on the phone pointing to the app so that the user can download.
Is this functionality be implemented by Firebase Dynamic Links? We support Android KitKat and above. What is the minimum OS the user will need?
Sai, the use-case you describing is the reason why Firebase Dynamic Links exists. It does not matter how you get your link to the hands of the customers/users. You can use FDL in emails, SMS, iMessage, Facebook, Twiter etc.
You do not need to specify two links. One Firebase Dynamic Link will work on both Android and iOS. If App is not installed, the link will navigate to AppStore or PlayStore. If App is installed, the link will open the App with deep link.
If opened on desktop, the link will navigate to deep link itself. Also check out "dfl" Desktop fallback link parameter for desktop behavior.
Firebase Dynamic Links on Android supported Ice Cream Sandwich and newer. KitKat is supported by FDL.
Related
Tell me if branch io supports fallback to AppGallery on Huawei devices without Google Play services? Now on such a device, a browser opens for me, and redirects to Google Play page of my app. Device - Huawei P40 Lite E Android 10.
By documentation branch io supports such market: https://help.branch.io/using-branch/docs/creating-a-deep-link#default-link-behavior
But there isn't any property to configure such function on branch io dashboard.
How can I check fallbacks on Huawei devices? How do I configure this functionality?
Here is my configuration:
I recommend using App Linking. The Unified Linking function allows you to configure links on the AppGallery and Google Play details pages at the same time. Different phones can automatically switch to the corresponding app store.
https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-applinking-unifiedlinking-0000001070790553
There is Branch io support answer:
Thank you for contacting Branch Support.
Branch links will open the default app store on the device. On devices
where Huawei App Gallery is the default app store it will be opened to
download the app.
If you want to try opening the Huwaei app market even when there is a
different default app store, you can try entering the App link in the
format https://appmarket://details?id=com.xx.xx
Once the app is installed there is no change in the functionality due
to the source of app install.
UPD 08.02.2021 second answer:
They are two methods on how to use a single link which works on both
Google Play Store and Huawei App Gallery
Method 1 -
Set the Custom URL to point to your app on the Huawei App Gallery, on
the Configuration page. And set the $android_url parameter for all
links to the app on Google Play Store.
In this case on Huawei devices the link will redirect the users to the
Huawei App Gallery when the app is not installed. And on other Android
devices as the link will not be available, the fallback url set by
$android_url will kick in, opening the Google Play Store.
Method 2 -
Choose your app from the Google Play Store on the Configuration page.
If you have any specific links targeting Huawei users, then change the
Default Redirect for those links to the Web URL of your app on the
Huawei App Gallery.
Do let me know if this helps.
UPD 09.02.2021
On the link kindly use the Default Redirect for Android as well.
The default in this case would be the Huawei App Gallery link to your
app.
On the link data page can you add key - $fallback_url
value - The play store link to your app
After making the changes on the link, please test the link on both
Android and Huawei devices at least after an hour or two as the link
level changes sometimes take a while to reflect.
UPD 07.04.2021
We had another round of discussion with the Product team on this
issue, and they mentioned that the fallback to Huawei app gallery is
not supported anymore.
They have not provided us with the exact details, but they seem to
have been changes on the OS level on Huawei devices which has broken
the functionality and which we have been unable to fix due to certain
limitations.
Unfortunately this flow is not supported at the moment.
I do apologise for any impact this might have on your link, but it
does look like we do not have any solutions for this matter at the
moment.
You can refer to the following:
The typical link format of the application details page on Huawei AppGallery is:
https://appgallery.cloud.huawei.com/appDetail? pkgName=packagename&channelId=channelid&referrer=referrer&detailType=0&calltype=AGDLINK
Parameter description:
Packagename: required, the package name to be popularized and applied, such as com.huawei.gamebox ..
Channelid: It is recommended to fill in. To improve the channel identification degree of data analysis, it is recommended to fill in the designated identification number for each channel. If it is not filled in, the system will automatically read the package name of the source media, but the package name cannot be obtained by jumping through the webpage or offline QR code.
Referrer: not required; if not, it will be blank by default. This parameter refers to the secondary channel number. When links are posted on multiple pages (scenes) of the same media, the specific location effect of the media can be identified by the secondary channel number.
DetailType=0&calltype=AGDLINK: basic parameter, which cannot be deleted.
I'm creating an app with a friend that uses the Facebook API - He's handling the iOS version while I'm doing the Android version.
Facebook's v2.0 API introduced "App-scoped User IDs" which means the user ids are unique to each app. Does this count for our situation, where the app is the same over different platforms?
I've look around but can't find any definite answers and don't have an iOS dev workstation setup to test this myself.
The apps are linked with the same AppID so I suspect it might be fine. Can anyone confirm this for me?
There is an application that I have developed in iOS and Android.
A Facebook Share is done from within the application, and appears on the user's news feed.
I want to link the news feed with the respective links in Android play store, and iOS app store. Based on the user's device the appropriate link be shown.
Is this possible ? Deep linking, does not seem to solve this problem.
Example:
From the android/iOS application, app-user Shares "I just used this
awesome app".
It appears on his friends' news feed with this link pointed
SOMEWHERE.
I want to point this SOMEWHERE to the Android play store/iOS app store, depending on the device, from which user is ccessing facebook.
If the user is an iPhone user, the news feed link would point it to the APP STORE,
else if he is Android user, he is shown Play Store.
it definitely is possible but you will have to use the facebook sdk:
https://developers.facebook.com/docs/howtos/androidsdk/3.0/link-to-your-native-app/
hope this helps
I have a website which has links that sends people to the app store and google play to download my app.
But regular links just go to the website. How can I change it so that if people are on mobile devices, the link opens the app store or google play for them?
Thanks,
Alex
I used onelink.to and it's working great so far, it generates a QRcode as well.
For Android apps, you can just link to the Google play store directly. The Android OS will prompt the user if they want to open the link in their browser or open the link in the Google Play store app as soon as they click on it. Any http://play.google.com?id=* link will prompt the user in this way on an Android device.
If you've got an Android phone, just give it a try with this link to the Facebook app for Android
For iPhone, check out this answer that is very complete for what you want to do.
You can use http://toSto.re to redirect people to the right app store or your website depending on the user agent the users have set.
URLs like toSto.re/dawawas can be configured easily there.
Is there any solution for Android devices similar to the iOS 6 smart app banner?
Here is the code for smart app banner
<meta name="apple-itunes-app" content="app-id=311507490, affiliate-data=partnerId=30&siteID=k1CkFsOh4nQ"/>
Since Chrome 44 Beta you can push your app in Chrome for Android with
a native app install banner on your website.
Please see the answer below.
Old answer
I needed that myself, so I created a jquery plugin to mimic a smart banner for Android and older iOS versions.
http://jasny.github.com/jquery.smartbanner/#android
Since Chrome 44 Beta you can push your app in Chrome for Android with a native app install banner on your website. There are a couple of criteria that need to be met in order to enable it:
You will need a web app manifest file
You will have to serve your web using https
The user has visited your site twice over two separate days during the course of two weeks.
Read more about it in the official docs from Google.
You add the Google Sign-In button to your page with a special parameter and then users can sign in and specify which device to install your app to directly from your website.
This is the most "officially supported" implementation I know of:
https://developers.google.com/identity/sign-in/web/android-app-installs
From the link:
By adding the Google Sign-In button to your web site, you can automatically prompt your users to download your Android app over the air to their Android devices. 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. This feature is enabled by adding the apppackagename parameter to your sign-in button.
There are two APIs available:
To detect if the app is already installed use getInstalledRelatedApps (only for Chrome 80+)
Article with general information: https://web.dev/get-installed-related-apps/
Docs and demo (web+app) with code https://www.chromestatus.com/feature/5695378309513216
Show a prompt to install your app
Article with code samples: https://web.dev/customize-install/
Documentation: https://developers.google.com/web/fundamentals/app-install-banners/native