1. Marcin Jurkowski
  2. PowerServer Mobile
  3. Friday, 12 July 2019

Hi,

We would like to add fingerprint verification to our Appeon Mobile App.
At the moment I'm at the point where I can check fingerprints/touch id but I don't know how to send success(or error) status code/message back to the app after the verification.

This is my code so far. Does anyone know what's required to do this?

 

nv_fingerprint = CREATE eon_cordova_fingerprint

If nv_fingerprint.of_isavailable ( ) Then

    li_rc =  nv_fingerprint.of_init( )
    If  li_rc = +1  Then
        If  ls_platform = 'iOS' Then
            nv_fingerprint.of_verifyfingerprint_ios ( )
        Else
            nv_fingerprint.of_show ( )
        End If
    Else
        MessageBox ("Cordova Error!", "Finger Print - RC: " + String ( li_rc ) )         
    End If   

Else
    MessageBox('','Fingerprint scan is not available on this device')
End If    

Destroy  nv_fingerprint

 

Thank you and regards,
Marcin

Accepted Answer
Zhao Kai Accepted Answer Pending Moderation
0
Votes
Undo

Hi Marcin,

Please try attached cast, please note that it is default init the class for iOS, please checked the 'Android' option in opened window, and the id/secrete are 'appeon' for keystore file of Appeon Workspace.

The id/secrete are depend on the keystore file, you can package application/Workspace and use your key store file.
https://www.appeon.com/support/documents/appeon_online_help/pb2019/powerserver_toolkit_user_guide/ch09s02s02.html#obtain_private_key
https://www.appeon.com/support/documents/appeon_online_help/pb2019/powerserver_toolkit_user_guide/ch09s04.html


Regards,
ZhaoKai

Attachments (1)
Comment
Thank you. We have it working now using some parts of your code.
  1. Marcin Jurkowski
  2. Tuesday, 16 July 2019
There are no comments made yet.
  1. Monday, 15 July 2019
  2. PowerServer Mobile
  3. # Permalink


There are replies in this question but you are not allowed to view the replies from this question.