Summary
We use @lodev09/react-native-true-sheet in an Expo app that ships to iOS and tvOS via react-native-tvos.
Although bottom sheet is not relevant on tvOS, for those builds (EXPO_TV=1) the library's iOS native module is still autolinked.
Environment
@lodev09/react-native-true-sheet: ^3.11.1
react-native: react-native-tvos@0.86
Problem
Trying to exclude it in react-native.config.js like this doesn't work here, because for tvOS, Expo/RN autolinking runs with --platform ios, and I don't want to exclude it for iOS:
dependencies: {
'@lodev09/react-native-true-sheet': {
platforms: {
ios: null
},
},
},
Request
Would you consider a proper way to let tvOS just be ignored from autolinking, or some other way to avoid issues on tvOS?
Summary
We use
@lodev09/react-native-true-sheetin an Expo app that ships to iOS and tvOS via react-native-tvos.Although bottom sheet is not relevant on tvOS, for those builds (
EXPO_TV=1) the library's iOS native module is still autolinked.Environment
@lodev09/react-native-true-sheet: ^3.11.1react-native:react-native-tvos@0.86Problem
Trying to exclude it in
react-native.config.jslike this doesn't work here, because for tvOS, Expo/RN autolinking runs with--platform ios, and I don't want to exclude it for iOS:Request
Would you consider a proper way to let tvOS just be ignored from autolinking, or some other way to avoid issues on tvOS?