- 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>
23 lines
424 B
JSON
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"
|
|
}
|
|
}
|
|
}
|