Please provide the following:
- SDK Version: 37
- Platforms(Android/iOS/web/all): Web
Try to configure deep-linking on the web. The URL looks good: http://localhost:19006/drop/1, but the “Drops” screen is loading and not the “Drop” screen. Any ideas why?
import { useLinking } from '@react-navigation/native';
import { Linking } from 'expo';
export default function(containerRef) {
return useLinking(containerRef, {
prefixes: [Linking.makeUrl('/')],
config: {
Root: {
path: 'root',
screens:{
Main: {
path: 'main',
screens: {
Home: {
path: 'home',
screens: {
Drops: 'drops',
Drop: 'drop/:counter'
}
},
Search: 'search',
},
}
}
}
},
});
}