fix: address and base64String are NSStrings (find/replace bug)

This commit is contained in:
Andy Prock 2015-09-21 11:49:55 -07:00
parent 6cfe5daae3
commit 4cb6e77504
1 changed files with 2 additions and 2 deletions

View File

@ -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;