Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5100] Android: Ti.TouchID not working

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2017-09-19T17:45:40.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterIbrahim MESLEM
AssigneeShak Hossain
Created2017-07-20T14:41:14.000+0000
Updated2017-09-19T17:45:41.000+0000

Description

Hello Jira Team, I have an issue with the TouchID module on android where the authentication callback code is undefined like in this example bellow. SDK 6.1.1 Module version : Android 2.2.0
TiTouchId.authenticate({
    reason: 'We need your fingerprint to continue.',
    callback: function(e) {
        // here the e.code is undefined
	    if (!e.success) {
	        alert('Message: ' + e.error);
	    } else {
	        alert('YAY! success');
	    }
        }
}); 

Comments

  1. Michael Gangolf 2017-07-31

    The TouchID doesn't show any view by itself. You have to add one and start the above code using a button click for example.
  2. Gary Mathews 2017-09-11

    [~bahinapster] This should be fixed in 2.2.1, you can try the pre-release here: https://github.com/appcelerator-modules/ti.touchid/releases/tag/android-2.2.1
  3. Hans Knöchel 2017-09-19

    Resolving as Duplicate, please use [Ti.TouchID Android 2.2.1](https://github.com/appcelerator-modules/ti.touchid/releases/tag/android-2.2.1) which will resolve all issues :-).

JSON Source