Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25225] Android: Touch Id authentication issue

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2017-11-08T23:07:58.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.0
ComponentsAndroid
Labelsn/a
Reporter Ricardo Ramirez
AssigneeGary Mathews
Created2017-09-04T16:56:34.000+0000
Updated2017-11-08T23:08:48.000+0000

Description

Issue Description

When no finger prints are enrolled on the device, we are navigating the user to "General Settings" screen of the device. After adding the finger prints to the device and coming back to our application, if user is trying to provide his finger print, module is returning the below error code when giving the wrong finger print :
INFO] :   e :{"error":"Unable to recognize fingerprint","success":false}
when providing the valid finger print :
[INFO] :   e :{"error":"Failed to encrypt the data with the generated key.","success":false}.
But when we kill the app and provide the valid finger print, it is working as expected.
 e :{"message":"/XeCBxGVjSXleIYYz9IzJg==\n","success":true}

Attachments

FileDateSize
index (2).js2017-09-18T07:37:24.000+00001147

Comments

  1. Ricardo Ramirez 2017-09-18

    [~hknoechel] PFA the sample code.
  2. Ricardo Ramirez 2017-09-18

    [~hknoechel] They are using the Touch Id module with 2.2.0 version for Android.
  3. Gary Mathews 2017-09-21

    master: https://github.com/appcelerator-modules/ti.touchid/pull/35 ti.touchid-android-2.2.2: https://github.com/appcelerator-modules/ti.touchid/releases/tag/android-2.2.2
  4. Lokesh Choudhary 2017-11-08

    Final PR : https://github.com/appcelerator-modules/ti.touchid/pull/36 FR Passed. PR merged. Closing. Studio Ver: 4.10.0.201709271713 SDK Ver: 7.0.0.v20171108114616 OS Ver: 10.12.3 Xcode Ver: Xcode 8.3.3 Appc NPM: 4.2.10 Appc CLI: 6.3.0 Ti CLI Ver: 5.0.14 Alloy Ver: 1.10.7 Node Ver: 7.10.1 Java Ver: 1.8.0_101 Devices: ⇨ google Nexus 6P --- Android 8.0.0 TouchID module: 3.0.0

JSON Source