You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.
I'm currently working on test project and found that deep link with react-navigation will fail because Linking.makeUrl('/') is returning exp://192.168.1.../ and not http://192.168.1... .
Also, Linking.makeUrl('/') will return the url with current path, so it become useless I think.
ex: accessing http://192.168.1.116:19006/somepath will return prefix of exp://192.168.1.116:19006/somepath.
Because of these, react-navigation cannot retrieve path and always render root navigator.
In other words, if I directly set prefix to http://192.168.1.116:19006/ it is working.
@EAT-CODE-KITE-REPEAT Here is my current setup for SDK33 (non-alpha)
I used to use createAppContainer and createStackNavigator from react-navigation but since sdk33 released it was not working anymore. So I switched to use @react-navigation/core and @react-navigation/web.
It doesn't have createStackNavigator and Drawer support, so I'm using createSwitchNavigator and wrote own Drawer component. It seems like there are some minor issues, but basic behavior and deeplink is working.
Hi.
I'm currently working on test project and found that deep link with
react-navigation
will fail becauseLinking.makeUrl('/')
is returningexp://192.168.1.../
and nothttp://192.168.1...
.Also,
Linking.makeUrl('/')
will return the url with current path, so it become useless I think.ex: accessing
http://192.168.1.116:19006/somepath
will return prefix ofexp://192.168.1.116:19006/somepath
.Because of these,
react-navigation
cannot retrieve path and always render root navigator.In other words, if I directly set prefix to
http://192.168.1.116:19006/
it is working.Not working
(from Deep linking · React Navigation)
Working
I'm not sure if it's a right place to report, please let me know if there is a better repo for this matter.
By the way I was pretty surprised that expo with web configuration actually works well at this moment.
I'm looking forward to use SDK33.
The text was updated successfully, but these errors were encountered: