Question

How to show touch ID/ fingerprint option after setting DSS value to true

I've changed the DSS - enabletouchid value to "true" and logged into my application using Pega Mobile Express.

"Remember me with touch ID  Remember me with fingerprint" option is not popping up on the screen.

Do I need to do anything for the below code.

<pega:when java='<%= enableFingerprintAuthenticator == "true" %>'>
<div class="iOS" id="fingerprintAuthenticator_checkbox_row" style="display: none">
<% if(ua.contains("iPhone") || ua.contains("iPad")) { %>
<span class="label">Remember me with touch ID</span>
<% } else if(ua.contains("Android")) { %>
<span class="label">Remember me with fingerprint</span>
<% } %>
<div class="checkbox">
<input type="checkbox" id="fingerprint_checkbox" />
<label for="fingerprint_checkbox"></label>
</div>
</div>
</pega:when>

Kindly can some assist on this ASAP.

***Updated by moderator: Lochan to add Categories***

Correct Answer
February 11, 2018 - 6:39pm

Thanks for the response. 

I've removed style="display:none;" from the touchID block, it's working as expected.

Comments

Keep up to date on this post and subscribe to comments

February 5, 2018 - 2:40am

Have you overridden Web-Login for your application? If yes, please check if the code is present. 

If you can, modify Web-Login to have extra divs and see if those become visible (after clearing cache).

February 5, 2018 - 10:34pm
Response to Vikas@Multichannel

Thanks Vikas for your reply.

Yes, I've modified the Web-Login page but I've not modified, touch ID code. 

Please, can you elaborate on the divs (which was mentioned in your comment) .

 

 

February 6, 2018 - 1:05am
Response to Venkat2929

I just meant change some html element in Web-Login and check if you can see those changes. For instance, change label for login field and see if it is updating properly to confirm the version of Web-Login being picked. 

Can you also inspect the html using either Chrome developer (if on Android) or Safari (if on iOS device) ? You'll need debuggable version of Pega mobile client in order to inspect.

February 7, 2018 - 6:28pm
Response to Vikas@Multichannel

Thanks, Vikas.

The changes made on the login page were reflecting on the device. But, the touch ID is not showing up on the screen.

Since touch ID will only be available for the mobile device, how I can debug whether the touch ID option is loading on the mobile.

 

February 11, 2018 - 6:39pm
Response to Venkat2929

Thanks for the response. 

I've removed style="display:none;" from the touchID block, it's working as expected.

Pega
December 10, 2018 - 6:40am