How to read from AsyncStorage in native code (Java, ObjectiveC/Swift) How to read from AsyncStorage in native code (Java, ObjectiveC/Swift) android android

How to read from AsyncStorage in native code (Java, ObjectiveC/Swift)


If you meant this one: https://reactnative.dev/docs/asyncstorage then, it's deprecated. I recommended react-native-default-preference: https://github.com/kevinresol/react-native-default-preference

On Android, it used SharedPreference, so if you use the same preference name. You should able to read it on Android native code


You are going to need to configure the react-native bridge. Here is a good link that should help you understand and configure the bridge.