GT2/Ejectable/navigation/LinkingConfiguration.ts

36 lines
703 B
TypeScript
Raw Normal View History

2021-08-16 07:50:50 +00:00
/**
* Learn more about deep linking with React Navigation
* https://reactnavigation.org/docs/deep-linking
* https://reactnavigation.org/docs/configuring-links
*/
import * as Linking from 'expo-linking';
export default {
prefixes: [Linking.makeUrl('/')],
config: {
screens: {
Root: {
screens: {
2021-08-17 22:00:09 +00:00
Splash: {
screens: {
2021-08-20 08:41:16 +00:00
SplashScreen: 'home',
2021-08-17 22:00:09 +00:00
},
},
2021-08-16 07:50:50 +00:00
Trip: {
screens: {
2021-08-20 08:41:16 +00:00
TripScreen: 'trip',
2021-08-16 07:50:50 +00:00
},
},
Settings: {
screens: {
2021-08-20 08:41:16 +00:00
SettingsScreen: 'settings',
2021-08-16 07:50:50 +00:00
},
},
},
},
NotFound: '*',
},
},
};