MobileChromeApps / cordova-plugin-chrome-apps-sockets-udp

BSD 3-Clause "New" or "Revised" License
80 stars 40 forks source link

No support for setBroadcast #7

Closed digitalcatnip closed 7 years ago

digitalcatnip commented 8 years ago

Hi,

It appears 'setBroadcast' is in the API documents but not in the actual API itself. Do you know when this will be available?

https://developer.chrome.com/apps/sockets_udp#method-setBroadcast

mmocny commented 8 years ago

Those docs are for the "real" chrome apps platform for desktop/chromeos.

This plugin is an attempted port of that api, so some of those docs apply, but often they are out of sync.

setBroadcast is indeed not implemented in this plugin (I think it was added after this plugin was written), and there is no longer any active support for this plugin. (See this project status update)

digitalcatnip commented 8 years ago

Okay, thanks for the update. Can you add a note to the readme that notes the plugin is no longer supported?

ivan3619 commented 7 years ago

Hi,@digitalcatnip . I have the same trouble, that no support for setBroadcast . Do you resolve the question? Thanks a lot .

digitalcatnip commented 7 years ago

@ivan3619 I ended up forking a different project, adding the iOS support, and using that in my project.

gregvis commented 7 years ago

i've added setBroadcast for both iOS and Android in my fork...i'm hoping this will be merged with the main repo soon.

In the meantime, you could add my fork instead of the main: cordova plugin add https://github.com/gregvis/cordova-plugin-chrome-apps-sockets-udp.git

agrieve commented 7 years ago

I've merged in @gregvis's fix and published the plugin as v1.3.0