Android - prompt Message not coming for local Authentication

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi All,

I am implementing bio-metric authentication for the android and iOS platform. it is working fine for both platforms but I am unable to see prompt message for Android platform only. I am using below code for the same.

var config = {"promptMessage" : "Prompt message ")};

kony.localAuthentication.authenticate(

constants.LOCAL_AUTHENTICATION_MODE_TOUCH_ID,statusCB,config);

Please suggest if any specific setting require for the android platform for the prompt message.

Regards,

Hi,

To get the popup, you need to create a custom popup according to your requirement. Please find the attached sample application for your reference.

Kindly check and let us know if you need any further support.

Thank You,

Hi,

Thank you for your updates. I created custom popup as per our requirements and its working as expected for the android platform. I have one more query for the iOS platform. Can you please let me what values following function return ? As per the documentation it should return constants.BIOMETRY_TYPE_FACEID, constants.BIOMETRY_TYPE_TOUCHID,constants.BIOMETRY_TYPE_UNDEFINED or constants.BIOMETRY_TYPE_NONE but I see that its returning 1,2,3 values. its confusing to me.

Please suggest.

kony.localAuthentication.getBiometryType();

Regards,

Hi,

Please follow the below documentation link for more details on the kony.localAuthentication.getBiometryType() function.

http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/content/kony.localauthentication_functions.htm

Thank You,