Ask for help for react-navigation-related users

problem description

use react-navigation as the route, but I need to intercept the route through whether there is a token, not to authenticate at first

related codes

/ / Please paste the code text below (do not replace the code with pictures)
const AppTabNavigator = createBottomTabNavigator ({

)
Information: {
    screen: Information,
},
Quotation: {
    screen: Quotation,//tokentoken
},
QRcode: {
    screen: QRcode,
    navigationOptions:{
        tabBarVisible:false
    }
},
Resource: {
    screen: Resource,
},
My: {
    screen: My,
}

}, {})
the bosses give me an idea. Baidu has not found anyone to achieve similar needs for a long time, and the official documents are confused.

Menu