Listening to application URLs in React Native
One great feature of mobile platforms is deep linking into your application from custom URLs, using custom URL schemes. We wanted this for the React Native Playground iOS app, to share applications easily from any medium, like emails or tweets, using the rnplay:// scheme.
Fortunately, React Native bundles a library to handle incoming requests via URL schemes. Let’s get to it!
- Define our URL scheme in XCode
- Modify AppDelegate.m to pass incoming requests to React Native