patch-fixes

This commit is contained in:
Nouman Tahir 2023-08-17 14:18:44 +05:00
parent ad8ce55083
commit 2fc480e94c
4 changed files with 3827 additions and 106 deletions

View File

@ -1,22 +0,0 @@
diff --git a/node_modules/lottie-react-native/build.gradle b/node_modules/lottie-react-native/build.gradle
index 184fdbf..9228bb0 100644
--- a/node_modules/lottie-react-native/build.gradle
+++ b/node_modules/lottie-react-native/build.gradle
@@ -3,7 +3,7 @@
buildscript {
repositories {
google()
- jcenter()
+ mavenCentral() //patched
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
@@ -14,7 +14,7 @@ allprojects {
repositories {
mavenLocal()
google()
- jcenter()
+ mavenCentral() //patched
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/node_modules/react-native/android")

File diff suppressed because it is too large Load Diff

View File

@ -63,6 +63,13 @@ index d59ba34..7ae53ac 100644
},
};
diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env
new file mode 100644
index 0000000..361f5fb
--- /dev/null
+++ b/node_modules/react-native/scripts/.packager.env
@@ -0,0 +1 @@
+export RCT_METRO_PORT=8081
diff --git a/node_modules/react-native/sdks/hermes/hermes-engine.podspec b/node_modules/react-native/sdks/hermes/hermes-engine.podspec
new file mode 100644
index 0000000..8d331e0

View File

@ -1,84 +0,0 @@
diff --git a/node_modules/react-native-config/Example/android/build.gradle b/node_modules/react-native-config/Example/android/build.gradle
index 50dcb4c..b331665 100644
--- a/node_modules/react-native-config/Example/android/build.gradle
+++ b/node_modules/react-native-config/Example/android/build.gradle
@@ -9,7 +9,7 @@ buildscript {
}
repositories {
google()
- jcenter()
+ mavenCentral() //patched
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.0")
@@ -32,7 +32,7 @@ allprojects {
}
google()
- jcenter()
+ mavenCentral() //patched
maven { url 'https://www.jitpack.io' }
}
}
diff --git a/node_modules/react-native-config/Example/package.json b/node_modules/react-native-config/Example/package.json
index c444c38..187e9b1 100644
--- a/node_modules/react-native-config/Example/package.json
+++ b/node_modules/react-native-config/Example/package.json
@@ -34,5 +34,57 @@
},
"jest": {
"preset": "react-native"
+ },
+ "react-native": {
+ "zlib": "browserify-zlib",
+ "console": "console-browserify",
+ "constants": "constants-browserify",
+ "crypto": "react-native-crypto",
+ "dns": "dns.js",
+ "net": "react-native-tcp",
+ "domain": "domain-browser",
+ "http": "@tradle/react-native-http",
+ "https": "https-browserify",
+ "os": "react-native-os",
+ "path": "path-browserify",
+ "querystring": "querystring-es3",
+ "fs": "react-native-level-fs",
+ "_stream_transform": "readable-stream/transform",
+ "_stream_readable": "readable-stream/readable",
+ "_stream_writable": "readable-stream/writable",
+ "_stream_duplex": "readable-stream/duplex",
+ "_stream_passthrough": "readable-stream/passthrough",
+ "dgram": "react-native-udp",
+ "stream": "stream-browserify",
+ "timers": "timers-browserify",
+ "tty": "tty-browserify",
+ "vm": "vm-browserify",
+ "tls": false
+ },
+ "browser": {
+ "zlib": "browserify-zlib",
+ "console": "console-browserify",
+ "constants": "constants-browserify",
+ "crypto": "react-native-crypto",
+ "dns": "dns.js",
+ "net": "react-native-tcp",
+ "domain": "domain-browser",
+ "http": "@tradle/react-native-http",
+ "https": "https-browserify",
+ "os": "react-native-os",
+ "path": "path-browserify",
+ "querystring": "querystring-es3",
+ "fs": "react-native-level-fs",
+ "_stream_transform": "readable-stream/transform",
+ "_stream_readable": "readable-stream/readable",
+ "_stream_writable": "readable-stream/writable",
+ "_stream_duplex": "readable-stream/duplex",
+ "_stream_passthrough": "readable-stream/passthrough",
+ "dgram": "react-native-udp",
+ "stream": "stream-browserify",
+ "timers": "timers-browserify",
+ "tty": "tty-browserify",
+ "vm": "vm-browserify",
+ "tls": false
}
}