Files
swyx/app/assets/config/app_config.json
Sven Carstensen ef4fa38244 Flutter-App mit WebView, STOMP-Client und Konfigurationssystem
- Flutter-App (app/) für iOS, Android, macOS, Windows und Linux erstellt
- WebView-Startseite mit flutter_inappwebview (iOS/Android/macOS/Windows),
  Linux-Fallback mit url_launcher
- STOMP-over-WebSocket: Topic-basierte Echtzeit-Kommunikation zwischen
  Flutter-App und Spring Boot Core
- Core: STOMP-Broker (/ws/stomp), CallEventBroadcaster auf /topic/calls,
  StompMessageController für /app/ping und /app/broadcast
- SecurityConfig: /ws/** permitAll + CSRF-Ausnahme
- Asset-basierte Konfigurationsdatei (app_config.json) für Server-URL,
  STOMP-Reconnect, Topics und WebView-URL
- launch.json um Flutter-Debug/Profile/Release-Konfigurationen erweitert
- macOS: FLTEnableMergedPlatformUIThread deaktiviert (WKWebView-Kompatibilität),
  network.client Entitlement gesetzt
- iOS: NSAllowsLocalNetworking für lokale Entwicklung
- Android: INTERNET-Permission und usesCleartextTraffic

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-20 10:32:14 +02:00

23 lines
424 B
JSON

{
"server": {
"stompUrl": "ws://localhost:8080/ws/stomp",
"reconnectDelaySeconds": 5,
"webviewUrl": "https://test.sb.assecutor.de"
},
"topics": {
"default": "/topic/calls",
"presets": [
"/topic/calls",
"/topic/pong",
"/topic/messages"
]
},
"send": {
"defaultDestination": "/app/ping",
"defaultPayload": {
"from": "flutter",
"note": "hello"
}
}
}