SecureStore requireAuthentication -> requires auth on save AND retrieval

Please provide the following:

  1. SDK Version: 48.0.18
  2. Platforms(Android/iOS/web/all): iOS/Android
  3. expo-secure-store

Not sure why this closed issue from last year didn’t get any activity: Problems Using `requireAuthentication` with expo-secure-store but I am encountering the same issue.

It’s pretty annoying that SecureStore requires authentication both when SAVING and RETRIEVING a value when requireAuthentication is set to true. It makes it such that if you are saving and then immediately retrieving a value (as is often the case with things like refresh tokens and access tokens for authorizing API requests), the application will ask for the user’s face ID or passcode twice in a row. Is there no way around this when using SecureStore?

@expo just bumping this to see if anyone from the Expo team has any insight?

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