Commit Graph

120 Commits

Author SHA1 Message Date
Andy Prock 3715d8a4e6 1.2.9 2016-12-14 14:27:18 -08:00
Andy Prock 19699c1fa2 Merge pull request #30 from jmc420/master
add multicast
2016-12-14 14:26:08 -08:00
James Cowan 044ab6e57a add multicast 2016-11-10 17:49:33 +00:00
Andy Prock de6296de31 1.2.8 2016-11-07 14:58:44 -08:00
Andy Prock 0825e2b1d4 Merge pull request #28 from tradle/createSocket
allow options to be passed into createSocket
2016-11-07 14:56:50 -08:00
Andy Prock 7423850bf6 allow options to be passed into createSocket 2016-11-07 14:53:58 -08:00
Andy Prock 298101c5df 1.2.7 2016-11-03 09:29:52 -07:00
Andy Prock 2f43357118 Merge pull request #27 from aprock/master
android switch to MulticastSocket for sockets
2016-09-30 09:45:10 -07:00
Andy Prock 6c9c242ade android switch to MulticastSocket for sockets 2016-09-19 16:33:28 -07:00
Mark Vayngrib e77d9f6a9f 1.2.6 2016-09-18 12:46:43 -04:00
Mark Vayngrib 54443ab220 Merge pull request #25 from the-ress/the-ress-patch-2
Fix for iOS 10
2016-09-18 12:46:26 -04:00
Tereza Tomcova 0e10791b82 Fix for iOS 10 2016-09-15 16:54:46 +02:00
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 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