Giter Site home page Giter Site logo

authenticationtest's Introduction

AuthenticationTest

Development environment

  • Xcode 9.1, 9.2 beta
  • macOS 10.12.6 or later
  • iOS 11 (Face ID)

iOS Simulator side

Use the iOS simulator to enable authentication with Face ID.

Face ID is disabled when building by default. Check menu of the simulator Hardware -> FaceID.

Hardware -> FaceID.png

Tap Enrolled and then you’ll confirm checkmark. Face ID is now active.

Enrolled.png

If you execute the sample code and put a check in Enrolled, you will get a dialog asking for permission by pressing the button.

first_dialog.png

Tap the OK button to display the authentication dialog.

faceid_wait.png

f you select Matching Face under Enrolled in this state ...

matchingface.png

Success.

success.png

Conversely, if you choose Non-matching Face ...

notmatching.png

Failed.

failed.png

Add 2017.11.06

I got iPhoneX. I checked whether it's working!

Tap button and success at first try.

successFirstTry.gif

The first try failed and the second succeed.

success_at_twice.gif

Failed.

failed.gif

authenticationtest's People

Contributors

milanistadev avatar

Stargazers

vvk aghera avatar

Watchers

James Cloos avatar vvk aghera avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.