220
Views
5
Comments
[Touch ID Plugin] Error with Touch ID Plugin
Question
touch-id-plugin
Mobile icon
Forge asset by OutSystems

Hi,

I'm trying to integrate the Touch ID Plugin in my mobile application. When I initialize the app, i receive this error (image), but I have the common Plugin updated. Can anyone help me?

A lot of thanks,

Jordi.

error touch id.PNG
UserImage.jpg
Ricardo Marques

Hello Jordi,

Looking into the error screen shot, it seems that your module "CommonPlugin" could be outdated or even brooked. 

Can you please check your ServiceCenter and if needed open it in ServiceStudio and publish it please.

PS. if refresh actions doesn't works, please check if CommonPlugin new version exists.

Regards,

ROM

UserImage.jpg
Jordi Gisbert Ponsoda

Ricardo Oliveira Marques wrote:

Hello Jordi,

Looking into the error screen shot, it seems that your module "CommonPlugin" could be outdated or even brooked. 

Can you please check your ServiceCenter and if needed open it in ServiceStudio and publish it please.

PS. if refresh actions doesn't works, please check if CommonPlugin new version exists.

Regards,

ROM

Hello Ricardo,

I download the "CommonPlugin" this morning, I think that this is updated, in Forge i don't see a new version, i don't know what to do.

Regards,

Jordi.


commonplugin.PNG
UserImage.jpg
Davidk

I just tried this and I'm getting the failure callback with the message "Class not found".  This is the code I'm running from a button.  I'm not sure what to put in for clientId and clientSecret.

touchid.authenticate(
   function(msg) {alert('ok: ' + msg)}, // success handler: fingerprint accepted
   function(msg) {alert('not ok: ' + JSON.stringify(msg))}, // error handler with errorcode and localised reason
    {
        "clientId": "",
        "clientSecret": "",
        "dialogTitle":"Touch Id",
        "dialogMessage":"Please scan your fingerprint"
    }  
);

UserImage.jpg
Faisal WaheedUllah

Davidk wrote:

I just tried this and I'm getting the failure callback with the message "Class not found".  This is the code I'm running from a button.  I'm not sure what to put in for clientId and clientSecret.

touchid.authenticate(
   function(msg) {alert('ok: ' + msg)}, // success handler: fingerprint accepted
   function(msg) {alert('not ok: ' + JSON.stringify(msg))}, // error handler with errorcode and localised reason
    {
        "clientId": "",
        "clientSecret": "",
        "dialogTitle":"Touch Id",
        "dialogMessage":"Please scan your fingerprint"
    }  
);

 

 can you show us how to use it


2020-05-07 18-53-00
Rui Barradas
 
MVP

Hi Faisal,

Most likely, next time you should create a new post since this one is 2 years old.

Anyways, there is already a sample on the Forge that shows exactly how to implement this plugin:

https://www.outsystems.com/forge/component-overview/6230/touch-id-login-sample 


Hope that this helps you.


Kind regards,

Rui Barradas

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.