Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.21 KB

Biometric-Authentication.md

File metadata and controls

44 lines (35 loc) · 1.21 KB


BIOMETRIC AUTHENTICATION USAGE DOCUMENTATION

@capacitor-community/sqlite


Only for Native Applications

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;