-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unmatched Route" in brand new example app after expo prebuild
#457
Comments
expo-development-client doesn't support deep linking, workaround coming soon |
This issue also happens on Expo for Web. Worked yesterday, When I started coding today, first thing that happened is the UnMatched Route. No deeplinking, just a simple route from page a to b Edit: |
happened to me. i had renamed my entry file to a custom name, thus showing the error. reverting this fixed the issue. ie the very first file or entry screen in your app should be index.js/ts and not a custom name |
i dont know if this is the solution but this is a simple hack |
Man you really saved my day . |
I couldnt thank you more... The official tutorial https://docs.expo.dev/router/advanced/modals/ has zero mention of that, and I was turning around for hours... |
Summary
Hello! I see the attached screen for a fresh install.
Immediately after
expo prebuild
, I notice that the app was opened using:which maybe the Router doesn't understand?
Minimal reproducible example
Create new app:
npx create-expo-app@latest --example with-router # name: example-router-app
Resulting package.json
✅ Works fine if I run using Expo Go:
cd example-router-app npm run ios
In the app, tap
touch app/index.js
and router works fine.❌ However, the pre-built app shows the Unmatched Route error:
Get the error above.
The text was updated successfully, but these errors were encountered: