forked from mytonwalletorg/mytonwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
capacitor.config.ts
50 lines (47 loc) · 1.23 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
49
50
import type { CapacitorConfig } from '@capacitor/cli';
const { APP_ENV = 'production' } = process.env;
const config: CapacitorConfig = {
appId: 'org.mytonwallet.app',
appName: 'MyTonWallet',
webDir: 'dist',
server: {
androidScheme: 'https',
hostname: 'mytonwallet.local',
},
android: {
path: 'mobile/android',
includePlugins: [
'@capacitor-mlkit/barcode-scanning',
'@capacitor/app',
'@capacitor/clipboard',
'@capacitor/haptics',
'@capacitor/status-bar',
'@capgo/capacitor-native-biometric',
'@capgo/native-audio',
'@mauricewegner/capacitor-navigation-bar',
'@sina_kh/mtw-capacitor-status-bar',
'capacitor-native-settings',
'capacitor-plugin-safe-area',
'cordova-plugin-inappbrowser',
'native-dialog',
'native-bottom-sheet',
'capacitor-secure-storage-plugin',
'@capacitor/app-launcher',
],
webContentsDebuggingEnabled: APP_ENV !== 'production',
},
ios: {
path: 'mobile/ios',
scheme: 'MyTonWallet',
webContentsDebuggingEnabled: APP_ENV !== 'production',
},
plugins: {
SplashScreen: {
launchAutoHide: false,
},
CapacitorHttp: {
enabled: true,
},
},
};
export default config;