File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Pod::Spec.new do |s|
1818 s . preserve_paths = '*.js'
1919
2020 s . dependency 'React'
21+ s . dependency 'Sentry' , '~> 3.0.7'
2122 s . dependency 'Sentry/KSCrash' , '~> 3.0.7'
2223
2324 s . source_files = 'ios/RNSentry*.{h,m}'
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ After that change your ``Podfile`` to reference to the packages in your
1818 platform :ios, '8.0'
1919 use_frameworks!
2020
21- node_modules_path = './node_modules'
21+ node_modules_path = './node_modules' # This path can be different depending on you setup
2222 react_path = File.join(node_modules_path, 'react-native')
2323 yoga_path = File.join(react_path, 'ReactCommon/yoga')
2424 sentry_path = File.join(node_modules_path, 'react-native-sentry')
@@ -27,10 +27,11 @@ After that change your ``Podfile`` to reference to the packages in your
2727 pod 'Yoga', :path => yoga_path
2828 pod 'React', :path => react_path, :subspecs => [
2929 'Core',
30+ 'BatchedBridge',
3031 'RCTImage',
3132 'RCTNetwork',
3233 'RCTText',
33- 'RCTWebSocket',
34+ 'RCTWebSocket'
3435 # Add any other subspecs you want to use in your project
3536 ]
3637 pod 'SentryReactNative', :path => sentry_path
@@ -39,4 +40,4 @@ After that change your ``Podfile`` to reference to the packages in your
3940After that run ``pod install `` which then should link everything correctly.
4041If you need more information about how to load the react view check out
4142`this tutorial.
42- <https://facebook.github.io/react-native/releases/0.23/ docs/embedded-app-ios.html> `_
43+ <https://facebook.github.io/react-native/releases/docs/embedded-app-ios.html> `_
You can’t perform that action at this time.
0 commit comments