Commit Graph

12 Commits

Author SHA1 Message Date
Andy Prock 2756af6c76 update example and documentation for rn 0.29.2
Introduced rnpm the new "standard" for linking to native modules
Removed the CocoaPod podspec
Updated the sample project to use react-native 0.29.2
Sample now shows the socket information on the main page
2016-07-20 15:56:54 -07:00
Andy Prock 9664cdf276 fix typo in error message 2015-12-31 08:39:33 -08:00
Andy Prock 41fc91c5cc Fixes #17
It was crashing when trying to build a callback argument NSArray with a nil object. NSError's are not guaranteed to have a NSLocalizedFailureReason, so this case should be handled.
2015-12-30 22:51:26 -08:00
Andy Prock e8050d3fe8 Fixes #15
Refactor the UdpSockets module _clients array to be a member variable.
Make the UdpSocketClient's delegate a weak reference.
remove reload notificaiton, and rely on dealloc to close all open sockets.
2015-12-21 19:45:38 -08:00
Andy Prock 96728a771d make UdpSocketClient pendingSends access thread safe 2015-12-17 09:16:18 -08:00
Andy Prock defd529dc2 ios start using lightweight generics 2015-12-16 11:47:43 -08:00
Andy Prock 398935bb67 implement addMembership/dropMembership for android
this enables support for protocols such as ssdp, which require multicasting
bump to version 1.1.1
2015-11-18 15:14:45 -08:00
Mark Vayngrib a1b07b4999 detect rctreloadnotification, cleanup sockets before exiting 2015-10-12 17:29:39 +01:00
Mark Vayngrib f33fde4c06 send strings instead of NSError over bridge, RCTBridge chokes sometimes on NSJSONSerialization of errors 2015-10-12 09:55:20 +01:00
Andy Prock b43eaa5fbe remove userdata 2015-10-01 17:16:35 -07:00
Andy Prock 919257b94a fixup header search paths for the xcode project 2015-10-01 17:12:31 -07:00
Andy Prock 3ce4b63536 initial android support
moved ios specific code into a subfolder
created an android folder
updated the Install instructions on the readme
bumped the version to 0.2.0
2015-09-25 14:58:32 -07:00