Please provide the following:
- SDK Version: 42.0
- Platforms(Android/iOS/web/all): iOS
- 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?