Universal Links with React Native (iOS)

Introduction

Basic Setup

Site Association

{
"applinks": {
"apps": [],
"details": [
{
"appID": "<TEAM_IDENTIFIER>.com.awesome.app",
"paths": [
"/*/localized/wildcard/route/*",
"/wildcard/route/*",
"/*/localized/route",
"/static/route"
]
}
]
}
}

App Entitlements

Application Launch Code Hooks

Gotcha 1: Serving HTTPS over localhost

Gotcha 2: Universal Link source and format

Gotcha 3: app-links caching

Handling Universal Links from Within React Native

Short Version:

Long Version:

Conclusion

Full sack engineer with an ethic of “do more with less”. Avid gardener and creator of Plenti (plenti.dev)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store