Skip to content

Added Biometric Authentication Support#37

Merged
marcprux merged 1 commit into
skiptools:mainfrom
fhasse95:Biometric-Authentication-Support
Jul 18, 2026
Merged

Added Biometric Authentication Support#37
marcprux merged 1 commit into
skiptools:mainfrom
fhasse95:Biometric-Authentication-Support

Conversation

@fhasse95

@fhasse95 fhasse95 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR adds biometric authentication support to SkipKit. The extension allows for the checking of available biometric capabilities and displaying of the corresponding authentication prompt depending on the platform.

Check if biometric authentication is available:

if BiometricAuthentication.canAuthenticate {
    print("Biometric authentication is available")
}

Perform the biometric authentication:

BiometricAuthentication.authenticate(
    localizedReason: "Unlock the app"
) { result in
    // Handle the result.
}

For more information, check out the updated ReadMe file.

A complete example is also available in the BiometricAuthenticationPlayground of the Skip Showcase app:

Related PR:


Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.

Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

The initial implementation was generated with assistance from Codex. The resulting code was manually reviewed, refined where necessary, and validated using both the Skip Showcase app and my own app on iOS, iPadOS, macOS (Catalyst), and Android to ensure correctness and consistent cross-platform behavior.


@marcprux

Copy link
Copy Markdown
Member

Great improvement, and surprisingly simple!

@marcprux
marcprux merged commit f92ae6a into skiptools:main Jul 18, 2026
2 checks passed
@fhasse95
fhasse95 deleted the Biometric-Authentication-Support branch July 18, 2026 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants