Accessing SecureStore or AsncStorage data Android (Java)

#1

Hi, I am currently trying to access data that is being stored in storage on the JS side. The storage type that I am using is SecureStore, but this is giving me problems at the moment, so I moved to AsyncStorage for the time being (With the idea being to go back to SecureStore once I sort out the issues).

Can anyone please assist me with a way that I will be able to access the SecureStore and AsyncStorage on the Native side for android (Java) ?

I have been searching online for an answer, but I am struggling to find an answer.

Thanks in advance.

#2

If you detached, you probably want to do something like write your own native module. I’m not aware of an easy way to access AsyncStorage things from native code. You could look at the source code though and maybe figure it out.

For SecureStore, it sounds like there might be a way? Based on the docs here. https://docs.expo.io/versions/latest/sdk/securestore

source code for SecureStore:

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.