deep-linking
Owner : Nicolas Ngomai
What is deep linking?
Deeplinking permits you to register a custom URL Scheme in your phone so that when calling a url as myapp://mypath?param=value
the phone will open the app with the mypath?param=value
. In React Native, you can use the Linking Module
that handle the external links in your app. When calling a deeplink in your app, a 'url' event will be dispatch with the url associated.
How to implement?
Follow this guide from react navigation: https://reactnavigation.org/docs/guides/linking
For complementary information, you can consult Linking documentation : https://facebook.github.io/react-native/docs/linking.html
Troubleshooting
iOS
If you have Facebook SDK installed, a "application" function will already be implemented in your AppDelegate.m You will need to refactor the two methods as is:
Android
If you already have an intent-filter in your MainApplication, had a different one just beside
Last updated