-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
43 lines (38 loc) · 1.07 KB
/
capacitor.config.ts
File metadata and controls
43 lines (38 loc) · 1.07 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
/// <reference types="@capacitor/splash-screen" />
/* TODO apply later
/// <reference types="@capacitor/local-notifications" />
/// <reference types="@capacitor/push-notifications" />
*/
import { CapacitorConfig } from '@capacitor/cli'
const config: CapacitorConfig = {
appId: 'com.mocomoco.hama',
appName: 'hama',
webDir: 'build',
bundledWebRuntime: false,
loggingBehavior: 'debug', // TODO change to 'debug' when release
android: {
allowMixedContent: true, // TODO change to false when release
},
// server: {
// androidScheme: 'https',
// },
plugins: {
SplashScreen: {
launchShowDuration: 900,
launchAutoHide: true,
backgroundColor: '#954fb8', // statusbar color on launch
showSpinner: false,
splashFullScreen: false,
splashImmersive: false,
},
// TODO apply later
// LocalNotifications: {
// smallIcon: 'ic_stat_icon_config_sample',
// iconColor: '#CE0B7C',
// },
// PushNotifications: {
// presentationOptions: ["alert", "sound"]
// }
},
}
export = config