-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathreact-native.config.js
More file actions
34 lines (34 loc) · 923 Bytes
/
react-native.config.js
File metadata and controls
34 lines (34 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* React Native configuration for RunAnywhere
*
* NOTE: automaticPodsInstallation is disabled because the @runanywhere packages
* use "podspecPath" in their react-native.config.js, which is not allowed by
* the RN 0.83 CLI. Pods must be installed manually: cd ios && pod install && cd ..
*/
module.exports = {
project: {
ios: {
automaticPodsInstallation: false,
},
},
dependencies: {
// Disable packages with New Architecture compatibility issues on iOS
'react-native-sound': {
platforms: {
ios: null,
},
},
'react-native-audio-recorder-player': {
platforms: {
ios: null,
},
},
// CRITICAL: react-native-screens crashes with New Architecture in RN 0.83
// Error: -[RCTView setColor:] and -[RCTView setSheetExpandsWhenScrolledToEdge:]
'react-native-screens': {
platforms: {
ios: null,
},
},
},
};