Merge pull request #36 from tohjg/master
Support React Native 0.40.x header imports
This commit is contained in:
commit
5119ee2e70
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import "RCTBridgeModule.h"
|
#import <React/RCTBridgeModule.h>
|
||||||
|
|
||||||
extern NSString *const RCTUDPErrorDomain;
|
extern NSString *const RCTUDPErrorDomain;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#import <netinet/in.h>
|
#import <netinet/in.h>
|
||||||
#import <arpa/inet.h>
|
#import <arpa/inet.h>
|
||||||
#import "UdpSocketClient.h"
|
#import "UdpSocketClient.h"
|
||||||
#import "RCTBridgeModule.h"
|
#import <React/RCTBridgeModule.h>
|
||||||
#import "GCDAsyncUdpSocket.h"
|
#import "GCDAsyncUdpSocket.h"
|
||||||
|
|
||||||
NSString *const RCTUDPErrorDomain = @"RCTUDPErrorDomain";
|
NSString *const RCTUDPErrorDomain = @"RCTUDPErrorDomain";
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
#import <Availability.h>
|
#import <Availability.h>
|
||||||
#import "GCDAsyncUdpSocket.h"
|
#import "GCDAsyncUdpSocket.h"
|
||||||
#import "UdpSocketClient.h"
|
#import "UdpSocketClient.h"
|
||||||
#import "RCTBridgeModule.h"
|
#import <React/RCTBridgeModule.h>
|
||||||
#import "RCTBridge.h"
|
#import <React/RCTBridge.h>
|
||||||
#import "RCTEventDispatcher.h"
|
#import <React/RCTEventDispatcher.h>
|
||||||
|
|
||||||
@interface UdpSockets : NSObject<SocketClientDelegate, RCTBridgeModule>
|
@interface UdpSockets : NSObject<SocketClientDelegate, RCTBridgeModule>
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
// Copyright (c) 2015 Tradle, Inc. All rights reserved.
|
// Copyright (c) 2015 Tradle, Inc. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "RCTAssert.h"
|
#import <React/RCTAssert.h>
|
||||||
#import "RCTBridge.h"
|
#import <React/RCTBridge.h>
|
||||||
#import "RCTConvert.h"
|
#import <React/RCTConvert.h>
|
||||||
#import "RCTEventDispatcher.h"
|
#import <React/RCTEventDispatcher.h>
|
||||||
#import "RCTLog.h"
|
#import <React/RCTLog.h>
|
||||||
#import "UdpSockets.h"
|
#import "UdpSockets.h"
|
||||||
#import "UdpSocketClient.h"
|
#import "UdpSocketClient.h"
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue