Skip to content

Commit

Permalink
[secure-store][ios] Fix incorrect security attribute (#9264)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjthompson committed Jul 17, 2020
1 parent 839b655 commit 1d82bf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/expo-secure-store/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### 🎉 New features

### 🐛 Bug fixes
- Fix incorrect security attribute applied when using the flag WHEN_UNLOCKED_THIS_DEVICE_ONLY on iOS ([#9264](https://github.com/expo/expo/pull/9264) by [@cjthompson](https://github.com/cjthompson))

## 9.0.1 — 2020-05-29

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ - (CFStringRef)_accessibilityAttributeWithOptions:(NSDictionary *)options
case EXSecureStoreAccessibleAlwaysThisDeviceOnly:
return kSecAttrAccessibleAlwaysThisDeviceOnly;
case EXSecureStoreAccessibleWhenUnlockedThisDeviceOnly:
return kSecAttrAccessibleAlwaysThisDeviceOnly;
return kSecAttrAccessibleWhenUnlockedThisDeviceOnly;
default:
return kSecAttrAccessibleWhenUnlocked;
}
Expand Down

0 comments on commit 1d82bf0

Please sign in to comment.