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 allow members to login. I know it is possible to do such things using Native ofcourse and also Cordova (http://cordova.apache.org/) but I want it to work as an authentication system with nearly any web development code base.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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