From 4cb6e7750418a10ab4cf5e502e3b89825221eeb7 Mon Sep 17 00:00:00 2001 From: Andy Prock Date: Mon, 21 Sep 2015 11:49:55 -0700 Subject: [PATCH] fix: address and base64String are NSStrings (find/replace bug) --- UdpSockets.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UdpSockets.m b/UdpSockets.m index baf2f06..82f45d4 100644 --- a/UdpSockets.m +++ b/UdpSockets.m @@ -58,9 +58,9 @@ RCT_EXPORT_METHOD(bind:(nonnull NSNumber*)cId } RCT_EXPORT_METHOD(send:(nonnull NSNumber*)cId - string:(nonnull NSNumber*)base64String + string:(NSString*)base64String port:(int)port - address:(nonnull NSNumber*)address + address:(NSString*)address callback:(RCTResponseSenderBlock)callback) { UdpSocketClient* client = [self findClient:cId callback:callback]; if (!client) return;