I am able to listen and handle incoming links on IOS with react-native using the linking library: https://facebook.github.io/react-native/docs/linking.html, but it shows the fun
I just got it working! You just have to follow these instructions.
Basically, add an
under the existing one of your android/app/src/main/AndroidManifest.xml
, containing the VIEW
action, the DEFAULT
and BROWSABLE
categories, and at least a .
Then simply rebuild and reinstall your APK (react-native run-android
), that's it! Links matching your tags will now open in your app!
Now just catch this URL with Linking.getInitialURL() in the componentDidMount()
of your main Javascript class!
Example of manifest: