iOS Touch ID for Web Development

前端 未结 1 1881
时光说笑
时光说笑 2021-01-06 16:19

I am currently trying to figure out a way where I can build a responsive website, however once the website loads on an iOS Device I wanted to use the new iOS Touch ID api to

相关标签:
1条回答
  • 2021-01-06 16:26

    There is a Apache Cordova plugin that gives you a simple Javascript API. Using it becomes a simple call like this:

     touchid.checkSupport(successCallback, notSupportedCallback);
     touchid.authenticate(successCallback, failureCallback, text);
    

    Hope that helps

    0 讨论(0)
提交回复
热议问题