forked from langx/langx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
34 lines (32 loc) · 856 Bytes
/
capacitor.config.ts
File metadata and controls
34 lines (32 loc) · 856 Bytes
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
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'tech.newchapter.languageXchange',
appName: 'languageXchange',
webDir: 'www',
server: {
androidScheme: 'https',
},
plugins: {
SplashScreen: {
launchShowDuration: 2000,
},
PushNotifications: {
presentationOptions: ['badge', 'alert', 'sound'],
},
Badge: {
persist: true,
autoClear: false,
},
CapacitorUpdater: {
appReadyTimeout: 1000, // (1 second)
responseTimeout: 10, // (10 second)
autoDeleteFailed: false,
autoDeletePrevious: false,
autoUpdate: false,
resetWhenUpdate: false,
updateUrl: 'https://api.languagexchange.net/api/update/auto_update',
statsUrl: 'https://api.languagexchange.net/api/update/stats',
},
},
};
export default config;