-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcapacitor.config.ts
40 lines (37 loc) · 1.03 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
import { CapacitorConfig } from "@capacitor/cli";
const config: CapacitorConfig = {
appId: "com.premifarm.grower",
appName: "Premifarm",
webDir: "build",
loggingBehavior: "debug",
bundledWebRuntime: false,
server: {
androidScheme: "http",
iosScheme: "http",
cleartext: true,
allowNavigation: ["http://192.168.4.1", "https://192.168.4.1", "http://192.168.191.193", "https://192.168.191.193"],
},
plugins: {
LocalNotifications: {
smallIcon: "ic_stat_icon_config_sample",
iconColor: "#488AFF",
sound: "beep.wav",
},
SplashScreen: {
launchShowDuration: 3000,
launchAutoHide: true,
backgroundColor: "#ffffffff",
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;