-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
39 lines (37 loc) · 853 Bytes
/
Copy pathcapacitor.config.ts
File metadata and controls
39 lines (37 loc) · 853 Bytes
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
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.tomfong.simpleqr',
appName: 'Simple QR',
webDir: 'www',
android: {
initialFocus: false,
adjustMarginsForEdgeToEdge: "force"
},
plugins: {
SplashScreen: {
useDialog: false,
androidScaleType: "CENTER_CROP",
backgroundColor: '#00a5aa',
launchAutoHide: false,
androidSplashResourceName: "splash",
showSpinner: false,
splashFullScreen: true,
splashImmersive: true,
layoutName: "launch_screen",
},
EdgeToEdge: {
backgroundColor: '#000000', // Opaque black
},
},
cordova: {
preferences: {
ScrollEnabled: 'false',
BackupWebStorage: 'none',
orientation: 'portrait'
}
},
server: {
iosScheme: "ionic"
}
};
export default config;