touch-id

Save data in Keychain only accessible with Touch ID in Swift 3

北城余情 提交于 2019-12-29 16:26:36
问题 I'm working on a peace of code that should do the following: Store some data in Keychain. Get the data only if a user authenticates with Touch ID or Pass Code. I watched the Keychain and Authentication with Touch ID presentation and understood the following: If you set the right parameter while adding a new value in to Keychain, next time you'll try to get it out, the system will automatically show the Touch ID popup. I wrote some code, and my assumption doesn't work. This is what I have

Save data in Keychain only accessible with Touch ID in Swift 3

只愿长相守 提交于 2019-12-29 16:26:16
问题 I'm working on a peace of code that should do the following: Store some data in Keychain. Get the data only if a user authenticates with Touch ID or Pass Code. I watched the Keychain and Authentication with Touch ID presentation and understood the following: If you set the right parameter while adding a new value in to Keychain, next time you'll try to get it out, the system will automatically show the Touch ID popup. I wrote some code, and my assumption doesn't work. This is what I have

iPhone App Crash with error [UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:]

这一生的挚爱 提交于 2019-12-28 06:32:07
问题 I have an iPhone App in the app store which is using Touch ID. If Touch ID is enabled, the user is authenticated with it, else user needs to enter his PIN to login to the application. After IOS 10.1 release, when I checked the crash report, the crash count has increased. From the crash report, it is pointing on [UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:] and when I opened the app in Xcode, it is focussing on [self dismissViewControllerAnimated:YES completion:nil]; . The

Is this correct to check FaceID?

只愿长相守 提交于 2019-12-23 09:58:33
问题 Sorry, unavailability of iPhone-X. After the launch of iPhone-X, everyone wants their application should be compatible with iOS11 and with touchID but the problem is it's too expensive for a developer to test touch ID. I don't have iPhone to check my code but can I check the same in iOS simulator? let context = LAContext() if ( context.biometryType == .typeFaceID ) { // Face ID } if ( context.biometryType == .typeTouchID) { // Touch ID } else { // Stone Age } 回答1: You can test it without

How to programmatically check support of Touch ID, Face Id ,Password and pattern lock in React-Native

柔情痞子 提交于 2019-12-23 09:35:29
问题 I have implemented react-native-fingerprint-scanner in my application its working fine for Touch Id . Now I wanted to add authentication for Touch ID, Face Id, Pass code for both platform Is there any to check whether your device support or not respectively it will ask for lock pattern ? Also I have tried using react-native-touch-id but it is not working me for Face Id Is there any way to achieve this for both platform (iOS/android)? Reference:Link 回答1: react-native-touch-id should work for

How do i integrate Touch ID for my IAP?

限于喜欢 提交于 2019-12-22 18:29:13
问题 I have the following code for my IAP, which works successfully, but doesn't support those who want to purchase with Touch ID. What do I need to add to my removeAdsButton method to support this? If I don't add anything to support Touch ID, will the transaction still process successfully? - (void)removeAdsButton { if([SKPaymentQueue canMakePayments]){ SKProductsRequest *productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:[NSSet setWithObject:kRemoveAdsProductIdentifier]];

How do i integrate Touch ID for my IAP?

旧巷老猫 提交于 2019-12-22 18:28:38
问题 I have the following code for my IAP, which works successfully, but doesn't support those who want to purchase with Touch ID. What do I need to add to my removeAdsButton method to support this? If I don't add anything to support Touch ID, will the transaction still process successfully? - (void)removeAdsButton { if([SKPaymentQueue canMakePayments]){ SKProductsRequest *productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:[NSSet setWithObject:kRemoveAdsProductIdentifier]];

If Device Supports Touch ID

巧了我就是萌 提交于 2019-12-21 18:13:45
问题 Wondering how I can determine if the device the user has supports the Touch ID API? Hopefully have this as a boolean value. Thanks! 回答1: try this: - (BOOL)canAuthenticateByTouchId { if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) { return [[[LAContext alloc] init] canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:nil]; } return NO; } or like @rckoenes suggest: - (BOOL)canAuthenticateByTouchId { if ([LAContext class]) { return [[[LAContext alloc] init]

If Device Supports Touch ID

半世苍凉 提交于 2019-12-21 18:13:09
问题 Wondering how I can determine if the device the user has supports the Touch ID API? Hopefully have this as a boolean value. Thanks! 回答1: try this: - (BOOL)canAuthenticateByTouchId { if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) { return [[[LAContext alloc] init] canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:nil]; } return NO; } or like @rckoenes suggest: - (BOOL)canAuthenticateByTouchId { if ([LAContext class]) { return [[[LAContext alloc] init]

ios8 TouchID detection if fingerprint was added

ぃ、小莉子 提交于 2019-12-21 03:51:45
问题 Im digging into Apple's Touch ID, more precisely the Local Authenticator. The documentation as of now is pretty sparse. Its mainly just this: LAContext *myContext = [[LAContext alloc] init]; NSError *authError = nil; NSString *myLocalizedReasonString = <#String explaining why app needs authentication#>; if ([myContext canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&authError]) { [myContext evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason