30 lines
743 B
TypeScript
30 lines
743 B
TypeScript
|
import type { CapacitorConfig } from '@capacitor/cli';
|
||
|
|
||
|
const config: CapacitorConfig = {
|
||
|
appId: 'com.example.bill',
|
||
|
appName: '个人账单',
|
||
|
webDir: 'dist',
|
||
|
server: {
|
||
|
androidScheme: 'https'
|
||
|
},
|
||
|
plugins: {
|
||
|
CapacitorSQLite: {
|
||
|
iosDatabaseLocation: 'Library/CapacitorDatabase',
|
||
|
iosIsEncryption: false,
|
||
|
iosKeychainPrefix: 'bill',
|
||
|
iosBiometric: {
|
||
|
biometricAuth: false,
|
||
|
biometricTitle: "Biometric login for capacitor sqlite"
|
||
|
},
|
||
|
androidIsEncryption: false,
|
||
|
androidBiometric: {
|
||
|
biometricAuth: false,
|
||
|
biometricTitle: "Biometric login for capacitor sqlite",
|
||
|
biometricSubTitle: "Log in using your biometric"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export default config;
|