David He
David He
场景是登录成功后保存token,然后用token去获取用户其他数据,但是后续拿到的token总是空的,多次重新登录都不行,除非重新安装应用。 测试环境从来没遇到,生产上Android、iPhone、iPad都遇到过,看代码没看出问题,很难复现。 依赖: ```json "react-native": "0.72.3", "react-native-storage": "^1.0.1", "@react-native-async-storage/async-storage": "^1.19.2", ``` 代码: ```javascript //import import AsyncStorage from '@react-native-async-storage/async-storage'; import Storage from 'react-native-storage'; //storage声明和配置 var storage = new Storage({ size: 1000,...
 ## Description There seems to be an issue with the `removeItem` function in our storage system, specifically with entries formatted as `key_id`. After invoking `removeItem`, some of these entries...