-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcapacitor.config.ts
62 lines (57 loc) · 1.64 KB
/
capacitor.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { CapacitorConfig } from '@capacitor/cli';
import { CapacitorHttp } from '@capacitor/core';
import { KeyboardResize, KeyboardStyle } from '@capacitor/keyboard'
const config: CapacitorConfig = {
appId: 'com.ponzs.talkflow',
appName: 'TalkFlow',
webDir: 'dist',
server: {
// iosScheme: 'https',
// androidScheme: 'https',
// url: 'http://192.168.50.36:5173',
// cleartext: true,
},
plugins: {
CapacitorHttp: {
enabled: true,
},
// BackgroundRunner: {
// label: 'com.talkflow.background.task',
// src: 'runners/background.js',
// event: 'checkMessages',
// repeat: true,
// interval: 15,
// autoStart: true,
// },
Keyboard: {
resize: KeyboardResize.None,
resizeOnFullScreen: true,
// scrollAssist: false,
//hideOnScroll: true,
// resizeOnFullScreen: false,
// hideFormAccessoryBar: true,
// enableScroll: false,
},
CapacitorSQLite: {
migrate: true,
iosDatabaseLocation: 'Library/CapacitorDatabase',
iosIsEncryption: true,
iosKeychainPrefix: 'talkflow',
iosBiometric: {
biometricAuth: false,
biometricTitle : "Biometric login for capacitor sqlite"
},
androidIsEncryption: true,
androidBiometric: {
biometricAuth : false,
biometricTitle : "Biometric login for capacitor sqlite",
biometricSubTitle : "Log in using your biometric"
},
electronIsEncryption: true,
electronWindowsLocation: "C:\\ProgramData\\CapacitorDatabases",
electronMacLocation: "~/Databases/",
electronLinuxLocation: "Databases"
}
}
};
export default config;