aboutsummaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-03-28 18:46:35 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-03-28 18:46:35 +0200
commitd44a5a6c4530691a63204b2231f04e2bcf287907 (patch)
treef62bab936e94bd4f32f3bf1c0241df737bd8bcf4 /patches
parent5cf454c6800d6bfe26e08c6b4393b82bff442b4d (diff)
downloadaparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.tar.gz
aparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.tar.zst
aparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.zip
Upgrade app to sdk 46
Fix no `Alert` in Camera.js
Diffstat (limited to 'patches')
-rw-r--r--patches/react-native+0.69.6.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/patches/react-native+0.69.6.patch b/patches/react-native+0.69.6.patch
new file mode 100644
index 0000000..e745fa8
--- /dev/null
+++ b/patches/react-native+0.69.6.patch
@@ -0,0 +1,41 @@
+diff --git a/node_modules/react-native/index.js b/node_modules/react-native/index.js
+index d59ba34..8023167 100644
+--- a/node_modules/react-native/index.js
++++ b/node_modules/react-native/index.js
+@@ -435,32 +435,16 @@ module.exports = {
+ },
+ // Deprecated Prop Types
+ get ColorPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'ColorPropType has been removed from React Native. Migrate to ' +
+- "ColorPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").ColorPropType
+ },
+ get EdgeInsetsPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'EdgeInsetsPropType has been removed from React Native. Migrate to ' +
+- "EdgeInsetsPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").EdgeInsetsPropType
+ },
+ get PointPropType(): $FlowFixMe {
+- invariant(
+- false,
+- 'PointPropType has been removed from React Native. Migrate to ' +
+- "PointPropType exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").PointPropType
+ },
+ get ViewPropTypes(): $FlowFixMe {
+- invariant(
+- false,
+- 'ViewPropTypes has been removed from React Native. Migrate to ' +
+- "ViewPropTypes exported from 'deprecated-react-native-prop-types'.",
+- );
++ return require("deprecated-react-native-prop-types").ViewPropTypes
+ },
+ };
+