-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
71 lines (69 loc) · 2.21 KB
/
capacitor.config.ts
File metadata and controls
71 lines (69 loc) · 2.21 KB
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
63
64
65
66
67
68
69
70
71
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'uk.webful.passwordmaker',
appName: 'Webful PasswordMaker',
webDir: 'www/browser',
cordova: {
preferences: {
permissions: 'none',
ScrollEnabled: 'false',
BackupWebStorage: 'none',
MixedContentMode: '1',
}
},
android: {
},
ios: {
scheme: 'Webful PasswordMaker',
},
plugins: {
CapacitorShareTarget: {
appGroupId: "group.urlshare.uk.webful.passwordmaker",
},
CapacitorSQLite: {
iosDatabaseLocation: 'Library/CapacitorDatabase',
iosIsEncryption: true,
iosKeychainPrefix: 'webful-passwordmaker',
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: "/Volumes/Development_Lacie/Development/Databases",
electronLinuxLocation: "Databases"
},
PrivacyScreen: {
enable: true,
imageName: 'Splashscreen',
},
StatusBar: {
// I've not yet found an Android 13 config that works with the modern plugins
// and also keeps the statusbar purple to emulate edge-to-edge; this seems to
// be the least bad option for now to at least keep it in a default system
// style and legible.
backgroundColor: '#a11692', // Seems useful on modern iOS still
style: 'LIGHT',
overlaysWebView: false,
},
SystemBars: {
// This is automatically handled well on modern Android but I couldn't get
// the legacy Android CSS from https://capacitorjs.com/docs/apis/system-bars#android-note
// to do anything useful that didn't break any platforms.
insetsHandling: 'css',
hidden: false,
animation: 'NONE'
},
},
server: {
androidScheme: 'http', // https://capacitorjs.com/docs/updating/5-0#update-androidscheme
iosScheme: 'ionic',
}
};
export default config;