108 Commits

Author SHA1 Message Date
Mark Vayngrib
a153fb5cc3 Merge pull request #24 from the-ress/patch-1
update linking instructions
2016-09-14 17:23:26 -04:00
Tereza Tomcova
e0c59ad8b6 Update README.md 2016-09-14 23:03:34 +02:00
Tereza Tomcova
39dba9fc3e Changed rnpm command to react-native 2016-09-14 20:31:56 +02:00
Andy Prock
b4ae666ff1 1.2.5 v1.2.5 2016-07-20 15:59:52 -07:00
Andy Prock
324f840c45 Merge pull request #20 from tradle/rn29
update example and documentation for rn 0.29.2
2016-07-20 15:59:38 -07:00
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
fbc123849f 1.2.4 2016-01-15 15:52:13 -08:00
Mark Vayngrib
cc35c46faf Merge pull request #18 from tradle/quieter
remove noisy message received log
2016-01-13 20:23:09 -05:00
Andy Prock
acb9dbcbd6 remove received noisy message received log 2016-01-13 14:43:56 -08:00
Andy Prock
8aae2a1e2c 1.2.3 2015-12-31 08:39:43 -08: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
05b206deca 1.2.2 2015-12-22 10:12:24 -08:00
Andy Prock
1190187964 Merge pull request #16 from tradle/ios-clients
Fixes #15
2015-12-22 09:46:44 -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
641b9d770e Fixes #14
Now forcing the host resolution to happen, which will make the UnknownHostException fire if there are problems.
2015-12-21 17:19:59 -08:00
Mark Vayngrib
bf668cd322 1.2.1 2015-12-21 17:58:58 -05:00
Mark Vayngrib
5b6972ca10 Merge pull request #13 from ajwhite/allow-hostnames
Allow hostnames in addition to IP addresses
2015-12-21 17:56:32 -05:00
Atticus White
97e9d137b5 validate hostname in addition to ip address 2015-12-21 16:03:59 -05: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
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 2a69aae5ad15176b3a4e77be47f42adfe9efa75d.
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