Skip to content

Commit

Permalink
FIX: Async storage patch
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosrdz committed Nov 14, 2024
1 parent 4e9bf7e commit f813769
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 2 deletions.
271 changes: 270 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"android:clean": "cd android; ./gradlew clean ; cd .. ; npm run android",
"ios": "react-native run-ios",
"postinstall": "rn-nodeify --install buffer,events,process,stream,inherits,path,assert,crypto --hack; npm run releasenotes2json; npm run branch2json; npm run patches",
"patches": "patch -p1 < scripts/react-native-camera-kit.patch;",
"patches": "patch -p1 < scripts/react-native-camera-kit.patch; patch-package",
"test": "npm run tslint && npm run lint && npm run unit && npm run jest",
"jest": "jest tests/integration/*",
"e2e:debug-build": "detox build -c android.debug",
Expand Down Expand Up @@ -118,6 +118,7 @@
"events": "3.3.0",
"junderw-crc32c": "1.2.0",
"lottie-react-native": "7.1.0",
"patch-package": "^8.0.0",
"path-browserify": "1.0.1",
"payjoin-client": "1.0.1",
"process": "0.11.10",
Expand Down
14 changes: 14 additions & 0 deletions patches/xcode+3.0.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/node_modules/xcode/lib/pbxProject.js b/node_modules/xcode/lib/pbxProject.js
index 068548a..b478056 100644
--- a/node_modules/xcode/lib/pbxProject.js
+++ b/node_modules/xcode/lib/pbxProject.js
@@ -1678,8 +1678,7 @@ function correctForFrameworksPath(file, project) {

function correctForPath(file, project, group) {
var r_group_dir = new RegExp('^' + group + '[\\\\/]');
-
- if (project.pbxGroupByName(group).path)
+ if (project.pbxGroupByName(group)&&project.pbxGroupByName(group).path)
file.path = file.path.replace(r_group_dir, '');

return file;

0 comments on commit f813769

Please sign in to comment.