appcues / mobile-pattern-showcase-app

An Expo React Native app to showcase Appcues mobile patterns.
MIT License
1 stars 0 forks source link

Patch expo-router to filter SDK deep links #51

Closed mmaatttt closed 7 months ago

mmaatttt commented 7 months ago

From investigating https://github.com/appcues/appcues-react-native-module/issues/147, it turns out it's possible to do a one line patch to expo-router to avoid having Appcues SDK deep links be treated as routes to navigate to. Seems worthwhile to me and this PR provides a pattern for customers who face the same issue.

For context if you're unfamiliar, patch-package is a popular package for applying patches. The "postinstall": "patch-package", ensures the patch is applied.