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

usePathname does not work with react native app #470

Closed
1 of 3 tasks
wongk opened this issue Apr 24, 2024 · 1 comment
Closed
1 of 3 tasks

usePathname does not work with react native app #470

wongk opened this issue Apr 24, 2024 · 1 comment

Comments

@wongk
Copy link

wongk commented Apr 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Do you want this issue prioritized?

  • Yes, I have sponsored
  • Not urgent

Current Behavior

The value returned by usePathname is always undefined with react native/expo. I see there is even a to do comment in the code: // TODO test this with react navigation and expo router. does it work?.

Expected Behavior

No response

Steps To Reproduce

No response

Versions

- Solito: 4.2.2
- Next.js: 13.5.6
- Expo: 50.0.14
- React Native: 0.73.6

Screenshots

No response

Reproduction

No response

@wongk
Copy link
Author

wongk commented Apr 24, 2024

Duplicate of #445.

@wongk wongk closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant