Expo.SecureStore.deleteItemAsync Android


#1

Hi,

I’m using:

Expo.SecureStore.deleteItemAsync(‘key’)

and after migrate to version 32 of Expo, stoped working in Android device but in iPhone works without any problem.
Anyone has this type of error?

Regards,


#2

Hey @telmotomas,

How are you importing SecureStore?

Cheers,

Adam


#3

Hi @adamjnav,

Yes, I’m importing SecureStore
With Expo client in iPhone device works well.

Regards,

Telmo


#4

I asked how you were, not if you were importing it :stuck_out_tongue_winking_eye:

On SDK32, you can no longer use Expo.SecureStore unless your import statement is import * as Expo from 'expo'. If you are not doing that, you’ll have to use import {SecureStore} from 'expo'.


#5

@adamjnav

After replace everything to import * as Expo from ‘expo’ starting working with any issue.
Thank you so much.

Regards,

Telmo


closed #6

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