Made the value of reason in authenticateWithBiometrics injectable #21
Made the value of reason in authenticateWithBiometrics injectable #21ziogaschr merged 1 commit intovelikanov:masterfrom
Conversation
… PasscodeLockConfigurationType
|
Looks ok, and I agree that more people might need this. I didn't have the time to test it though. |
|
@ziogaschr, unfortunately, I just don't have enough time even to test it :( too busy with my main job |
|
I have tested this and it is great. What do you think? |
|
@ziogaschr I'm curious about your statement that the changes will break current Apps that are using the framework. My intention was to make the changes fully backwards compatible for existing user's of the framework, which I thought I did by making the touchIdReason optional on PasscodeLockConfigurationType. If there's something I overlooked, though, I'd appreciate your feedback so that I can file it away for future reference. |
|
You are tottaly right @phampton24. I thought that |
|
Grrrr, I had the same issue #30 at the beginning. |
|
Shall we revert this one and has already caused trouble to people |
I've coded a potential solution to issue #20. This solution leverages PasscodeLockConfigurationType to optionally pass a value leveraged by authenticateWithBiometrics. If the value is not set in the implementation of the Configuration Type then the code falls back to the existing logic that uses the strings resource file.