Browse Source

fix for breaking iOS header change in RN 0.40.0

Daniel Kim 8 years ago
parent
commit
1381928084

+ 2
- 2
Example/ios/Example/AppDelegate.m View File

9
 
9
 
10
 #import "AppDelegate.h"
10
 #import "AppDelegate.h"
11
 
11
 
12
-#import "RCTBundleURLProvider.h"
13
-#import "RCTRootView.h"
12
+#import <React/RCTBundleURLProvider.h>
13
+#import <React/RCTRootView.h>
14
 
14
 
15
 @implementation AppDelegate
15
 @implementation AppDelegate
16
 
16
 

+ 2
- 2
Example/ios/ExampleTests/ExampleTests.m View File

10
 #import <UIKit/UIKit.h>
10
 #import <UIKit/UIKit.h>
11
 #import <XCTest/XCTest.h>
11
 #import <XCTest/XCTest.h>
12
 
12
 
13
-#import "RCTLog.h"
14
-#import "RCTRootView.h"
13
+#import <React/RCTLog.h>
14
+#import <React/RCTRootView.h>
15
 
15
 
16
 #define TIMEOUT_SECONDS 600
16
 #define TIMEOUT_SECONDS 600
17
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
17
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"

+ 1
- 1
RCTConvert+RNPStatus.h View File

6
 //  Copyright © 2016 Yonah Forst. All rights reserved.
6
 //  Copyright © 2016 Yonah Forst. All rights reserved.
7
 //
7
 //
8
 
8
 
9
-#import "RCTConvert.h"
9
+#import <React/RCTConvert.h>
10
 
10
 
11
 static NSString* RNPStatusUndetermined = @"undetermined";
11
 static NSString* RNPStatusUndetermined = @"undetermined";
12
 static NSString* RNPStatusDenied = @"denied";
12
 static NSString* RNPStatusDenied = @"denied";

+ 1
- 1
ReactNativePermissions.h View File

5
 //  Created by Yonah Forst on 18/02/16.
5
 //  Created by Yonah Forst on 18/02/16.
6
 //  Copyright © 2016 Yonah Forst. All rights reserved.
6
 //  Copyright © 2016 Yonah Forst. All rights reserved.
7
 //
7
 //
8
-#import "RCTBridgeModule.h"
8
+#import <React/RCTBridgeModule.h>
9
 
9
 
10
 #import <Foundation/Foundation.h>
10
 #import <Foundation/Foundation.h>
11
 
11
 

+ 3
- 3
ReactNativePermissions.m View File

10
 
10
 
11
 #import "ReactNativePermissions.h"
11
 #import "ReactNativePermissions.h"
12
 
12
 
13
-#import "RCTBridge.h"
14
-#import "RCTConvert.h"
15
-#import "RCTEventDispatcher.h"
13
+#import <React/RCTBridge.h>
14
+#import <React/RCTConvert.h>
15
+#import <React/RCTEventDispatcher.h>
16
 
16
 
17
 #import "RNPLocation.h"
17
 #import "RNPLocation.h"
18
 #import "RNPBluetooth.h"
18
 #import "RNPBluetooth.h"