-
Notifications
You must be signed in to change notification settings - Fork 116
/
capacitor.config.ts
53 lines (50 loc) · 1.33 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
51
52
53
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-community/bluetooth-le',
'@capacitor-mlkit/barcode-scanning',
'@capacitor/app',
'@capacitor/filesystem',
'@capacitor/clipboard',
'@capacitor/share',
'@capacitor/haptics',
'@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',
'mtw-capacitor-usb-hid',
'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;