-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
43 lines (40 loc) · 1.03 KB
/
capacitor.config.ts
File metadata and controls
43 lines (40 loc) · 1.03 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
import * as dotenv from "dotenv";
import path from "path";
import type { CapacitorConfig } from "@capacitor/cli";
dotenv.config({ path: path.resolve(__dirname, ".env.production") });
const config: CapacitorConfig = {
appId: "com.nadab.app",
appName: "나답",
webDir: "dist",
server: {
androidScheme: "https",
hostname: "nadab-fe.vercel.app",
},
plugins: {
CapacitorHttp: {
enabled: true,
},
CapacitorCookies: {
enabled: true,
},
GoogleAuth: {
scopes: ["profile", "email"],
serverClientId: process.env.VITE_GOOGLE_CLIENT_ID_SERVER,
forceCodeForRefreshToken: true,
},
CapacitorNaverLogin: {
clientId: process.env.VITE_NAVER_CLIENT_ID,
clientSecret: process.env.VITE_NAVER_CLIENT_SECRET,
clientName: "nadab",
urlScheme: "com.nadab.app",
},
SplashScreen: {
launchAutoHide: false,
androidScaleType: "FIT_CENTER",
},
PushNotifications: {
presentationOptions: ["badge", "sound"],
},
},
};
export default config;