- Correct fishhook import in RCTReconnectingWebSocket Fixes #16039 (#16271)

Summary:
RCTReconnectingWebSocket is not compiling correctly because of an incorrect import (https://github.com/facebook/react-native/issues/16039).

Everything build and run as usual.

[IOS] [BUGFIX] [Fishhook] - Correct fishhook import in RCTReconnectingWebSocket Fixes #16039
Closes https://github.com/facebook/react-native/pull/16271

Differential Revision: D8679758

Pulled By: hramos

fbshipit-source-id: b05dda3a01a68ace87f11889b84ce6b323e5c16a
This commit is contained in:
mmacdougall 2018-06-28 11:26:46 -07:00 committed by Facebook Github Bot
parent bfb68c09ee
commit 75a0273de2
1 changed files with 5 additions and 0 deletions

View File

@ -9,7 +9,12 @@
#import <React/RCTConvert.h> #import <React/RCTConvert.h>
#import <React/RCTDefines.h> #import <React/RCTDefines.h>
#if __has_include(<React/fishhook.h>)
#import <React/fishhook.h>
#else
#import <fishhook/fishhook.h> #import <fishhook/fishhook.h>
#endif
#if __has_include(<os/log.h>) && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 100300 /* __IPHONE_10_3 */ #if __has_include(<os/log.h>) && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 100300 /* __IPHONE_10_3 */
#import <os/log.h> #import <os/log.h>