-
Notifications
You must be signed in to change notification settings - Fork 14
/
capacitor.config.ts
50 lines (48 loc) · 1.32 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
import { CapacitorConfig } from '@capacitor/cli'
const config: CapacitorConfig = {
appId: 'org.phidatalab.radar_armt',
appName: 'RADAR Questionnaire',
webDir: 'www',
server: {
androidScheme: 'https'
},
plugins: {
SplashScreen: {
launchAutoHide: true,
backgroundColor: '#000000',
androidSplashResourceName: 'splash',
androidScaleType: 'CENTER_CROP',
showSpinner: true,
androidSpinnerStyle: 'large',
iosSpinnerStyle: 'small',
spinnerColor: '#999999',
splashFullScreen: true,
splashImmersive: true
},
PushNotifications: {
presentationOptions: ['badge', 'sound', 'alert']
},
FirebaseMessaging: {
presentationOptions: ['badge', 'sound', 'alert']
}
},
cordova: {
preferences: {
DisallowOverscroll: 'true',
BackgroundColor: '0xff6d9aa5',
Orientation: 'portrait',
SplashScreen: 'screen',
SplashScreenBackgroundColor: '0xff6d9aa5',
FadeSplashScreen: 'true',
FadeSplashScreenDuration: '1000',
SplashScreenDelay: '3000',
AutoHideSplashScreen: 'false',
LoadUrlTimeoutValue: '700000',
ShowSplashScreenSpinner: 'false',
SplashScreenSpinnerColor: '0xffffffff',
SplashMaintainAspectRatio: 'true',
SplashShowOnlyFirstTime: 'false'
}
}
}
export default config