TouchID / Fingerprint exposed through SDK

Hi, I read in your Aug 7, 2016 blog post that you’ve got the native code in place for TouchID but not in the SDK. I don’t want to brake out of Expo so I just want to make 100% sure I did not miss you guys adding this to the SDK. Any help on the best way to tackle this would also be great.

1 Like

hello! you can check out and example of using it here: https://github.com/expo/native-component-list/blob/a5e98542b7a07350d027c43385a11cc14a9ad92e/screens/ExponentScreen.js#L729-L774

we haven’t documented in our official docs yet because we intended to create a wrapper so there is a single API on both platforms. we might just go ahead and document the current API and add a layer on top of that later on.

2 Likes

For others looking at this, here is the api (https://github.com/expo/expo/blob/master/ios/Exponent/Versioned/Modules/Api/EXFingerprint.m) :

  • hasHardwareAsync

  • isEnrolledAsync

  • authenticateAsync

1 Like

API doc: https://docs.expo.io/versions/latest/sdk/fingerprint.html

2 Likes

The current location of the documentation is here: