Jea*_*ent 7 android ios react-native
我需要使用JS代码中的AsyncStorage将数据保存在本地存储中.
我想知道是否有办法从本机代码(Objective-C或Java)访问从AsyncStorage存储的数据.
谢谢!
如果导入RCTAsyncLocalStorage.h,可以致电_getValueForKey:https://github.com/facebook/react-native/blob/master/React/Modules/RCTAsyncLocalStorage.m#L266
| 归档时间: |
|
| 查看次数: |
1574 次 |
| 最近记录: |