当应用程序启动时,我试图验证用户登录令牌,如果令牌过期,应用程序应该将用户重定向到登录屏幕,并且重定向到主屏幕的令牌仍然有效。import PropTypes from 'prop-types';
import { AsyncStorage,ActivityIndicator } from 'react</e
我使用'worklet';和runOnUI(),然后得到下面的错误。因为我使用'worklet';,所以我添加了import 'react-native-reanimated'
因为我也使用runOnUI,所以我添加了import {runOnUI} from 'react-native-animatedcan also happen when the JS bundle is co