fix: address and base64String are NSStrings (find/replace bug)
This commit is contained in:
parent
6cfe5daae3
commit
4cb6e77504
|
@ -58,9 +58,9 @@ RCT_EXPORT_METHOD(bind:(nonnull NSNumber*)cId
|
||||||
}
|
}
|
||||||
|
|
||||||
RCT_EXPORT_METHOD(send:(nonnull NSNumber*)cId
|
RCT_EXPORT_METHOD(send:(nonnull NSNumber*)cId
|
||||||
string:(nonnull NSNumber*)base64String
|
string:(NSString*)base64String
|
||||||
port:(int)port
|
port:(int)port
|
||||||
address:(nonnull NSNumber*)address
|
address:(NSString*)address
|
||||||
callback:(RCTResponseSenderBlock)callback) {
|
callback:(RCTResponseSenderBlock)callback) {
|
||||||
UdpSocketClient* client = [self findClient:cId callback:callback];
|
UdpSocketClient* client = [self findClient:cId callback:callback];
|
||||||
if (!client) return;
|
if (!client) return;
|
||||||
|
|
Loading…
Reference in New Issue