我正在尝试处理安卓上的后退按钮,因为我的React Native应用程序在根screen...Is的后退按钮上有自定义逻辑,任何像Navigation.getCurrentRoutes()这样的方法都可以这样做} return false; // will execute the native back press (and exit the app)
} “反应-本机导航
我是react native的新手,我正在遵循有关auth flow的官方react导航文档中的本教程。https://reactnavigation.org/docs/en/auth-flow.html 他们有一个非常好的实例:https://snack.expo.io/@react-navigation/auth-flow-v3 登录后,当您单击Show me more of the app from the home scree