I tried almost all the methods that displayed regarding the query and deeplinking, but none of them worked for me.
This is the type of the link which is to be opened from an android browser
"http://www.udmy.com/view?jb_id=J091107"
How can I start specific activity of my application passing "jb_id=J091107" if this URL is accessed from mobile browser?
Is it possible to get "jb_id=J091107" ?
I also want to open playstore link if app is not installed in phone.
Thanks in advance
Related
App not installed. Clicking to firebase dynamic link lead to browser and open web content.
I am using this dynamic link: https://market.page.link/?link=https://market.kz/cabinet
I followed this doc: https://firebase.google.com/docs/dynamic-links/create-manually
I tried specify afl and apn but it didnt help.
The reason seems not be under developpers control. I had this problem too because i was always testing with the same app when opening the firebase dynamic link (Skype mobile).
I could not tell you exactly which app are causing this problem, but i can tell you that if you open a firebase dynamic link using skype in your Android device (strangely, it works fine with iOs), it will redirect to your browser at the Google play page.
You should try using another mobile app and open the link and see if it works. I tried facebook messenger and telegram and it works fine.
See more here : https://github.com/firebase/flutterfire/issues/2828
I have a react-native application which use deep linking for Android.
Basically I have a working setup, which means that when im testing on a real device if I go to my website page displaying a link mapped by the AndroidManifest.xml, my app is correctly opening when clicking on the link. Same thing when I'm clicking the mapped link directly from Gmail app or Slack, everything works correctly.
However, when I'm going to my website page (which is displaying the mapped link) from the "embedded" Gmail or Slack browser and clicking on the link, the deep link doesn't work and it redirects on the web directly without asking to open the app first.
It seems a strange behaviour for me and after some research I wasn't able to find an explanation or a solution, so anyone have an idea on how to handle this ?
Thank you for your time.
I followed all the steps from both the articles mentioned below
https://hackernoon.com/react-native-deep-linking-for-ios-and-android-d33abfba7ef3
https://medium.com/react-native-training/deep-linking-your-react-native-app-d87c39a1ad5e
After the app gets installed on my phone, I tried opening the app from the browser by giving the URL as peopleapp://people/1 format. Instead of opening the app, the browser opens Google search to search for the above.
Any idea, how to solve this issue ?
Please note that I am using Android
Your issue is caused by the fact the deeplinks work differently on iOS and Android.
It is true that on iOS you can open a deeplink by typing the link into the browser and it will cause the app to open.
However, for Android to open a deeplink you need to one of three things as it will not open from typing the link into the browser.
Edit Configurations
The first method is picked exactly from the second tutorial that you mentioned. This is to use the Edit Configurations options in Android Studio.
That is all we need as far as configuration goes. To test this out, open Android Studio. Open Run -> Edit Configurations and change the launch options to URL, passing in the following url: peopleapp://people/1
Use a Weblink
The second option is to it from a URL that is embeded in a webpage. The URL should be embeded in an a tag using a href in the following way
click me
You then browse to the webpage and click the link. That should open the deeplink.
Deeplink Application
You can use a third party application from the play store that will allow you to open the deeplink. There are many to choose from. You can always give https://play.google.com/store/apps/details?id=com.manoj.dlt&hl=en_US a try it seems to have good reviews.
I am doing an automation of an android mobile app, there is a scenario where I am trying to use deeplink of where that deeplink should open the app in device and download some assets. As a process I am first opening my app and then I just login to the app then I am just doing driver.quit(); then I am opening the chrome app using appium and doing sendkeys() in url bar of chrome but this just opening the app as logged in but I din't find the assets downloaded. If the same thing I do manually I can see the assets are downloaded in the app.
ExampleCode:
chromeSearch2.sendKeys("myproduct.page.link/3CCjN8sdwPZAuhaf9");
TouchAction a2 = new TouchAction(driver);
a2.tap (350, 230).perform();
Also some can suggest different approach for this.
I got the answer after a lot of research.
Instead of the driver.quit() and then starting chrome with new driver I just changed the same driver from my app to chrome as
driver.startActivity("com.android.chrome", "com.google.android.apps.chrome.Main");
After doing this if I pass the deep link I am able to get the assets.
This I got in this one of the stackoverflow answer.
We are trying to get TeamViewer QuickSupport app to open on an android device using a deep link in a web page. Referring to android Chrome documentation we tried using this link:
intent:#Intent;scheme=http;package=com.teamviewer.quicksupport.market;end
in
Open support
But this opens google Play Store and redirects to TeamViewer QuickSupport (not a bad thing, but not what we are looking for) even if the app is installed. I know that I can open the app with that package name since I can open it in one of our native android apps.
Does anybody know if TeamViewer supports this or is there any other way to open an app on android using a web page? Nothing special needs to be done here, just open the main view of an app.
I tested this url and worked in my vue.js app. It directly opens the app if it is installed.
Open support