Skip to content

Commit

Permalink
Added support for iOS Settings > Touch ID
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfallon committed Jul 19, 2017
1 parent 4864855 commit 3731a01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ios/NativeSettings.m
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ - (void)open:(CDVInvokedUrlCommand*)command
else if ([key isEqualToString:@"wifi"]) {
result = [self do_open:[prefix stringByAppendingString:@"root=WIFI"]];
}
else if ([key isEqualToString:@"touch"]) {
result = [self do_open:[prefix stringByAppendingString:@"root=TOUCHID_PASSCODE"]];
}
else {
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"Invalid Action"];
}
Expand Down

0 comments on commit 3731a01

Please sign in to comment.