Add a QS Tile for syncing clipboard#74
Conversation
version upgrade
UI redesign, Reconnect fix, and more
Develop - Remote, Essentials and UI updates
Develop - Connection redesign, Discovery, Notification priorities...
- Added QS tile for manual clipboard syncing. - Uses transparent activity to bypass Android 10+ background limits. - Updated settings with discovery tip and new icon. - Fixed API 34+ compatibility using PendingIntent.
|
You might need to work more on the UI and UX side, Thanks. |
screen-20260204-162823-1770202695403.mp4@Ivorisnoob |
Develop - clipboard file sync and efficiency
Implemented a robust and battery-efficient background connection strategy inspired by KDE Connect. Device-Specific Implementation (Android): - **AirSyncService**: Updated to run as a persistent foreground service that intelligently toggles between "Active" and "Passive" discovery modes based on app state. - **Network Monitoring**: Integrated ConnectivityManager callbacks to trigger immediate discovery bursts when Wi-Fi connects. - **Boot Receiver**: Added logic to start the passive listener immediately on device boot. This ensures the Android device is instantly discoverable by the Mac without draining the battery. Note: Architecture adapted from KDE Connect. Implementation was more than partially vibe coded with Antigravity, but in my testing it works perfectly!
|
Hi @Mudit200408 great work so far, Sorry for the late review.... I got some clarifications to get.... First, does this work outside the AirSync app? Like on a random app, if we copy something and try to sync, does it sync that properly? I haven't looked into the overlay activity method much but otherwise it was not possible which got me curious. And also, can we workaround Thanks <3 |
|
Hey @sameerasw WhatsApp.Video.2026-02-14.at.14.24.55.mp4I will check if it is possible to workaround |
|
Ohh this is nice, check if that permission can be dealt with but if not, still I will later look for a workaround as this is already a nice feature! |
…fication text It now uses MediaNotificationListener to trigger the AirSyncService on boot. TEST:- Restart the device and Airsync will automatically connect to Mac [Make sure notification permission is granted]
|
@sameerasw Commit Link 👇 |
Thanks, I'll take a look and compile myself soon and get back to you. 👏 |
|
Thanks for the feature, |
screen-20260202-195416-1770042236753.mp4
Video Recording of the QS Tile clipboard syncing feature working....
Please review the code so that i can learn
Thank You 😄