Skip to content

Update win32's constants#133

Open
calvinchengx wants to merge 7 commits into
authpass:mainfrom
HelloHQ:main
Open

Update win32's constants#133
calvinchengx wants to merge 7 commits into
authpass:mainfrom
HelloHQ:main

Conversation

@calvinchengx

Copy link
Copy Markdown

No description provided.

@CLAassistant

CLAassistant commented May 20, 2025

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ calvinchengx
❌ drunisa007


drunisa007 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

drunisa007 and others added 6 commits June 29, 2026 18:28
Use LAContext localizedReason for prompts
macOS implementation moved to the SwiftPM layout (Sources/biometric_storage/) with Package.swift (macOS 10.14, FlutterFramework dependency); podspec source_files repointed so SPM and CocoaPods share one source tree. The iOS side (mixed ObjC+Swift registration shim) stays on CocoaPods — SPM cannot build mixed-language targets.
Add Swift Package Manager support (macOS)
Folds the ObjC registration shim (BiometricStoragePlugin.h/.m) into the Swift plugin class, renamed SwiftBiometricStoragePlugin -> BiometricStoragePlugin with @objc(BiometricStoragePlugin), so the iOS implementation is a single pure-Swift SPM target (SPM cannot build mixed ObjC+Swift). Moves sources to Sources/biometric_storage/, adds Package.swift, drops the now-empty public_header_files, repoints the podspec.
…al file (#4)

The iOS Sources' BiometricStorageImpl.swift was a symlink to ../../macos/Classes/BiometricStorageImpl.swift. The macOS SPM migration moved that file out of macos/Classes/, so the symlink dangled and SPM failed with 'Cannot find BiometricStorageImpl in scope' (CocoaPods tolerated the old layout; SPM does not). Replace it with a real copy of the shared impl (imports LocalAuthentication; no platform-specific code). macOS keeps its own real copy.

Validated by flutter build ios on the hellohq app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants