-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcapacitor.config.ts
44 lines (42 loc) · 1.14 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
import { CapacitorConfig } from '@capacitor/cli';
import { KeyboardResize, KeyboardStyle } from '@capacitor/keyboard';
const config: CapacitorConfig = {
appId: 'no.nve.regobs4',
appName: 'Varsom',
webDir: 'www',
server: {
iosScheme: 'ionic',
},
plugins: {
SplashScreen: {
launchAutoHide: false,
},
Keyboard: {
resize: KeyboardResize.Ionic,
resizeOnFullScreen: true,
style: KeyboardStyle.Default,
},
},
cordova: {
preferences: {
ScrollEnabled: 'false',
'android-minSdkVersion': '24',
'android-compileSdkVersion': '30',
'android-build-tool': '30.0.3',
'android-targetSdkVersion': '30',
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;