Skip to content

Any ideas of how to customise Incoming Deep Links in this RFC? #245

Answered by AlvSovereign
AlvSovereign asked this question in Q&A
Discussion options

You must be logged in to vote

I ended up patching the Linking config to resolve this:

diff --git a/node_modules/expo-router/build/getLinkingConfig.js b/node_modules/expo-router/build/getLinkingConfig.js
index 19f1cdb..612299a 100644
--- a/node_modules/expo-router/build/getLinkingConfig.js
+++ b/node_modules/expo-router/build/getLinkingConfig.js
@@ -63,7 +63,19 @@ export function getLinkingConfig(routes) {
         config: {
             // @ts-expect-error
             initialRouteName: routes.initialRouteName,
-            screens: getReactNavigationScreensConfig(routes.children),
+            // START OF PATCH
+            screens: {
+                ...getReactNavigationScreensConfig(routes.children),
+            …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlvSovereign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant