mirror of
https://github.com/status-im/react-native-keychain.git
synced 2025-01-14 23:34:15 +00:00
172368f2fd
* First draft of implementing secured storage support (TouchId or Passcode) * minor improvements * improving the implementation; Support for AppDelegate-notification * minor changes and improvements * provding requested constant as usability feature; added documentation to canImplyAuthentication * updating .d.ts-file * when fetching stored items using the traditional modality (not TouchId or Passcode protected) ignore any items that need authentication.
23 lines
590 B
Objective-C
23 lines
590 B
Objective-C
//
|
|
// TouchIdPromptListener.h
|
|
// RNKeychain
|
|
//
|
|
// Created by Steffen Blümm on 05/04/17.
|
|
// Copyright © 2017 Joel Arvidsson. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
This is a protocol to be implemented by the AppDelegate in case
|
|
the AppDelegate takes precautions to obfuscate the screen when
|
|
the app resigns active state.
|
|
Thus the AppDelegate can avoid to obfuscating the screen when
|
|
the TouchId-prompt is brought up by the OS
|
|
*/
|
|
@protocol RNKeychainAuthenticationListener <NSObject>
|
|
|
|
@property (nonatomic, assign) BOOL willPromptForAuthentication;
|
|
|
|
@end
|