Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward phone notifications #8

Closed
AMDG2 opened this issue Mar 9, 2018 · 4 comments
Closed

Forward phone notifications #8

AMDG2 opened this issue Mar 9, 2018 · 4 comments

Comments

@AMDG2
Copy link

AMDG2 commented Mar 9, 2018

Thank you for this incredible tool !

Do you think it is possible to forward the notifications from the phone to the PC ?

@rom1v
Copy link
Collaborator

rom1v commented Mar 9, 2018

Technically, it's possible (like KDEConnect).

But I'm not sure this feature makes sense for scrcpy: the screen is displayed on your computer (notifications included), why add desktop notifications?

@rom1v rom1v changed the title Feature request: forward phone notifications Forward phone notifications Mar 9, 2018
@AMDG2
Copy link
Author

AMDG2 commented Mar 9, 2018

To be able to keep it in the background and be interrupted while doing something else on the computer.

But I can understand that this is out of scope :)

@rom1v
Copy link
Collaborator

rom1v commented Mar 9, 2018

But I can understand that this is out of scope :)

Moreover, currently, there is exactly one socket between device and computer, from the device to the computer for the raw video (without any additional layer to avoids copies/demuxing), and for input events from the computer to the device.

Such a feature would require an additional channel (either a new socket, or adding a layer for the communication between the device and the computer), so it is not worth it.

Maybe an additional communication channel may be added later, if there is a good reason, but probably not for notifications… :)

@MichelDiz
Copy link

MichelDiz commented Aug 18, 2019

Well, notifications on desktop wouldn't only fit to personal use purposes. If you have a significant portion of devices connected to a Dev PC and you wanna test out some notifications API. This would be handy. I think the project "Expo" has it's own Notification API besides the native one for example.

Let's say you wanna also simulate SMS codes or contract a SMS service to test development. This feature in scrcpy could capture all the text from it and the dev would do some automation. Could use some tool like "fastlane". There are several possibilities.

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants