Gone are the days when you wanted to just use a password authentication system. Authentication is becoming stronger and more intuitive. Most iOS devices these days have a fingerprint sensor and this trend is now starting to prevail in Android devices too. Users can secure their devices using a fingerprint password. Luckily, for developers like us, we can use the same technology to secure content inside our application, which the user can access after authentication.
In this recipe, we are creating an unlock secret app. It is basically a joke app. The home page looks like the following.
When the user clicks on the Reveal Secret button, it shows the Fingerprint Authentication dialog: ...