Ionic 4 TouchID not working

I installed the plugin by:

ionic cordova plugin add cordova-plugin-touch-id
npm install --save @ionic-native/touch-id@beta

Then I imported it in app.moudule:

import { FingerprintAIO } from '@ionic-native/fingerprint-aio/ngx';
providers: [

Then in the LockPage in a blank app project I have a method binding to a button in the html:

async onVerifyTouchId() {
    try {
      const isAvailable = await this.touchId.isAvailable();
      await this.touchId.verifyFingerprint('Test');
    } catch (error) {
      this.alertController.create({ message: error.error });

Then I built the package from ionic-Pro (iOS Xcode 9), downloaded it, installed it to my iPhone through Diawi. But when I opened the app and clicked the button which invokes the onVerifyTouchId() method, nothing happened and it appeared that the app froze.

I have also tried it with the Fingerprint AIO plugin, same result.

Related package versions in package.json:

    "@ionic-native/touch-id": "^5.0.0-beta.21",
    "@ionic/angular": "4.0.0-beta.16",
    "cordova-ios": "4.5.5",
    "cordova-plugin-add-swift-support": "^1.7.2",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-fingerprint-aio": "1.4.1",
    "cordova-plugin-ionic-keyboard": "^2.1.3",
    "cordova-plugin-ionic-webview": "^2.2.5",
    "cordova-plugin-touch-id": "3.4.0",

Any help would be appreciated.