소스 검색

fix for breaking iOS header change in RN 0.40.0

Daniel Kim 9 년 전
부모
커밋
1381928084
5개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  1. 2 2
      Example/ios/Example/AppDelegate.m
  2. 2 2
      Example/ios/ExampleTests/ExampleTests.m
  3. 1 1
      RCTConvert+RNPStatus.h
  4. 1 1
      ReactNativePermissions.h
  5. 3 3
      ReactNativePermissions.m

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

@@ -9,8 +9,8 @@
 
 #import "AppDelegate.h"
 
-#import "RCTBundleURLProvider.h"
-#import "RCTRootView.h"
+#import <React/RCTBundleURLProvider.h>
+#import <React/RCTRootView.h>
 
 @implementation AppDelegate
 

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

@@ -10,8 +10,8 @@
 #import <UIKit/UIKit.h>
 #import <XCTest/XCTest.h>
 
-#import "RCTLog.h"
-#import "RCTRootView.h"
+#import <React/RCTLog.h>
+#import <React/RCTRootView.h>
 
 #define TIMEOUT_SECONDS 600
 #define TEXT_TO_LOOK_FOR @"Welcome to React Native!"

+ 1 - 1
RCTConvert+RNPStatus.h

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

+ 1 - 1
ReactNativePermissions.h

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

+ 3 - 3
ReactNativePermissions.m

@@ -10,9 +10,9 @@
 
 #import "ReactNativePermissions.h"
 
-#import "RCTBridge.h"
-#import "RCTConvert.h"
-#import "RCTEventDispatcher.h"
+#import <React/RCTBridge.h>
+#import <React/RCTConvert.h>
+#import <React/RCTEventDispatcher.h>
 
 #import "RNPLocation.h"
 #import "RNPBluetooth.h"