Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2319] Android: Touch-ID - Improve Fingerprint error handling

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2017-03-20T19:14:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTouchID
Labelsn/a
ReporterRainer Schleevoigt
AssigneeHans Knöchel
Created2017-01-08T17:31:36.000+0000
Updated2018-08-06T17:37:00.000+0000

Description

For using of i18n I propose to export the integer error numbers Additional Samsung devices produces helpers (hints) for handling. Like this: "Make sure that your finger covers the entire Home key" or "Keep your finger on the Home key a little longer" or "Make sure that the Home key is clean and dry, then try again" PR: https://github.com/appcelerator-modules/ti.touchid/pull/25

Comments

  1. Rainer Schleevoigt 2017-01-08

    {noformat} TouchId.authenticate({ reason : L("FingerprintMessage"), callback : function(e) { if (e.help) { Ti.UI.createNotification({ message : L(e.code) }).show(); console.log(e.help); } if (e.error) { Ti.UI.createNotification({ message : L(e.code) }).show(); console.log(e.error); } } }); {noformat}
  2. Hans Knöchel 2017-03-20

    Resolving ticket for now. The PR was not accepted due to missing developer support. Reopening when a PR is available.
  3. Eric Merriman 2018-08-06

    Closing as invalid. If incorrect, please reopen.

JSON Source