Currently I have App creating a LoadingPage, and onAppearing I want to use Touch-id and MarshMallow Credential before continuing with the app; my question is, what to do if the authorization fails.
Ideally, I should really terminate the app if such event happens. Now knowing that Terminating is frowned upon, what's my best option?
A popular iOS app GoodReader; with Touch enabled, on launch, it shows the touch auth prompt; Cancelling or failing that shows me iOS home screen; GoodReader is still shown on TaskBar, and selecting it shows the auth prompt back again.
Thanks in advance.
You could either just keep asking for authentication or show some kind of failure screen with a button to try again.
Answers
You could either just keep asking for authentication or show some kind of failure screen with a button to try again.
Hi Adam,
thanks for the quick reply; here is the reason why I don't think it's a good idea;
TouchId auth Prompt by default has a Cancel button. Suppose as a user, I don't want to continue at that point, and I click the cancel button. At that point, it's very non-intuitive to show an alert message saying "You need to auth.... blah blah blah" and a button to try again. --- does that make sense?
I don't think that's unintuitive. They canceled the TouchId prompt, not the opening of the app.
I finally decided to show the user an alert box, with a continue button on the main page..