-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
In newer versions of React Native you need to depend on React-Core, not React
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-safari-view/react-native-safari-view.podspec b/node_modules/react-native-safari-view/react-native-safari-view.podspec
index 45630b1..a5fc4f4 100644
--- a/node_modules/react-native-safari-view/react-native-safari-view.podspec
+++ b/node_modules/react-native-safari-view/react-native-safari-view.podspec
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.homepage = 'https://github.com/naoufal/react-native-safari-view'
s.source = { :git => "https://github.com/naoufal/react-native-safari-view.git" }
s.platform = :ios, "7.0"
- s.dependency 'React'
+ s.dependency 'React-Core'
s.source_files = "*.{h,m}"
s.preserve_paths = "*.js"
endThis issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels