3
votes

How to get deep linking url using react native expo? I tried as per Expo documentation https://docs.expo.io/versions/latest/guides/linking.html#handling-urls-in-your-app using scheme but it is not working for android.

app.json =>

{ "expo": { "scheme": "myapp" } } Thanks!

2

2 Answers

2
votes

It works if you click on a html link like :

<a href="myapp://">Link to your app</a>

Indeed in the production environnement (not in the dev one) your user click on a link on the Internet. So no problems !

You need also to add this to your app.json

{ "expo": { "scheme": "myapp" } } 
0
votes

In fact, there is a known and open issue with Android. Take a look: https://github.com/expo/expo/issues/765