Skip to content

Commit

Permalink
Redefinition of 'RCTMethodInfo'
Browse files Browse the repository at this point in the history
升级到 [email protected] 以后,出现 facebook/react-native#15775 这个问题,调整顺序后解决。
  • Loading branch information
cpunion committed Nov 6, 2017
1 parent 236a9ab commit 943d123
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/RNNeteaseIm/RNNeteaseIm/ReactNativePermissions.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// Copyright © 2016 Yonah Forst. All rights reserved.
//

#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#elif __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#endif

@interface ReactNativePermissions : NSObject <RCTBridgeModule>
Expand Down

0 comments on commit 943d123

Please sign in to comment.