Skip to content

TouchId not working with ionic4 #88

@amarjitsingh65

Description

@amarjitsingh65

ionic4 TouchId and FaceId not working as expected. I have installed.
“cordova-plugin-touch-id”: “^3.4.0”,
“@ionic-native/touch-id”: “^5.3.0”,

if (this._platform.is(‘ios’)) {

    this.touchId.isAvailable()
        .then(
            res => {
                console.log('TouchID is available!')
                this.touchIdLabel = "TOUCH ID";
            },
            err => {
                console.error('TouchID is not available', err)
                this.touchIdLabel = err;
            }
        );

}

It gives error: “Plugin_not_installed”,

I also tried with other versions:

“@ionic-native/touch-id”: “^5.17.1”,
“cordova-plugin-touch-id”: “^3.4.0”,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions