Init Coach Hypnotruck iOS — Capacitor 8 wrapper
- Capacitor 8 + plugins natifs (push, local-notif, geoloc, HealthKit Capgo, splash, status bar, haptics) - Config pointe vers https://coach.hypnotruck.ch (server.url) - Icône 1024×1024 + splash 2732×2732 depuis icon-512 PWA coach_sportif - README complet avec procédure build sur Mac mini - Bundle ID : ch.hypnotruck.coach, App name : Coach Hypnotruck
This commit is contained in:
45
capacitor.config.ts
Normal file
45
capacitor.config.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
import type { CapacitorConfig } from '@capacitor/cli';
|
||||
|
||||
const config: CapacitorConfig = {
|
||||
appId: 'ch.hypnotruck.coach',
|
||||
appName: 'Coach Hypnotruck',
|
||||
webDir: 'www',
|
||||
|
||||
server: {
|
||||
url: 'https://coach.hypnotruck.ch',
|
||||
cleartext: false,
|
||||
androidScheme: 'https',
|
||||
},
|
||||
|
||||
ios: {
|
||||
contentInset: 'always',
|
||||
scrollEnabled: true,
|
||||
limitsNavigationsToAppBoundDomains: false,
|
||||
backgroundColor: '#ffffff',
|
||||
},
|
||||
|
||||
plugins: {
|
||||
SplashScreen: {
|
||||
launchShowDuration: 1500,
|
||||
launchAutoHide: true,
|
||||
backgroundColor: '#ffffff',
|
||||
showSpinner: false,
|
||||
splashImmersive: false,
|
||||
},
|
||||
StatusBar: {
|
||||
style: 'DEFAULT',
|
||||
backgroundColor: '#ffffff',
|
||||
overlaysWebView: false,
|
||||
},
|
||||
PushNotifications: {
|
||||
presentationOptions: ['badge', 'sound', 'alert'],
|
||||
},
|
||||
LocalNotifications: {
|
||||
smallIcon: 'ic_stat_icon_config_sample',
|
||||
iconColor: '#488AFF',
|
||||
sound: 'beep.wav',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user