Open k1mmm opened 1 month ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Here's a link to a minimal reproduction repo =) https://github.com/k1mmm/react-native-svg-to-data-url
CC @marlenecota
Description
Calling toDataURL() results in error on Windows
Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNSVGSvgViewModule' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false. Modules loaded: {"NativeModules":["PlatformConstants","LogBox","Timing","AppState","SourceCode","BlobModule","WebSocketModule","DevSettings","Networking","UIManager","DeviceInfo","ImageLoader","LinkingManager","Appearance","NativeAnimatedModule","RNCAsyncStorage","RNCClipboard","FileReaderModule"],"TurboModules":[],"NotFound":["NativePerformanceCxx","NativePerformanceObserverCxx","DevToolsSettingsManager","RedBox","BugReporting","HeadlessJsTaskSupport","DeviceEventManager","SoundManager","IntentAndroid","PlatformLocalStorage","RNC_AsyncSQLiteDBStorage","FrameRateLogger","KeyboardObserver","RNSVGSvgViewModule"]}
Steps to reproduce
Set up a ref to element and call .toDataURL()
Snack or a link to a repository
https://github.com/k1mmm/react-native-svg-to-data-url
SVG version
15.4.0
React Native version
0.74.3
Platforms
Android, iOS, macOS, Web
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
Real device
Device model
No response
Acknowledgements
Yes