SecureStore causing the error "User interaction is not allowed"

Please provide the following:

  1. SDK Version: 42.0
  2. Platforms(Android/iOS/web/all): iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I’m storing an API Token in the phones secure storage using the SecureStore API. Sometimes when the app is opened after the phone has been unlocked and I try and grab the token from secure storage, the SecureStore.getItemAsync api will throw an error with the message “User interaction is not allowed”. I would expect this error to happen when the phone is in a locked state. I’m using the keychainAccessible value of SecureStore.WHEN_UNLOCKED_THIS_DEVICE_ONLY.

Has anyone else run into this issue before?

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