Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24413

Android: Ti.TouchID crashes app on unsupported devices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.1.0
    • Component/s: Android
    • Environment:

      Ti SDK 6.0.0
      TiTouchID 2.1.0
      Android: Samsung S5 API 23

    • Story Points:
      2
    • Sprint:
      2017 Sprint 06 SDK

      Description

      Ti.TouchID causes a crash on Android devices that don't support fingerprint authentication, or where any fingerprint hasn't been added yet.
      In such devices, the constructor for FingerPrintHelper throws an exception, and every subsequent reference to the object triggers an error of this kind:

      JNI ERROR (app bug): attempt to use stale global reference
      

      Steps to reproduce:

      • Create a Titanium app that requires ti.touchid
      • Install on a Android device with no fingerprint added by the user
      • Call any method of ti.touchid

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              ajonus Andrea Jonus
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10497
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration