Skip to content

Add a QS Tile for syncing clipboard#74

Merged
sameerasw merged 27 commits intosameerasw:developfrom
Mudit200408:main
Feb 18, 2026
Merged

Add a QS Tile for syncing clipboard#74
sameerasw merged 27 commits intosameerasw:developfrom
Mudit200408:main

Conversation

@Mudit200408
Copy link
Contributor

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 😄

sameerasw and others added 22 commits September 18, 2025 22:29
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.
@Ivorisnoob
Copy link

You might need to work more on the UI and UX side, Thanks.

@Mudit200408
Copy link
Contributor Author

screen-20260204-162823-1770202695403.mp4

@Ivorisnoob
Reworked on UI/UX for clipboard syncing

@Ivorisnoob
Copy link

@sameerasw

sameerasw and others added 2 commits February 7, 2026 11:45
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!
@sameerasw
Copy link
Owner

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 android.permission.RECEIVE_BOOT_COMPLETED permission and try to implement without using it? I have had this for a feature in the past and gave me pain during play store approval as they hate such permissions which can be used for wake locks and such scenarios.

Thanks <3

@Mudit200408
Copy link
Contributor Author

Hey @sameerasw
Great to see your reply, Yes the clipboard sync works even if you are outside the Airsync app just like magic
here is a screen recording of that in action 👇

WhatsApp.Video.2026-02-14.at.14.24.55.mp4

I will check if it is possible to workaround android.permission.RECEIVE_BOOT_COMPLETED this since that implementation is taken from KDE Connect.
Will get back to u. with more info... 👍

@sameerasw
Copy link
Owner

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!

@sameerasw sameerasw changed the base branch from main to develop February 14, 2026 11:35
@sameerasw sameerasw moved this from Backlog to In progress in AirSync Features and Bugs Feb 14, 2026
@sameerasw sameerasw moved this from In progress to In review in AirSync Features and Bugs Feb 14, 2026
…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]
@Mudit200408
Copy link
Contributor Author

Mudit200408 commented Feb 15, 2026

@sameerasw
Hey there,
I have added a workaround to instead use MediaNotificationListener to trigger the AirSyncService on boot and removed that permission.
If possible can u check it out
It works great in my testing without any issues [As of now]

Commit Link 👇
Mudit200408@4d725db

@sameerasw
Copy link
Owner

@sameerasw
Hey there,
I have added a workaround to instead use MediaNotificationListener to trigger the AirSyncService on boot and removed that permission.
If possible can u check it out
It works great in my testing without any issues [As of now]

Commit Link 👇
Mudit200408@4d725db

Thanks, I'll take a look and compile myself soon and get back to you. 👏

@sameerasw
Copy link
Owner

Thanks for the feature,
One small recommendation is to mention all changes you did when opening a PR and also try to separate each changes into separate PRs feature wise as it helps to isolate things :)

@sameerasw sameerasw merged commit 3494e88 into sameerasw:develop Feb 18, 2026
@github-project-automation github-project-automation bot moved this from In review to Done in AirSync Features and Bugs Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

Comments