- Updated the application namespace and ID from "net.ypchat.app" to "de.ypchat.android" for better alignment with branding. - Increased Gradle heap size settings to optimize build performance. - Disabled dependency constraints to simplify dependency management. - Removed obsolete files related to the previous application structure, including MainActivity, YpChatApp, and various core components, streamlining the codebase. These changes collectively enhance the application's configuration and structure, improving maintainability and performance.
YPChat iOS
Native iOS-App (SwiftUI): P0–P3 wie zuvor; P4 vollständige UI wie YpChatRoot.kt: Login, Tabs (Online, Suche, Posteingang, Verlauf, Konsole, Mehr), Chat mit Smileys/PhotosPicker, Feedback & Partner, de/en Localizable.strings.
Ausführlicher Gesamtplan: docs/ios-app-umsetzungsplan.md.
Voraussetzungen
- macOS mit Xcode 15+
- Apple-ID / Developer Team für Geräte-Builds (Simulator geht ohne kostenpflichtiges Programm)
Projekt öffnen
open ios/YpChat.xcodeproj
Xcode lädt das Swift-Paket socket.io-client-swift (Produkt SocketIO) beim ersten Öffnen automatisch (File → Packages → Resolve Package Versions bei Problemen).
- Target YpChat → Signing & Capabilities: Team wählen (sonst schlägt der Build auf dem Gerät fehl).
- Scheme YpChat, Ziel iPhone-Simulator oder echtes Gerät.
- Run (⌘R).
BASE_URL
Wie unter Android (ypchat.baseUrl / Standard https://www.ypchat.net):
ios/Config/Debug.xcconfigbzw.Release.xcconfig: VariableBASE_URL- Wird per
$(BASE_URL)inYpChat/Resources/Info.plisteingetragen und zur Laufzeit inAppConfig.baseURLgelesen.
Aktueller Funktionsstand
- Start lädt automatisch GET /api/session (Pull-to-refresh ebenfalls).
- Logout: Socket trennen, POST /api/logout, Cookies leeren, Session erneut laden.
- UI (P4):
ContentView→YpChatRoot(UI/YpChatRoot.swift,YpChatMoreChatViews.swift). Steuerung überservices.repository. Lokalisierung:Resources/de.lproj+en.lproj. - Repository: unverändert zentral; Timeout, Socket-
reduce, REST wie Android.
Optional: Feinschliff (Dark Mode, größere Schrift), P5 bereits durch Bild-Upload in der Chat-Ansicht abgedeckt.
App-Icon
AppIcon.appiconset ist als Platzhalter ohne PNG angelegt. Für Archive/TestFlight in Xcode ein 1024×1024-Icon hinterlegen oder Asset-Generator nutzen.