[AC-5100] Android: Ti.TouchID not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2017-09-19T17:45:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Ibrahim MESLEM |
Assignee | Shak Hossain |
Created | 2017-07-20T14:41:14.000+0000 |
Updated | 2017-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');
}
}
});
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.
[~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.1Resolving 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 :-).