Skip to content

[local_auth][Ios] isDeviceSupported returns always true  #116179

@meandmymonkey7

Description

@meandmymonkey7

As you can see at LocalAuthPlugin.m file, lines 42 - 43 isDeviceSupported function is not implemented but instead value YES is always returned.

We would need the same functionality as Android to be able to know if any authentication method is available (including passcode) not just biometrics. At some parts of our app we have the need to not actually ask for authentication but just allow some action if any authentication method is enabled.

https://github.com/flutter/plugins/blob/main/packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin.m

} else if ([@"isDeviceSupported" isEqualToString:call.method]) {
    result(@YES);

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterp: local_authPlugin for local authentificationpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions