How Expo Router Enables Universal Invite Links for Web and iOS Apps
A developer building a club management app implemented Universal Links to allow a single invite URL to open either the iOS app or a web page depending on whether the app is installed. Using Expo Router, the invite screen was created as a dynamic route that extracts the organization ID directly from the URL. The setup required serving an Apple App Site Association (AASA) file from the web domain and configuring associated domains in the Expo app config for both production and development environments. While Expo Router made the in-app routing straightforward, correctly associating the domain with iOS through AASA and signed builds proved to be the most time-intensive part of the process. The developer also noted that custom URL schemes were avoided for shared invite links due to security concerns around scheme hijacking by third-party apps.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in