|
|
@ -26,22 +26,24 @@ export default function AuthNavigation() {
|
|
|
|
|
|
|
|
|
|
|
|
//@ts-ignore
|
|
|
|
//@ts-ignore
|
|
|
|
await dispatch(getRefreshToken())
|
|
|
|
await dispatch(getRefreshToken())
|
|
|
|
await SplashScreen.hideAsync();
|
|
|
|
if (appIsReady) {
|
|
|
|
|
|
|
|
console.log("++++++++++++++++++++++++++++++++++++++jsiuis con +++++++++++++++++++++++++++++3");
|
|
|
|
|
|
|
|
await SplashScreen.hideAsync();
|
|
|
|
|
|
|
|
} // await SplashScreen.hideAsync();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
prepare();
|
|
|
|
prepare();
|
|
|
|
}, [dispatch]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const onStackRootView = useCallback(async () => {
|
|
|
|
|
|
|
|
if (appIsReady) {
|
|
|
|
|
|
|
|
await SplashScreen.hideAsync();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}, [appIsReady]);
|
|
|
|
}, [appIsReady]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// const onStackRootView = useCallback(async () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// }, [appIsReady]);
|
|
|
|
|
|
|
|
|
|
|
|
if (appIsReady == false) {
|
|
|
|
if (appIsReady == false) {
|
|
|
|
console.log(appIsReady, "T9 AuthNav")
|
|
|
|
console.log(appIsReady, "T9 AuthNav")
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log(appIsReady, "k9 AuthNav")
|
|
|
|
console.log(appIsReady, "k9 AuthNav")
|
|
|
|
|
|
|
|
|
|
|
|
// console.log(userToken, "k9 AuthNav")
|
|
|
|
// console.log(userToken, "k9 AuthNav")
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<>
|
|
|
|