-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add possibility to set accessible attribute for iOS
- Loading branch information
Roman Barzyczak
committed
Aug 27, 2018
1 parent
eac08e5
commit c6cbbbf
Showing
8 changed files
with
2,465 additions
and
881 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
|
||
import { NativeModules } from 'react-native'; | ||
|
||
export const ACCESSIBLE = { | ||
WHEN_UNLOCKED: 'AccessibleWhenUnlocked', | ||
AFTER_FIRST_UNLOCK: 'AccessibleAfterFirstUnlock', | ||
ALWAYS: 'AccessibleAlways', | ||
WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: 'AccessibleWhenPasscodeSetThisDeviceOnly', | ||
WHEN_UNLOCKED_THIS_DEVICE_ONLY: 'AccessibleWhenUnlockedThisDeviceOnly', | ||
AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: | ||
'AccessibleAfterFirstUnlockThisDeviceOnly', | ||
ALWAYS_THIS_DEVICE_ONLY: 'AccessibleAlwaysThisDeviceOnly', | ||
}; | ||
|
||
const { RNSecureKeyStore } = NativeModules; | ||
|
||
export default RNSecureKeyStore; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters