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

Issue #54 - Addition of support for sending binary data (Android only) #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shblythe
Copy link

This is a submission for inclusion to resolve issue #54.

It also provides and interface for issue #53, but no implementation for any platform other than Android.

I've added a new function, sendBinary, as I proposed in issue #54, and documented this in README.md.

I have done basic sanity testing, and it works, but I haven't tested all exception cases.

shblythe added 2 commits June 30, 2014 21:35
(Implemented for Android only)

Interface is:
sendBinary(successCallback, errorCallback, connectionId, data)

data is a JSONArray, one element per byte, e.g. [ 0x00, 0x01, 0x00, 0xFD ]
@felipekm felipekm added the PR label Sep 2, 2014
@felipekm
Copy link
Contributor

felipekm commented Sep 2, 2014

Thanks for your PR @shblythe, we're looking forward to include this ASAP.
Keep supporting us! 👍

@kevinmershon
Copy link

I've implemented binary support for ios as well in my fork of @shblythe's repo: https://github.com/mershon-enterprises/cdv-socket-plugin/tree/feature-ios-binary

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

Successfully merging this pull request may close these issues.

3 participants