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

Does anyone use session.sendMessage? #65

Closed
Lindsay-Needs-Sleep opened this issue May 25, 2020 · 3 comments
Closed

Does anyone use session.sendMessage? #65

Lindsay-Needs-Sleep opened this issue May 25, 2020 · 3 comments
Labels
question Further information is requested

Comments

@Lindsay-Needs-Sleep
Copy link
Collaborator

I want to know if anyone uses this, and whether or not it actually works?

@anthonylavado @dkanada Jellyfin uses a custom receiver I believe, which seems to be the main reason to use sendMessage.... So just wondering if you guys are using it? (even on the old version of cordova-plugin-chromecast)

@Lindsay-Needs-Sleep Lindsay-Needs-Sleep added the question Further information is requested label May 25, 2020
@anthonylavado
Copy link
Member

We're moving to a newer receiver soon, but let me dig in to this.

@Lindsay-Needs-Sleep
Copy link
Collaborator Author

Ty!
If you do, can you include some samples of how you use it?
I would like to write some tests for sendMessage. (Especially if people are using it! :))
(Also, no rush at all!)

@Lindsay-Needs-Sleep
Copy link
Collaborator Author

I think since #64 option 4 is the best (which uses sendMessage), we will keep it. And hopefully add tests for it one day.

Notes:
Tested sendMessage on Android, it appears to successfully send a message, but fails to recognize a success response (it always goes to error even when the command works).
Completely untested on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants