-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
24 lines (22 loc) · 864 Bytes
/
Copy pathcapacitor.config.ts
File metadata and controls
24 lines (22 loc) · 864 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
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'io.friendsnone.ledger',
appName: 'Ledger',
// P3e cutover: the native build now ships the Svelte app from dist/ (was www/).
webDir: 'dist',
server: {
// Opt-in, end-to-end-encrypted GitHub sync is the app's only network call.
// Nothing else is reachable, and nothing leaves the device unencrypted.
allowNavigation: ['api.github.com']
},
plugins: {
SystemBars: {
// The app's own default theme is "system", so start the bars there too and
// let native.js take over once applyTheme() has resolved. Under Capacitor 8
// the bars are transparent (edge-to-edge) and --paper shows through, which
// is what makes the status bar #f4f1ea in the light theme.
style: 'DEFAULT'
}
}
};
export default config;