-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
52 lines (50 loc) · 1.38 KB
/
capacitor.config.ts
File metadata and controls
52 lines (50 loc) · 1.38 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
import { CapacitorConfig } from '@capacitor/cli';
import { KeyboardResize, KeyboardStyle } from '@capacitor/keyboard';
const config: CapacitorConfig = {
appId: 'no.nve.regobs4',
appName: 'Varsom',
webDir: 'www/browser',
server: {
iosScheme: 'ionic',
},
plugins: {
StatusBar: {
backgroundColor: '#00425f',
style: 'DARK',
overlaysWebView: false,
},
SplashScreen: {
launchAutoHide: false,
},
Keyboard: {
resize: KeyboardResize.Ionic,
resizeOnFullScreen: true, // RO-3111: Hindre at tataturet dekker over tekstfelt i Android 15 og 16
style: KeyboardStyle.Default,
},
},
android: {
adjustMarginsForEdgeToEdge: 'auto',
},
cordova: {
preferences: {
ScrollEnabled: 'false',
'android-minSdkVersion': '24',
'android-compileSdkVersion': '35',
'android-build-tool': '30.0.3',
'android-targetSdkVersion': '35',
BackupWebStorage: 'none',
SplashMaintainAspectRatio: 'true',
AutoHideSplashScreen: 'true',
SplashShowOnlyFirstTime: 'false',
SplashScreen: 'screen',
SplashScreenDelay: '3000',
FadeSplashScreenDuration: '300',
AndroidLaunchMode: 'singleTask',
AndroidPersistentFileLocation: 'Compatibility',
WKWebViewOnly: 'true',
ResolveServiceWorkerRequests: 'true',
AndroidXEnabled: 'true',
},
},
};
export default config;