Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3342563
D5922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
869 B
Referenced Files
None
Subscribers
None
D5922.diff
View Options
diff --git a/patches/react-native-camera+3.31.0.patch b/patches/react-native-camera+3.31.0.patch
new file mode 100644
--- /dev/null
+++ b/patches/react-native-camera+3.31.0.patch
@@ -0,0 +1,20 @@
+diff --git a/node_modules/react-native-camera/src/RNCamera.js b/node_modules/react-native-camera/src/RNCamera.js
+index b7a271a..2df81f6 100644
+--- a/node_modules/react-native-camera/src/RNCamera.js
++++ b/node_modules/react-native-camera/src/RNCamera.js
+@@ -5,7 +5,6 @@ import {
+ findNodeHandle,
+ Platform,
+ NativeModules,
+- ViewPropTypes,
+ requireNativeComponent,
+ View,
+ ActivityIndicator,
+@@ -394,7 +393,6 @@ export default class Camera extends React.Component<PropsType, StateType> {
+ };
+
+ static propTypes = {
+- ...ViewPropTypes,
+ zoom: PropTypes.number,
+ useNativeZoom: PropTypes.bool,
+ maxZoom: PropTypes.number,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 1:37 AM (18 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2556192
Default Alt Text
D5922.diff (869 B)
Attached To
Mode
D5922: [native] [27/40] RN 0.70: Patch react-native-camera to fix ViewPropTypes crash
Attached
Detach File
Event Timeline
Log In to Comment