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>
This commit is contained in:
2026-04-20 10:32:14 +02:00
parent a5ed2b3355
commit ef4fa38244
134 changed files with 5961 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
import Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewController()
let windowFrame = self.frame
self.contentViewController = flutterViewController
self.setFrame(windowFrame, display: true)
RegisterGeneratedPlugins(registry: flutterViewController)
super.awakeFromNib()
}
}