-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcapacitor.config.ts
48 lines (46 loc) · 1.14 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
import { CapacitorConfig } from "@capacitor/cli";
const config: CapacitorConfig = {
appId: "beaver.notes.pocket",
appName: "Beaver Pocket",
webDir: "dist",
plugins: {
SplashScreen: {
launchShowDuration: 3000,
launchAutoHide: true,
launchFadeOutDuration: 3000,
backgroundColor: "#ffffffff",
androidSplashResourceName: "splash",
androidScaleType: "CENTER_CROP",
showSpinner: false,
androidSpinnerStyle: "large",
iosSpinnerStyle: "small",
spinnerColor: "#999999",
splashFullScreen: true,
splashImmersive: true,
layoutName: "launch_screen",
useDialog: true,
},
GoogleAuth: {
scopes: ["profile", "email", "https://www.googleapis.com/auth/drive"],
serverClientId: process.env.VITE_ANDROID_GOOGLE_CLIENT_ID,
forceCodeForRefreshToken: true,
},
Keyboard: {
//@ts-ignore
resize: "none",
},
CapacitorHttp: {
enabled: true,
},
},
server: {
androidScheme: "https",
},
android: {
buildOptions: {
keystorePath: "undefined",
keystoreAlias: "undefined",
},
},
};
export default config;