Skip to content
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

iOS doesn't find certain routes (for instance '_sitemap') #717

Open
jmatsushita opened this issue Jul 1, 2023 · 1 comment
Open

iOS doesn't find certain routes (for instance '_sitemap') #717

jmatsushita opened this issue Jul 1, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@jmatsushita
Copy link

Which package manager are you using? (Yarn is recommended)

yarn

Summary

Some routes aren't found on iOS while they work on web and android.

For instance _sitemap doesn't work (either with a <Link> or a router.push().

Links also seem to not load on iOS when using shared routes.

Minimal reproducible example

Tested with [email protected] and [email protected]

For instance, /message works:

app/
  _layout.js 
  (home)
    _layout.js
    home.js
    message.js

but on iOS this doesn't (but works on web and android)

app/
  _layout.js 
  (home)
    _layout.js
    home.js
  message
    index.js

and neither does this

app/
  _layout.js 
  (home)
    _layout.js
    home.js
  (message)
    message.js
@EvanBacon
Copy link
Contributor

Provide a repro, it's unclear what's inside the layout files, where the navigation event is firing from, etc.

@EvanBacon EvanBacon added the invalid This doesn't seem right label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants