Html: Open ios application by href link - android

I use below code for android and work fine :
href='intent://name.com#Intent;scheme=http;package=com.name.app;S.POSITION=handle;end'
But for ios i can't find href solution

Please refer below flow of ios and web for implementing this in IOS.
IOS ::In Info.plist add a URL Types for example "SomeIdentification". (you can add hostname of your site)
WEB :: Your app will now open when you strike "SomeIdentification://" in safari. If you are using any other link then you need to detect ios devcie and trigger "SomeIdentification://" onclick of URL.
For more detail of ios you can refer

Related

One URL scheme for both Ios and Android

So I am in the mids of inplementing url-schemes in my app (React-native and for both Android and Ios) but I am having some trouble with the html implementation of the url schemes.
I figured out that for android you have to use:
<a href="intent://Something/#Intent;scheme=SomeApp;package=com.SomeApp;end">
But for IOS only this link works: <a href="SomeApp://Something">
Is there a way to allow both the android and IOS app to use the same link to open the app? I figured that it's quite common to ask that but I couldn't find any resource on the internet that was usefull for this. I could try to make some JS code to try both the links but that's not really a pretty solution (Android doesn't respond to the IOS link so I can run that one first and then the Android link after that)
Any help would be appreciated!

Deep link not appearing as a clickable link in an email on Android

I have tried two ways to send a deep link to an android phone by email:
Open my app
and
mycoolapp://somepath
Neither of these produces a clickable link when the email is viewed on an Android phone. The first (which was the way recommended by the ionic plugin I use) just shows the raw html.
Is there a way to make the deep link clickable in the same way that a url is?
Some email clients do not like abnormal protocol and they remove links from href attribute. When you inspect, you can see that a element is still there, but href is missing.
The workaround for this is to use normal url and redirect from there like proxy eg.
https://example.com?url=mycoolapp://somepath

XDK - open link in browser without using Cordova

I want you to open a link in my app via browser not in Appview. I ma making my html5 mobile app via xdk. I don't want to use cordova in my app as my app is heavy enogh and don't want to make it heavier because of just one link.
I saw this :
www.kidzout.com
But the problem is I must install Cordova InAppBrowser plugin for this to work. Do you have any solution without using Cordova or external plugins? Do you think is it possible at all?
You can open a link in the native browser(Mobile Safari, Android, etc.) from within a HTML5 Mobile app using the intel.xdk API formerly AppMobi.
In the head, include a reference to the intelxdk.js file.
<script src="intelxdk.js"></script>
Use this for opening your link:
Launch in Browser
For more information, go to http://www.html5dev-software.intel.com/documentation/jsAPI/device/launchExternal/index.html
If you are opening a remote URL in your webview and adding javascript is not an option, you can make a patch in native code.
Here I show the workaround for Android:
https://stackoverflow.com/a/35037737/813951

Android Deeplink in Mandrill Template

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!

Open a link in the default browser of a system with cordova 3 and jquery mobile

Hi I'm working around with jquery mobile and cordova 3 on a android device.
Everything works great except that I can't open links in the default browser or for example the maps application.
I can open it with a inappbrowser plugin but I dont want to do that. I just want to open the links to websites with the default browser.
I tried many things like here:
Opening Link in System Browser in PhoneGap 3.3 on Android
Open Links in Default Browser using Phonegap/Cordova
But I saw that the answers are showing the solution with the inappbrowser which I dont want.
How can I solve this?
Thanks for any help
For Android OS use following code.
navigator.app.loadUrl("http://google.com", {openExternal : true});
or through inline JavaScript:
<a onclick="navigator.app.loadUrl('https://google.com/', { openExternal:true });">Link</a>
It will NOT work with iOS, also, I don't know, if currently exist a solution for iOS, that don't require inappbrowser.

Categories

Resources