Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 17479

One URL scheme for both Ios and Android

$
0
0

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!


Viewing all articles
Browse latest Browse all 17479


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>