-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
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