Expo React Native: глубокая ссылка для просмотра без панели навигации - PullRequest
0 голосов
/ 29 мая 2020

Я только что закончил привязывать свое собственное приложение expo react Когда я связываюсь с вложенным компонентом, панель навигации не отображается.

Для навигации я использую: response-navigation

<View uriPrefix={uriPrefix} style={styles.container}>
        {Platform.OS === 'ios' && <StatusBar barStyle="default" />}
        <NavigationContainer linking={linking} ref={containerRef} initialState={initialNavigationState}>
          <Stack.Navigator>
            <Stack.Screen name="Root" component={BottomTabNavigator} />
            <Stack.Screen
                name="Impressum"
                component={Impressum}
                path={'impressum/'}
                options={{
                  title: 'Legal Notice',
                  headerStyle: { backgroundColor: '#f2637e' },
                  headerTitleStyle: { color: '#fff', fontFamily: 'm-plus-rounded-1c__bold' },
                }}

            />
            <Stack.Screen
                name="Listen"
                component={Listen}
            />
            <Stack.Screen
                name="Record"
                component={Record}
            />
          </Stack.Navigator>
        </NavigationContainer>
      </View>

для глубоких ссылок: Linking (expo)

const uriPrefix = Linking.makeUrl("/");
  Linking.makeUrl('/');
  Linking.makeUrl('listen');
  Linking.makeUrl('record');

Что я могу сделать, чтобы мой наббер отображался во вложенных компонентах?

...