[Touch ID Plugin] Now Working in OutSystems Now - Plugin not included?

[Touch ID Plugin] Now Working in OutSystems Now - Plugin not included?

  
Forge Component
(2)
Published on 24 Nov (2 weeks ago) by OutSystems
2 votes
Published on 24 Nov (2 weeks ago) by OutSystems

I cannot get this plugin to work in the OutSystems Now app as of 10/13/16. The documentation suggests the plugin is packaged into OutSystems Now - but I get an error saying "TouchID Plugin not available."

Any ideas on how to resolve this?

Eric,


Did you update the Outsystems Common?  Also, how are you calling the plugin, can you send me a quick solution so i can see what you are doing?


Preston

Hi,

I did update the Common Plugin. I guess the error text is my own. But that still does not explain why the plugin fails.

My code is a simple button press on the main default page:


Any insights would be appreciated.

Thanks,

----Erik


Preston Barnes wrote:

Eric,


Did you update the Outsystems Common?  Also, how are you calling the plugin, can you send me a quick solution so i can see what you are doing?


Preston



Hi Erik,

Sorry for the late reply.

To troubleshoot, I would do the following:

  1. Are you testing in an iOS device with touch Id capabilities?
  2. Do you have a fingerprint defined in the device?
    -- app troubleshoot --
  3. Do you have JS errors?
  4. Is the latest version of the code, the one running?
  5. Is the plugin included in the shell?
    To answer to this question, run the following JS and send the output to the screen:
    cordova.require("cordova/plugin_list").metadata;

Let me know how it goes.

cheers,

RG


Hi Ruben,

  1. Are you testing in an iOS device with touch Id capabilities? Yes - Iphone 6s.
  2. Do you have a fingerprint defined in the device? Yes.
    -- app troubleshoot --
  3. Do you have JS errors? None that I can see as the app runs. 
  4. Is the latest version of the code, the one running? Yes. 
  5. Is the plugin included in the shell?  I am running the standard OutSystems Now shell. Latest version.
    To answer to this question, run the following JS and send the output to the screen:
    cordova.require("cordova/plugin_list").metadata;

    I have tried this in a javascript object: window.alert(cordova.require("cordova/plugin_list").metadata);

    But it does not seem to work - it just returns [object Object]?? Apparently, I am not doing this correctly. Can you suggest another way to get this output?

    Any other suggestions?

    Thanks,

---Erik


Rúben Gonçalves wrote:

Hi Erik,

Sorry for the late reply.

To troubleshoot, I would do the following:

  1. Are you testing in an iOS device with touch Id capabilities?
  2. Do you have a fingerprint defined in the device?
    -- app troubleshoot --
  3. Do you have JS errors?
  4. Is the latest version of the code, the one running?
  5. Is the plugin included in the shell?
    To answer to this question, run the following JS and send the output to the screen:
    cordova.require("cordova/plugin_list").metadata;

Let me know how it goes.

cheers,

RG




I also confirmed the same behavior on a second Iphone 6s. 

Also - nothing in the debug log on either phone that indicates an issue.

Erik,


You should output to an expression (JS Node, returns a text which is that output, and you set a screen variable with that value).

Nevertheless, in your example do:

window.alert(JSON.stringify(cordova.require("cordova/plugin_list").metadata));


I do not see a plugin for TouchID here. Do you?

Nope... not there... 

Ruben - I have now gotten this to work outside of OutSystems Now, creating my own shell for distribution. I believe OutSystems now does not have Touch ID or Blink bundled in as the training and documentation materials suggest. Should be an easy fix for the OutSytems Now shell. Is that what you see here as well?

Thanks,

---Erik

Solution

Hi Erik,

The Touch Id plugin is not available on OutSystems Now app for now.
However, it'll be available on the next release during this week.

Cheers,

Luís Silva

Solution