我已经试过了这张截图中推荐的通过在我从import AsyncStorage from '../../../node_modules/@react-native-community/async-storage';导入async-storage的文件中使用这一行代码,但是这个路径没有得到解决,也就是说,这个目录中不存在
我使用react原生应用程序的方法来填充对象数组: getArticlesCategoryStrogae= () => { global.arrayOfCategory=[];getMenusideGategory().then((data)=> //some code to fill the array
AsyncStorage.setItem我想用AsyncStorage存储它。AsyncStorage.getItem(