[MOD-2489] iOS: Passcode Authentication feature on ti.identity module
|Labels||2020-Q2, authorization, faceid, ios, module, passcode, touchid|
DescriptionHello, One of our customer would like to use iPhone's Passcode option on the app. He tried ti.identity module which works fine for Touch ID & Face ID. Along with this he wants to use the Passcode Authentication for the App. Which is not possible to current ti.identity. Thanks
- Joshua Quick 2020-03-18
I'm pretty sure iOS already supports passcodes via the module's
AUTHENTICATION_POLICY_PASSCODEconstant, which tells the system to fallback to a passcode if touch id or face id isn't available on the device. In our module's example code, the above mentioned constant is commented out. Add it in and it should work. https://github.com/appcelerator-modules/titanium-identity/blob/3e0d849bf6e157df60b48efd272857fa4c3e8b4f/ios/example/app.js#L33
- Joshua Quick 2020-04-06 Closing it as "Invalid" since we already support this feature on iOS.