I am trying to put an android deeplink my mobile developer gave me in a mandrill email template:
the deep link he gave me is:
intent://products/?batch=1#Intent;scheme=productstore;package=com.productmakers.store;end
What is the proper syntax for embedding this in an template? Ive tried:
"intent://products/?batch=1#Intent;scheme=productstore;package=com.productmakers.store;end"
<a>intent://products/?batch=1#Intent;scheme=productstore;package=com.productmakers.store;end</a>
<a>"intent://products/?batch=1#Intent;scheme=productstore;package=com.productmakers.store;end"</a>
Are you sure the emails you send out will be opened on Android devices only? Those deeplinks will not resolve on other devices.
The specific syntax of links you're trying work on Chrome Version 25+. https://developer.chrome.com/multidevice/android/intents
I recommend using http://urx.com/documentation to redirect customers to the best possible place to consume your content. It works provided the link you're sharing has the required meta-tags.
Use it like
window.location = 'intent://products/?batch=1#Intent;scheme=productstore;package=com.productmakers.store;end'
or
link text
I hope this answers your question!
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 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/
I am trying to create a deep link that will redirect from a url I post on facebook into my android app and I noticed there is something in facebook api called App Links in this link : https://developers.facebook.com/docs/applinks/ but for some reason their docs has been removed and I have not found any possible way to achieve that...
How can I make a deep link from facebook into a specific page in my android app?
Weird that they took it down. Basically you need to implement HTML tags in your web page the link points to. Also you must have URI scheme implemented in your app.
Until the page comes back up I suggest you use their debug site:
https://developers.facebook.com/tools/debug/
You can scrape this test link got reference:
https://onelink-sim.onelink.me/coiD/simbananas
I want to launch whatsapp from my hybrid application using phonegap. I went through the whatsapp url schemas.It is working fine with iOS . Here is the schema is used for iOS:
href = "whatsapp://send?abid=123&text=hello"
reference from :
http://www.whatsapp.com/faq/en/iphone/23559013
As described abid is address book id. If I give correct abid the application redirect to the particular contact.
But as per my reading abid is not possible in android . Currently I am using url with out abid which redirects the application to the recent chats. so is there any way to redirect the application to the particular contact ?
For Android, use Webintent plugin
EDIT
See whatsapp phonegap plugin.
iOS supports a generic URL scheme for whatsapp ("whatsapp://send?abid=").
However on Android the URL scheme is currently not supported.
This plugin implements the send-via-whatsapp functionality on Android.
Two recent solutions (July 2017)
There's been many changes in that need lately but finally after years I've found, tested and refered two new different solutions that should work with any device (one is official). I've mentioned them in THIS OTHER ANSWER (because S.O. policies I had to put a link to the solution, no duplicates).
I did a Google search for opening spotify URLs/URIs on native app, and found the following URI scheme to open the links in the native app.
spotify://spotify:artist:12Chz98pHFMPJEknJQMWvI
This above link seems to be working fine on ios devices, but i am not able to open this on android device(HTC One). Any suggestions ?
Have you tried entering just the spotify:artist:12Chz98pHFMPJEknJQMWvI in android. I believe the spotify:// may be directing it towards the app, but i think android directs its apps with a different command. Also, just in case it is the same for android, you need to have the app installed on your phone if you dont already have it for the directing command to work properly.
android refer this link
ios refer this link
some reference from above link
have run into a similar need in an app. My solution was to create a client that hits the Spotify API to return either XML or JSON of the search. For instance, if you want Muse, you would hit the API with the following URL:
http://ws.spotify.com/search/1/artist?q=muse
From the XML or JSON, you'll be able to extract the link to the particular artist within their URL scheme:
spotify:artist:12Chz98pHFMPJEknJQMWvI
Chop off the spotify:artist: portion and append that onto a Spotify artist link:
http://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI
Then, using the Spotify URL scheme and UIApplication, you can open the Spotify app to that particular artist's page:
[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:
#"spotify://http://open.spotify.com/artist/12Chz98pHFMPJEknJQMWvI"]];
Note, using URL schemes to access features of another app is generally undocumented and can be a fragile endeavor. If Spotify in the future decides to change anything about this, it will break this functionality without warning.
The quick fix I made was to directly call the uri with any modification on the original uri.
which is 'spotify:artist:4gzpq5DPGxSnKTe4SA8HAU' or 'spotify:track:1dNIEtp7AY3oDAKCGg2XkH'