393
Views
17
Comments
Solved
[Touch ID Plugin] TouchID is not defined on an iPhone
Question
touch-id-plugin
Mobile icon
Forge asset by OutSystems

I have just installed my application on my iPhone and when it runs the CheckPlugin JS action it gives the error message back "TouchID is not Defined", i am not emulating this on my desktop.

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Philip,

You didn't understand my questions, I'll further explain:

  • Please install OutSystems Now on your device, open it and use the built-in QR-code scanner to scan your application's QR-code (shows when you preview on your desktop browser, also available on the right side of your Application's Native tab, in Service Studio) and it will open your app inside OutSystems Now. This should work, and your application should not show that error message, as the plugin is pre-bundled with OutSystems Now.
  • After installing the Touch ID Plugin and adding the dependencies to it on your mobile app, you have to do 1-Click publish on your app, but also you need to regenerate the mobile app and reinstall it on your phone, otherwise your application's binary that you are using on your phone will be old and not have the plugin bundled in.

Hope this clarifies

2018-07-04 06-44-03
shyam sundar

Jorge Martins wrote:

Philip,

You didn't understand my questions, I'll further explain:

  • Please install OutSystems Now on your device, open it and use the built-in QR-code scanner to scan your application's QR-code (shows when you preview on your desktop browser, also available on the right side of your Application's Native tab, in Service Studio) and it will open your app inside OutSystems Now. This should work, and your application should not show that error message, as the plugin is pre-bundled with OutSystems Now.
  • After installing the Touch ID Plugin and adding the dependencies to it on your mobile app, you have to do 1-Click publish on your app, but also you need to regenerate the mobile app and reinstall it on your phone, otherwise your application's binary that you are using on your phone will be old and not have the plugin bundled in.

Hope this clarifies

Hi Jorge, 

 

 is this above solution is applicable for android mobile also, i'm getting the same error in android mobile..

 Could you pls help me on this 

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Philip,

That message means the application binaries do not include the binary implementation for the plugin. Typically you get it if you try to run the application from the mobile browser, for instance or the app was installed from an outdated installation binary that did not include the plugin.  

To be able to better troubleshoot, can you answer these two questions:

  • Does your application run on the OutSystems Now iPhone app?
  • Did you regenerate your IPA installation package after adding the dependency for the Touch ID plugin? And did you use this latest version of the installation package to install on your device?
UserImage.jpg
Sofia J.

Jorge Martins wrote:

Hi Philip,

That message means the application binaries do not include the binary implementation for the plugin. Typically you get it if you try to run the application from the mobile browser, for instance or the app was installed from an outdated installation binary that did not include the plugin.  

To be able to better troubleshoot, can you answer these two questions:

  • Does your application run on the OutSystems Now iPhone app?
  • Did you regenerate your IPA installation package after adding the dependency for the Touch ID plugin? And did you use this latest version of the installation package to install on your device?

Hallo Jorge,

I think I am running into the same problem. 

I am testing an app that uses the Touch ID plugin natively on an Android device, and also get the error that the Touch Id is not defined. As you suggested, I updated the dependencies and reinstalled the native app (as well as trying the app with OutSystems Now just in case). I keep on getting the message that Touch Id is not defined, and after digging a bit in the Touch Id plugin, the origin is this:

, which means that there is an issue with the Fingerprint plugin of Android. I cannot find the solution anywhere, do you have any idea on how to solve this?

Thank you in advance.



UserImage.jpg
Philip Thompson

Hi Jorge,

 

-The application does not run on the OutSystems now platform, I have generated the mobile app and installed it directly on my Phone (which does have finger print on it)

-I have installed the latest version of touchIdPlugin and have updated the references on my mobile app.

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Philip,

You didn't understand my questions, I'll further explain:

  • Please install OutSystems Now on your device, open it and use the built-in QR-code scanner to scan your application's QR-code (shows when you preview on your desktop browser, also available on the right side of your Application's Native tab, in Service Studio) and it will open your app inside OutSystems Now. This should work, and your application should not show that error message, as the plugin is pre-bundled with OutSystems Now.
  • After installing the Touch ID Plugin and adding the dependencies to it on your mobile app, you have to do 1-Click publish on your app, but also you need to regenerate the mobile app and reinstall it on your phone, otherwise your application's binary that you are using on your phone will be old and not have the plugin bundled in.

