@ohos-ports/capacitor-native-biometric
v4.2.2-beta.0
Published
HarmonyOS (OpenHarmony) port of capacitor-native-biometric: native biometric plugin. Credentials/keystore APIs work via a compiled Asset Store Kit NDK addon; biometric availability APIs (isAvailable/verifyIdentity/getAvailableBiometrics/authenticate) rema
Readme
@ohos-ports/capacitor-native-biometric
HarmonyOS (OpenHarmony) port of capacitor-native-biometric for Node.js on HarmonyOS.
HarmonyOS support status (partial)
This port ships a source-compiled Asset Store Kit NDK native addon
(native/capacitor_asset_keystore.node, built with OHOS clang for
aarch64-linux-ohos, packaged as prebuilds/openharmony-arm64/).
Working (genuinely verified against the system secure-asset service):
setCredentials/getCredentials/deleteCredentialssetInstrument/setObject/getSecret/removeSecret
Unavailable (honest rejection, not faked):
isAvailable/verifyIdentity/getAvailableBiometrics/authenticate
These biometric APIs require the userIAM biometric service, which exposes no NDK C API reachable from a non-HAP Node.js process. They keep the upstream "Method not implemented" behavior until an ArkTS host bridge exists.
Platform identifier for the binary: openharmony (aarch64).
