@capacitor-community/sqlite
This is the description on how to use the BIOMETRIC AUTHENTICATION to secure the secret of the @capacitor-community/sqlite.
npm i --save @capacitor-community/sqlite@latest
Modify the capacitor-config.ts
file of your application
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'YOUR_APP_ID',
appName: 'YOUR_APP_NAME',
webDir: 'www',
bundledWebRuntime: false,
plugins: {
CapacitorSQLite: {
iosKeychainPrefix: 'YOUR_APP_NAME',
iosBiometric: {
biometricAuth: true
biometricTitle : "Biometric login for capacitor sqlite",
},
androidBiometric: {
biometricAuth : true,
biometricTitle : "Biometric login for capacitor sqlite",
biometricSubTitle : "Log in using your biometric"
}
}
}
};
export default config;