1. Marcin Jurkowski
  2. PowerServer Mobile (Obsolete)
  3. Friday, 12 July 2019 15:16 PM UTC

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
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 15 July 2019 01:17 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # Permalink

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
  1. Marcin Jurkowski
  2. Tuesday, 16 July 2019 10:12 AM UTC
Thank you. We have it working now using some parts of your code.
  1. Helpful
There are no comments made yet.


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