Commit Graph

139 Commits

Author SHA1 Message Date
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
Mark Vayngrib f298b2a95d 1.2.0 2015-12-11 13:22:43 -05:00
Mark Vayngrib 8644133544 Merge pull request #11 from tradle/noReactNativeDep
rm react-native peerDep
2015-12-04 11:29:00 +00:00
Mark Vayngrib 9236a702f7 rm react-native peerDep 2015-12-01 01:13:07 +00:00
Andy Prock 9234379abe point android example at the right js file 2015-11-30 14:23:27 -08:00
Andy Prock 455795a3f0 Merge pull request #10 from ajwhite/compile-patch
Compile errors for empty generics definitions
2015-11-30 14:21:17 -08:00
Atticus White 2be9026928 define class types 2015-11-30 14:44:15 -05:00
Mark Vayngrib 6ae70e3d12 fix example in readme 2015-11-22 13:01:00 +00:00
Mark Vayngrib 57d44e0e49 don't log on every send 2015-11-22 12:52:27 +00:00
Mark Vayngrib 3c9c4e52e7 use __DEV__ instead of DEBUG 2015-11-22 12:52:27 +00:00
Mark Vayngrib 083f9fc081 small tweak for Buffer 2015-11-22 12:52:27 +00:00
Andy Prock 07cf1e8280 add some more rc versions of react-native 2015-11-20 16:05:40 -08:00
Andy Prock ef703eaacc moved index.js into a working android/ios example 2015-11-19 11:13:16 -08:00
Andy Prock 11a1263fda the receiver task needs to be recreated for addMembership 2015-11-19 10:08:00 -08:00
Andy Prock 79d6f346b6 simplified the android code
UdpSocketClient holds onto the only DatagramSocket/MulticastSocket reference.
UdpSocketClient throws IlllegalStateException if send/addMembership are called on unbound sockets.
UdpReceiverTask takes it's values as a Pair parameter to execute on.
2015-11-19 09:59:37 -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 0349336d6c 1.1.0 2015-10-23 14:42:17 +01:00
Mark Vayngrib a1b07b4999 detect rctreloadnotification, cleanup sockets before exiting 2015-10-12 17:29:39 +01:00
Mark Vayngrib 145c34e045 1.0.3 2015-10-12 09:57:35 +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
Mark Vayngrib 5812536d1f validate args better (ip, port), normalize errors from over the bridge 2015-10-12 09:54:53 +01:00
Mark Vayngrib 880ecc5f1c 1.0.2 2015-10-11 19:03:48 +01:00
Mark Vayngrib d852f48cdb Revert "fix RCTConvert choke converting int to string"
This reverts commit 2a69aae5ad.
2015-10-11 19:03:18 +01:00
Mark Vayngrib 00acebd3f2 add 0.5.0-rc 0.12.0-rc 2015-10-11 17:58:57 +01:00
Mark Vayngrib b056b3d320 1.0.1 2015-10-11 14:48:52 +01:00
Mark Vayngrib 3fd40ce241 1.0.0 2015-10-11 14:23:02 +01:00
Mark Vayngrib 2a69aae5ad fix RCTConvert choke converting int to string 2015-10-11 14:17:51 +01:00
Mark Vayngrib af2d72957b add rc versions to react-native peer dep 2015-10-11 14:17:51 +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 c2888aa97e Merge pull request #8 from tradle/android
initial android support
2015-09-28 17:18:36 -07:00
Andy Prock 79e9283d01 use a nonblocking DatagramChannel for receiving data 2015-09-28 13:11:10 -07:00
Andy Prock 409d235416 fix repository url 2015-09-25 15:06:07 -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
Andy Prock 4cb6e77504 fix: address and base64String are NSStrings (find/replace bug) 2015-09-21 11:49:55 -07:00
Andy Prock 6cfe5daae3 add cocoapod podspec 2015-09-17 13:06:48 -07:00
Andy Prock 8f7bc1e702 update for react-native 11.0
json numbers are converted to NSNumber
NSNumber parameters must be marked nonnull (as of v0.10.0-rc)
2015-09-17 12:52:02 -07:00
Mark Vayngrib c1d9f7ff40 0.1.0 2015-07-29 15:32:20 -04:00
Mark Vayngrib c762ba231b Merge pull request #5 from yesmeck/master
Implement setBroadcast()
2015-07-29 15:27:06 -04:00
Wei Zhu b50478eabd Implement setBroadcast() 2015-07-30 02:37:00 +08:00
Mark Vayngrib e984ef8859 0.0.12 2015-07-29 11:10:19 -04:00
Mark Vayngrib 7b530d7c78 0.0.11 2015-07-29 11:07:29 -04:00
Mark Vayngrib ce6a1df516 Merge pull request #4 from aprock/master
Use the public interface for require statements
2015-07-29 11:01:25 -04:00
Andy Prock 1bfe1f128c Use the public interface for require statements
0.7.1 mandates that all native module require statements use the public interfafe, else the packager will fail.
https://github.com/facebook/react-native/releases/tag/v0.7.0-rc
2015-07-29 07:46:21 -07:00
Mark Vayngrib ee90f6b626 Merge pull request #2 from aprock/selectorFix
remove numbers from method names
2015-07-24 17:18:27 -04:00
Andy Prock e7301d81d3 remove numbers from selectors in UDPSockets
RCTModuleMethod's initWithObjCMethodName will not properly parse methods with numerals in their names, so replaced base64String: with string:
2015-07-23 10:16:18 -07:00
Mark Vayngrib bda8368289 fix example 2015-07-05 16:44:02 -04:00
Mark Vayngrib ba3e734a01 0.0.10 2015-06-15 18:09:07 -04:00
Mark Vayngrib 3afcecec80 make peerdep lenient 2015-06-15 18:08:57 -04:00