On react-native-macos 0.76, UIGraphicsBeginImageContextWithOptions and other UIGraphics directives were removed and we should now use RCTUIGraphicsImageRenderer
/Users/gabriel/Workspace/expo/ExpoMenuBar/node_modules/react-native-svg/apple/Elements/RNSVGSvgView.mm:366:3: Use of undeclared identifier 'UIGraphicsBeginImageContextWithOptions'
Steps to reproduce
create an new project using react-native-macos >= 0.76
Description
On react-native-macos 0.76,
UIGraphicsBeginImageContextWithOptions
and otherUIGraphics
directives were removed and we should now useRCTUIGraphicsImageRenderer
more details in https://github.com/microsoft/react-native-macos/pull/2209/
Error:
Steps to reproduce
Snack or a link to a repository
https://github.com/expo/orbit
SVG version
15.8.0
React Native version
0.76.1
Platforms
macOS
JavaScript runtime
None
Workflow
None
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes