Back to Blog Home
← all posts

How to: Use Touch ID in NativeScript

March 9, 2016 — by Dan Wilson

Touch ID is a mechanism in iOS to authenticate a user based on a submitted finger print. Even though Touch ID is an iOS specific native component, you can still interact with Touch ID in NativeScript with Javascript or TypeScript. This highlights the power of direct access of all native platform APIs given to you by NativeScript. In the article linked below, you'll see how use NPM to incorporate a plugin for Touch ID in NativeScript,

Further, you'll see example code on how to deal with the success or failure of a finger print authentication. Take a look here: https://www.thepolyglotdeveloper.com/2016/03/add-touch-id-authentication-support-to-your-nativescript-app/

If you are doing something cool with Touch ID in your NativeScript applications, let us know in the comments.