alinz / react-native-webview-bridge

React Native Webview with Javascript Bridge
MIT License
1.37k stars 493 forks source link

I needed to have some changes on .m and .h files #219

Open delia-m opened 7 years ago

delia-m commented 7 years ago

the version is 0.33.0

+) I should change some files to work properly about import lines under node_modules/react-native-webview-bridge/ios/ something like :

if __has_include(<React/RCTAssert.h>)

import <React/RCTAutoInsetsProtocol.h>

import <React/RCTConvert.h>

import <React/RCTEventDispatcher.h>

import <React/RCTLog.h>

import <React/RCTUtils.h>

import <React/RCTView.h>

import <React/UIView+React.h>

else

import "RCTAutoInsetsProtocol.h"

import "RCTConvert.h"

import "RCTEventDispatcher.h"

import "RCTLog.h"

import "RCTUtils.h"

import "RCTView.h"

import "UIView+React.h"

endif

HofmannZ commented 7 years ago

See #206