Touch ID is a native extension to use Apple’s Touch ID technology. Using Touch ID the device owner can can use a fingerprint as a passcode. With just a touch of the Home button the Touch ID sensor reads a fingerprint and identifies the owner. Since iOS 8 it is possible to use the Touch ID authorization in iOS applications

Using the Touch ID extension, the touch functionality can be extended into AIR mobile iOS projects. Among the extension  features are basic Touch ID verification and event handling, e.g. an event is launched when the checkid() method is requested.


  import com.caffaware.extensions.touchidane.touchidane;
  import flash.display.Sprite;
  import flash.display.StageAlign;
  import flash.display.StageScaleMode;
  public class TouchIDExample extends Sprite {
    private var _ti:touchidane;
    public function TouchIDExample() {
      stage.align = StageAlign.TOP_LEFT;
      stage.scaleMode = StageScaleMode.NO_SCALE;
      _ti = new touchidane();
      _ti.addEventListener(StatusEvent.STATUS, onStatusEvent);
      stage.addEventListener(MouseEvent.CLICK, clickStage);

    private function onStatusEvent(event:StatusEvent):void {
      //1: Authentication success - if fingerprint is scanned correctly
      //2: Authentication failed - if fingerprint is not scanned correctly or wrong fingerprint
      //3: Cancel button pressed
      //4: Enter password pressed - your app should have an alternative method of authentication
      //5: Touch ID not configured 
      //6: Touch ID not supported - on older devices
    private function clickStage(event:MouseEvent):void {
      _ti.checkid("Fingerprint Authentication");
Air Native Extension, iOS . URL.