-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-native-svg not working with react native web #2205
Comments
Hello @Prashant-Mobile-Server , |
Here's an example of the failure: jkoutavas/react-native-web-sandbox#1. Can we re-open this issue please? |
Hello @jkoutavas, |
@bohdanprog please see the PR branch :-) |
@jkoutavas Did you read that :) ? |
@Prashant-Mobile-Server for what it's worth, I have a working example here: jkoutavas/react-native-web-sandbox#1 |
Getting error when trying to load svg image from a local directory. It is working fine on mobile but has below issue when I try to run for web.
ERROR
Uncaught runtime errors:
×
ERROR
The string contains invalid characters.
createElement@[native code]
createElement@
createInstance@
completeWork@
completeUnitOfWork@
performUnitOfWork@
workLoopSync@
renderRootSync@
recoverFromConcurrentError@
performConcurrentWorkOnRoot@
workLoop@
flushWork@
performWorkUntilDeadline@
Made below changes to support on mobile:
custom.d.ts:
tsconfig.json:
The text was updated successfully, but these errors were encountered: