Deep linking Facebook android / ios issue - android

I wan to create a deep link that opens the facebook app. But I noticed that the link is different from ios and android. iOS triggers fb://profile and android fb://page.
How can I manage that the app will open correctly on both devices?

Deep linking is supposed to be done for your own app. Even though you use anyone of those links you can open your own app when these links are fired in browser. Even you don't have control when that link is opened in browzer. i.e. User will be shown the number of options for opening that link for those apps who have registered for that link in their intent filter.
If you want to open facebook app then use Intents for that.

Related

Prevent android deep link from redirecting to playstore if app doesn't exist

I am working on a website for a product which also has an android application. I want to redirect the user from mobile web browser to the android application when a particular task is performed. I use a deep link of the format as below -
intent://#Intent;package=<PACKAGE_NAME>;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;scheme=https;end
The issue is that this link is redirecting user to playstore if app is not installed. I wanted user to stay on the web browser if app is not installed. How can we achieve that?
As of now, i tried replacing the intent with https to produce link of the format as below -
https://#Intent;package=<PACKAGE_NAME>;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;scheme=https;end
But it only works if I add the supported links from the app info, which has to be done manually. I am not sure if the fix for this is to be done in android on is there a way to handle this from the website?

This is regarding Android Applinks / Deeplinks issue from outlook-email

In our Hybrid Mobile(ionic-V3) application Applinks/Deeplinks is working fine from email clients such as gmail, yahoo etc. Where-in on click of the link we are getting the “disambiguation dialog / app chooser” to select the application to open the link.
But when we click on the same link from outlook-email it is directly opening in the browser , as any external links in Outlook e-mail route through safe links which in turn not allowing to do the deep linking to the APP.
Request you all to please let us know if any one came across the same issue and found solution.

Create an AppLink for existing Content that works in the Facebook App

I have existing content ( e.g. https://3doo.com/web/medium/details?mediaId=41c087be-2f4a-4ee6-8336-2d56a702fba8 )
For this content I have created meta tags according to the facebook metadata reference and AppLink documentation.
The AppLink works fine when opened on:
PC Browser
Android Browser
It does not work when opened in the Android Facebook app. A short notice pops up that says "There was a problem opening the app." and nothing else.
How Do I get my AppLink to work with the Android FB App?
To properly configure your Android Links to deeplink from Facebook, you need to properly configure Facebook App Links.
The easier option is to use a third-party like Branch's Android SDK that handles Facebook deep linking as well as linking from all of platforms in one packaged link.
So according to the metadata reference of facebook the "al:android:package" tag was optional, without explaining what about it is optional.
It is optional if you don't care about opening your app via deeplink from the facebook app. If the facebook app on Android should be able to start your Android App you have to provide the fully qualified classname of the activity to which the facebook app should redirect.

Redirect from Mozilla Firefox to Android app - Deep Linking

I use an intent filter to allow deep linking to an activity of my application.
Like in the example given below:
https://developer.android.com/training/app-indexing/deep-linking.html
The redirection to my app works fine with Google Chrome and the Android Browser but when i use Firefox, the problem is that Firefox launches a new instance of my app, instead of redirecting me to the already launched instance of the app. Moreover the new launhed app seems to be running through Firefox.
The senario is the following:
1) I launch my app. If the user has forgot his credentials i send him an email.
2) The user goes to his email app.
3) In the email i sent to the user, there is an account activation link which also redirects him back to the application.
What could be wrong with Firefox?
Thank you in advance!
According to This Post, Firefox implements a less invasive experience to the user. When an url is opened which has a deep link to an app, the url bar displays a page action with a little Android head. Clicking on this one will open the link with an Android activity other than a browser.
The behavior of the Android browser and Chrome you observed and made your expectation.

How do I write an Android intent for Chrome to open the GMail app and search?

It is possible to start an app and request some action from Chrome web-browser in Android:
Android Intents with Chrome - Google Chrome Mobile — Google Developers
https://developer.chrome.com/multidevice/android/intents
There is an example:
Take a QR code
I have tried to write something similar to start the GMail app. I have tried various versions, but all that happens is that the Google Play APP is opened showing GMail. Here is one attempt I have made:
Gmail, android.intention.action.VIEW
I would like to open the GMail app and do a search, but I can't even open it. ;-)
I suspect it can't be done. Gmail would have to be set to be "Browseable" which means it is able to be opened from the web and I don't see it in the manifest.

Categories

Resources