-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.ts
More file actions
26 lines (24 loc) · 872 Bytes
/
Copy pathcapacitor.config.ts
File metadata and controls
26 lines (24 loc) · 872 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
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'vin.evan.scopa',
appName: 'Scopa Score',
webDir: 'dist',
plugins: {
SplashScreen: {
// Matches @drawable/splash background — keeps the launcher splash and
// any Capacitor-managed splash visually identical.
backgroundColor: '#2563eb',
// Don't show the legacy spinner; the splash is brief enough that
// adding a spinner reads as "loading", not "branded launch".
showSpinner: false,
// Brief launch flash — the React app hydrates fast over local SQLite,
// so 1.5s is enough to register without feeling sluggish.
launchShowDuration: 1500,
launchAutoHide: true,
androidScaleType: 'CENTER_CROP',
splashFullScreen: true,
splashImmersive: true,
},
},
};
export default config;