我使用AsyncStorage来存储和检索应用程序中的一些信息(如名称、电子邮件)。如何在AsyncStorage中设置/获取值?我使用以下代码:export async function setItem(key, value) { var data = await AsyncStorage.setItemvalue);}
try {
var item = awa
我已经看过了asyncStorage上的文档,但不明白为什么它不保存我的数据。我使用的是Laravel for API和Vue native(react-native的包装器)。当用户注册时,我传递以这种方式生成的令牌 import AsyncStorage from '@react-native-async-storage/async-storage';handleRegisterconsole.log(response.data);
async