Skip to content

Commit 78f8c02

Browse files
committed
Make react-native a peer dependency
1 parent be215b2 commit 78f8c02

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

AIBHTMLWebView.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
OTHER_LDFLAGS = "-ObjC";
274274
PRODUCT_NAME = "$(TARGET_NAME)";
275275
SKIP_INSTALL = YES;
276-
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/node_modules/react-native/React/**";
276+
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../react-native/React/**";
277277
};
278278
name = Debug;
279279
};
@@ -283,7 +283,7 @@
283283
OTHER_LDFLAGS = "-ObjC";
284284
PRODUCT_NAME = "$(TARGET_NAME)";
285285
SKIP_INSTALL = YES;
286-
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/node_modules/react-native/React/**";
286+
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/../react-native/React/**";
287287
};
288288
name = Release;
289289
};

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-html-webview",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "Display (possibly untrusted) HTML using a UIWebView in React Native.",
55
"main": "index.ios.js",
66
"scripts": {
@@ -24,8 +24,10 @@
2424
"url": "https://github.com/almost/react-native-html-webview/issues"
2525
},
2626
"homepage": "https://github.com/almost/react-native-html-webview",
27+
"peerDepenencies": {
28+
"react-native": "^0.4.1"
29+
},
2730
"dependencies": {
28-
"react-native": "^0.4.1",
2931
"safe-html": "0.0.2"
3032
}
3133
}

0 commit comments

Comments
 (0)