-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
43 lines (41 loc) · 984 Bytes
/
capacitor.config.ts
File metadata and controls
43 lines (41 loc) · 984 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
40
41
42
43
import type { CapacitorConfig } from '@capacitor/cli'
const config: CapacitorConfig = {
appId: 'chat.kernel.app',
appName: 'Kernel',
webDir: 'dist',
server: {
// In production, serve from bundled web assets
// For dev, uncomment the url below to hot-reload from Vite dev server
// url: 'http://localhost:5173',
androidScheme: 'https',
},
plugins: {
PushNotifications: {
presentationOptions: ['badge', 'sound', 'alert'],
},
StatusBar: {
style: 'DARK',
backgroundColor: '#FAF9F6',
},
SplashScreen: {
launchAutoHide: true,
launchShowDuration: 2000,
backgroundColor: '#FAF9F6',
showSpinner: false,
},
Keyboard: {
resize: 'body',
resizeOnFullScreen: true,
},
},
ios: {
scheme: 'Kernel',
contentInset: 'automatic',
backgroundColor: '#FAF9F6',
preferredContentMode: 'mobile',
},
android: {
backgroundColor: '#FAF9F6',
},
}
export default config