-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
51 lines (49 loc) · 1.33 KB
/
capacitor.config.ts
File metadata and controls
51 lines (49 loc) · 1.33 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
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.emilionicoli.webllmapp',
appName: 'WebLLM Chat',
webDir: 'build',
ios: {
webSecurity: false,
allowsBackForwardNavigationGestures: false,
scheme: 'capacitor',
contentInset: 'automatic',
scrollEnabled: true,
backgroundColor: '#000000',
preferredContentMode: 'mobile',
limitsNavigationsToAppBoundDomains: false,
allowsInlineMediaPlayback: true,
allowsAirPlayForMediaPlayback: false,
mediaPlaybackRequiresUserGesture: false,
suppresses3DTouchGesture: false,
suppressesIncrementalRendering: false,
hideLogs: false,
inspectable: true,
minWebkitVersion: '14.0'
},
server: {
androidScheme: 'https',
iosScheme: 'capacitor',
hostname: 'localhost',
cleartext: false,
allowNavigation: ['*']
},
plugins: {
SplashScreen: {
launchShowDuration: 0,
launchAutoHide: true,
backgroundColor: '#000000',
androidSplashResourceName: 'splash',
androidScaleType: 'CENTER_CROP',
showSpinner: true,
androidSpinnerStyle: 'large',
iosSpinnerStyle: 'small',
spinnerColor: '#999999',
splashFullScreen: true,
splashImmersive: true,
layoutName: 'launch_screen',
useDialog: true
}
}
};
export default config;