ClipSync v3.0.0 — Major Sync & Performance Update #23
WinShell-Bhanu
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Changelog
v3.0.0
Major Features & Architectural Changes
Dual Sync Modes (Local LAN/BLE & Cloud): Shifted the core architecture to prioritize completely offline, local transfers using Bluetooth Low Energy (BLE) and Local Area Network (LAN). The legacy Firebase Cloud Sync has been fully retained as an alternative. Users can now seamlessly toggle between two distinct sync options tailored for maximum privacy/speed (Local) or global connectivity (Cloud).
macOS: Leverages Apple's
Network.framework(NWListener) and Bonjour/mDNS (NWListener.Service) to advertise the sync service on the local subnet.Android: Binds a raw
ServerSocketto an ephemeral port viaAndroidTcpReceiverfor high-throughput TCP socket connections, handling large file transfers securely without external servers.Cross-Device Image Sync: Upgraded the clipboard pipeline to seamlessly serialize and synchronize rich media (images) alongside standard text and OTPs.
Dedicated Mode: Ultra-Fast Transfer: Introduced a dedicated mode designed for maximum throughput. It bypasses JVM boundaries on Android and actively strips AES-256 encryption on macOS to match or exceed AirDrop speeds for large file transfers.
Automated OTP Sync & Global Connectivity
Added intelligent parsing of incoming SMS/Notifications to extract One-Time Passwords.
BLE & Cloud Fallback Architecture: When devices are in proximity and Bluetooth Low Energy (BLE) is enabled, sync operates directly and instantly over BLE. If BLE is unavailable and the app is in Cloud Sync mode, the pipeline falls back to using Firebase Firestore as a secure cloud relay—ensuring text and OTPs sync seamlessly even when devices are on entirely different networks (e.g., Mobile Data vs. Wi-Fi).
Security & Privacy Hardening
UserDefaultsto the secure macOS Keychain via a customKeychainHelper.swift. Included an idempotent migration path on app startup.EncryptedSharedPreferencesbacked by the Android hardwareKeystore.android:usesCleartextTraffic=truedirective from theAndroidManifest.xml.accessibility_service_config.xmland manifest declarations to request only the exact interaction events required, preventing over-broad system monitoring.Bug Fixes & Reliability
isEncryptedboolean flag within Firestore documents to correctly branch decryption logic on macOS.This discussion was created from the release ClipSync v3.0.0 — Major Sync & Performance Update.
All reactions