Hope this clarifies

2018-07-04 06-44-03
shyam sundar

Jorge Martins wrote:

Philip,

You didn't understand my questions, I'll further explain:

  • Please install OutSystems Now on your device, open it and use the built-in QR-code scanner to scan your application's QR-code (shows when you preview on your desktop browser, also available on the right side of your Application's Native tab, in Service Studio) and it will open your app inside OutSystems Now. This should work, and your application should not show that error message, as the plugin is pre-bundled with OutSystems Now.
  • After installing the Touch ID Plugin and adding the dependencies to it on your mobile app, you have to do 1-Click publish on your app, but also you need to regenerate the mobile app and reinstall it on your phone, otherwise your application's binary that you are using on your phone will be old and not have the plugin bundled in.

Hope this clarifies

Hi Jorge, 

 

 is this above solution is applicable for android mobile also, i'm getting the same error in android mobile..

 Could you pls help me on this 

UserImage.jpg
Philip Thompson

Hi Jorge,


The second step fixed my problem


Thank you

UserImage.jpg
Arun

Hi All,

The Touch ID Plugin is working for both android and ios. But when it comes to iPhone X , it should open the face recognition but it fails and throws the error.

FYI, I have the latest plugin version.Thanks in advance for solutions.

Regards

Arun Kumar


2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Arun,

Please create a new topic for this, as there doesn't seem to be a direct relation with what we have been discussing here.

Thanks!

UserImage.jpg
Ron Putting

Hi Jorge,

I do have the exact same issue on my Nokia 7 (Android 9) in which I reinstalled OutSystems Now again to make sure I have latest. I did a 1-click Publish from within OS-Studio (most recent version 11) and I did a new scan of the QR from within OS-Now and opened it in Now, but I keep getting the message "TouchID is not defined". 

Can you help me out?

Thanks!

UserImage.jpg
Harish Yerra

Hi Jorge,

How to disable or how to add functionality to the cancel button in TouchId dialog.


Thanks

Harish

UserImage.jpg
Harish Yerra

When user clicks on Cancel button i am getting Error code:4 with the help of this errorcode i am doing my next steps.


Thanks
Harish

Harish Yerra wrote:

Hi Jorge,

How to disable or how to add functionality to the cancel button in TouchId dialog.


Thanks

Harish



UserImage.jpg
Arun

Hi Harish,

We can add functionality to the Touch ID cancel button, but this function will be common for the cancel and after the MaxAttempts also this function will be executed. If the TouchID is failure then is action will be executed.TouchID

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Sofia,

Can you please provide details on the device and OutSystems platform: Android version, make and model of the device, platform version as well as OutSystems Now app version.

I've already reached out to the team to see if they're aware of any issues with the plugin.

Thanks!

UserImage.jpg
Sofia J.

Jorge Martins wrote:

Hi Sofia,

Can you please provide details on the device and OutSystems platform: Android version, make and model of the device, platform version as well as OutSystems Now app version.

I've already reached out to the team to see if they're aware of any issues with the plugin.

Thanks!

Hallo Jorge,


Thanks for your prompt reply. The OS version is 11.6.18, Android 9.0 in a Samsung A50, OutSystems Now app version 2.3.1.

Thank you for your help!

2020-10-08 21-18-41
Martin Stanik

Jorge Martins wrote:

Hi Sofia,

Can you please provide details on the device and OutSystems platform: Android version, make and model of the device, platform version as well as OutSystems Now app version.

I've already reached out to the team to see if they're aware of any issues with the plugin.

Thanks!

 Hi Jorge, do you have any feedback from the production team on this issue, yet? cheers

 

2020-10-08 21-18-41
Martin Stanik

Hi, 

Is there any solution to how to get over this issue, yet?

I am running exactly the same issue while generating a mobile app targeted for Android OS. 


Outsystems Service Studio: 11.8.8

Mobile device: Oppo RenoZ, Android Q (10)


Thanks.

2019-09-24 18-41-25
Jorge Martins
 
MVP

Hi Martin,

I've reached out again to the team for any feedback on this noting how this seems to affect both Android 9 and 10 on different hardware... hopefully they will get back to us here directly.

Cheers

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