File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
examples/ReactNativeExample Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77 "test" : " jest"
88 },
99 "dependencies" : {
10- "react" : " ^16.0.0-alpha.6 " ,
11- "react-native" : " ^0.44.2 " ,
10+ "react" : " ^16.0.0-alpha.12 " ,
11+ "react-native" : " ^0.45.0 " ,
1212 "react-native-sentry" : " file:../../"
1313 }
1414}
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ function patchXcodeProj(contents, filename) {
343343
344344function patchMatchingFile(pattern, func) {
345345 let matches = glob.sync(pattern, {
346- ignore: 'node_modules/**'
346+ ignore: [ 'node_modules/**', 'ios/Pods/**', '**/Pods/**']
347347 });
348348 let rv = Promise.resolve();
349349 matches.forEach(function(match) {
@@ -400,7 +400,7 @@ function addSentryProperties() {
400400Promise.resolve()
401401 /* these steps patch the build files without user interactions */
402402 .then(() => patchMatchingFile('**/app/build.gradle', patchBuildGradle))
403- .then(() => patchMatchingFile('. /*.xcodeproj/project.pbxproj', patchXcodeProj))
403+ .then(() => patchMatchingFile('** /*.xcodeproj/project.pbxproj', patchXcodeProj))
404404 .then(() => patchMatchingFile('**/AppDelegate.m', patchAppDelegate))
405405 /* if any of the previous steps did something, this will patch
406406 the index.PLATFORM.js files with the necessary initialization code */
You can’t perform that action at this time.
0 commit comments