svg.toDataURL() crashes on EXPO

Hey guys,

When I try to call the method svg.toDataURL() in an expo project it throws the following error

[Unhandled promise rejection: TypeError: undefined is not an object (evaluating 'RNSVGSvgViewManager.toDataURL')]

Here’s the EXPO snak

Here’s what I found on in internet

https://github.com/react-native-community/react-native-svg/issues/464

It states that the method works in usual projects and expo requires an update.

TIA for any way forward

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.