Skip to content

Commit

Permalink
fix(config): Optional passcodeFallback config in isSupported
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy authored Nov 27, 2018
1 parent 24a84a0 commit a9821bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TouchID.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { getError, TouchIDError, TouchIDUnifiedError } = require('./errors');
export default {
isSupported(config) {
return new Promise((resolve, reject) => {
NativeTouchID.isSupported((error, biometryType) => {
NativeTouchID.isSupported(config, (error, biometryType) => {
if (error) {
return reject(createError(config, error.message));
}
Expand Down

0 comments on commit a9821bf

Please sign in to comment.