You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARN "rgb(6.666667%,6.666667%,6.666667%)" is not a valid color or brush
at Path (http://localhost:8081/node_modules/react-native-svg/src/elements/Path.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:20:36)
at RNSVGGroup
at G (http://localhost:8081/node_modules/react-native-svg/src/elements/G.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:25:36)
at RNSVGGroup
at G (http://localhost:8081/node_modules/react-native-svg/src/elements/G.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:25:36)
at RNSVGSvgView
at Svg (http://localhost:8081/node_modules/react-native-svg/src/elements/Svg.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:37:36)
at SvgAst (http://localhost:8081/node_modules/react-native-svg/src/xml.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:81:19)
at SvgXml (http://localhost:8081/node_modules/react-native-svg/src/xml.bundle?platform=ios&modulesOnly=true&app=org.reactjs.native.example.CleanProject&dev=true&minify=false&runModule=true&shallow=true:95:31)
at RCTSafeAreaView
at App
at RCTView
at View
at RCTView
at View
at AppContainer (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.CleanProject:88627:36)
at CleanProject(RootComponent) (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=org.reactjs.native.example.CleanProject:93583:28)
Environment info
React native info output:
info Fetching system and libraries information...
System:
OS: macOS 12.6
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 39.64 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.7.0 - /var/folders/jb/vw4y7hq56tn9ft3g_8q5nx600000gn/T/yarn--1666349117906-0.9561827893534192/node
Yarn: 1.22.19 - /var/folders/jb/vw4y7hq56tn9ft3g_8q5nx600000gn/T/yarn--1666349117906-0.9561827893534192/yarn
npm: 8.15.0 - /usr/local/bin/npm
Watchman: 2022.07.04.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.16.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.3 => 0.70.3
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
✨ Done in 3.45s.
Library version: 13.4.0
Steps To Reproduce
Setup a clean project:
npx react-native init CleanProject
cd CleanProject/
yarn add react-native-svg
cd ios && pod install &&cd ..
Edit App.js
import React from 'react';
import { SafeAreaView } from 'react-native';
import { SvgXml } from 'react-native-svg';
const xml = `
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="px" height="60px" viewBox="0 0 60 60" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 58.980469 30.019531 C 58.980469 46.25 46.015625 59.410156 30.023438 59.410156 C 14.035156 59.410156 1.070312 46.25 1.070312 30.019531 C 1.070312 13.789062 14.035156 0.632812 30.023438 0.632812 C 46.015625 0.632812 58.980469 13.789062 58.980469 30.019531 Z M 58.980469 30.019531 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(6.666667%,6.666667%,6.666667%);fill-opacity:1;" d="M 35.058594 24.59375 L 45.484375 20.304688 L 43.675781 23.234375 L 35.058594 25.257812 Z M 35.070312 25.742188 L 35.070312 26.207031 L 47.652344 26.207031 L 43.585938 23.953125 Z M 48.863281 21.335938 C 48.808594 21.246094 48.683594 21.183594 48.265625 21.070312 L 46.105469 20.503906 C 46.101562 20.480469 44.230469 23.613281 44.230469 23.613281 L 47.769531 25.519531 L 48.765625 21.996094 C 48.886719 21.542969 48.929688 21.4375 48.863281 21.335938 Z M 11.222656 21.996094 L 12.21875 25.519531 L 15.757812 23.613281 C 15.757812 23.613281 13.886719 20.476562 13.882812 20.503906 L 11.722656 21.070312 C 11.308594 21.1875 11.179688 21.25 11.125 21.335938 C 11.058594 21.4375 11.101562 21.542969 11.222656 21.996094 Z M 16.425781 23.953125 L 12.359375 26.199219 L 24.941406 26.199219 L 24.941406 25.742188 Z M 35.066406 26.6875 L 35.054688 27.140625 L 40.289062 28.011719 L 43.554688 26.6875 Z M 35.0625 27.582031 L 35.050781 28.050781 C 35.050781 28.066406 39 30.21875 39 30.21875 C 39 30.21875 39.589844 30.554688 39.78125 30.597656 C 40.082031 30.667969 40.550781 30.636719 40.550781 30.636719 L 42.097656 30.546875 C 42.097656 30.546875 39.949219 28.566406 40 28.585938 C 40.054688 28.605469 35.0625 27.582031 35.0625 27.582031 Z M 45.074219 27.316406 L 44.375 26.960938 L 40.816406 28.472656 L 42.710938 30.316406 L 45.058594 27.949219 C 45.222656 27.777344 45.332031 27.671875 45.324219 27.5625 C 45.320312 27.488281 45.253906 27.421875 45.074219 27.316406 Z M 14.707031 27.5625 C 14.699219 27.671875 14.8125 27.777344 14.976562 27.953125 L 17.324219 30.316406 L 19.214844 28.472656 L 15.65625 26.960938 L 14.960938 27.316406 C 14.777344 27.421875 14.710938 27.488281 14.707031 27.5625 Z M 24.980469 24.59375 L 14.554688 20.304688 L 16.359375 23.234375 L 24.976562 25.257812 Z M 16.480469 26.6875 L 19.75 28.011719 L 24.984375 27.140625 L 24.972656 26.6875 Z M 20.035156 28.585938 C 20.089844 28.5625 17.9375 30.546875 17.9375 30.546875 L 19.488281 30.632812 C 19.488281 30.632812 19.960938 30.664062 20.257812 30.597656 C 20.449219 30.554688 21.039062 30.214844 21.039062 30.214844 C 21.039062 30.214844 24.984375 28.066406 24.984375 28.046875 L 24.976562 27.578125 C 24.976562 27.582031 19.984375 28.605469 20.035156 28.585938 Z M 34.933594 23.859375 L 38.261719 20.199219 L 40.402344 17.554688 L 40.519531 16.835938 L 40.304688 16.636719 L 40.042969 17.457031 L 34.457031 22.605469 C 34.472656 22.65625 34.933594 23.859375 34.933594 23.859375 M 39.242188 36.035156 C 39.175781 35.945312 37.359375 31.0625 37.359375 31.0625 C 37.050781 30.285156 36.789062 30.148438 36.238281 29.839844 L 34.992188 29.03125 L 34.933594 29.105469 L 36.363281 31.085938 L 36.367188 33.960938 L 41.019531 39.957031 C 41.65625 40.761719 41.679688 41.027344 42.601562 41.027344 L 43.171875 40.761719 L 42.097656 40.582031 C 42.097656 40.582031 39.304688 36.121094 39.242188 36.035156 M 20.835938 36.035156 C 20.769531 36.125 17.980469 40.582031 17.980469 40.582031 L 16.902344 40.761719 L 17.476562 41.027344 C 18.398438 41.027344 18.417969 40.761719 19.058594 39.957031 L 23.703125 33.960938 L 23.710938 31.085938 L 25.140625 29.105469 L 25.082031 29.03125 L 23.835938 29.839844 C 23.285156 30.148438 23.023438 30.285156 22.714844 31.0625 C 22.714844 31.0625 20.902344 35.945312 20.835938 36.035156 M 21.789062 20.199219 L 25.117188 23.859375 C 25.117188 23.859375 25.578125 22.65625 25.59375 22.605469 L 20.011719 17.457031 L 19.746094 16.636719 L 19.53125 16.835938 L 19.644531 17.554688 Z M 35.648438 31.34375 L 35.648438 37.320312 L 33.707031 40.664062 L 31.050781 42.714844 L 30.027344 44.015625 L 29.003906 42.714844 L 26.347656 40.664062 L 24.402344 37.320312 L 24.402344 31.34375 L 26.144531 28.871094 L 25.554688 28.472656 L 25.554688 24.5625 L 26.378906 22.089844 L 27.070312 21.683594 C 27.070312 21.683594 27.121094 20.527344 27.351562 20.230469 C 27.535156 19.992188 28.433594 19.691406 28.433594 19.691406 L 28.878906 19.066406 L 27.308594 16.765625 L 25.75 15.894531 L 25.25 15.300781 L 26.019531 15.546875 L 27.667969 16.480469 L 29.25 18.757812 L 30.0625 18.554688 L 30.851562 18.765625 L 32.4375 16.480469 L 34.085938 15.546875 L 34.855469 15.300781 L 34.355469 15.894531 L 32.792969 16.765625 L 31.203125 19.105469 L 31.621094 19.691406 C 31.621094 19.691406 32.515625 19.992188 32.703125 20.230469 C 32.933594 20.527344 32.980469 21.683594 32.980469 21.683594 L 33.675781 22.089844 L 34.5 24.5625 L 34.5 28.472656 L 33.945312 28.847656 Z M 32.167969 26.289062 L 32.167969 28.207031 L 33.242188 25.753906 L 30.019531 24.328125 L 26.941406 25.417969 L 26.96875 25.519531 L 30.019531 25.175781 Z M 31.390625 21.015625 L 32.453125 21.449219 L 31.621094 19.914062 Z M 27.597656 21.453125 L 28.671875 21.03125 L 28.433594 19.914062 Z M 26.125 24.484375 L 28.324219 23.300781 L 31.726562 23.300781 L 33.921875 24.484375 L 33.683594 23.792969 L 32.101562 22.453125 L 33.507812 22.945312 L 33.351562 22.453125 C 33.351562 22.453125 31.839844 21.695312 31.816406 21.628906 L 28.234375 21.628906 C 28.214844 21.695312 26.699219 22.453125 26.699219 22.453125 L 26.542969 22.945312 L 27.949219 22.453125 L 26.367188 23.792969 Z M 34.484375 38.191406 L 31.859375 39.125 L 28.191406 39.125 L 25.597656 38.191406 L 26.515625 39.8125 L 28.675781 40.605469 L 27.160156 40.570312 L 29.222656 42.160156 L 30.828125 42.160156 L 32.894531 40.570312 L 31.378906 40.605469 L 33.535156 39.8125 Z M 28.015625 36.960938 L 32.039062 36.960938 L 33.917969 35.503906 L 33.894531 35.441406 L 31.824219 36.191406 L 28.226562 36.191406 L 26.15625 35.441406 L 26.132812 35.503906 Z M 35.003906 31.523438 L 34.996094 31.519531 L 31.90625 31.902344 L 34.253906 30.582031 L 33.328125 29.265625 L 31.992188 30.167969 L 28.058594 30.167969 L 26.757812 29.289062 L 25.835938 30.582031 L 28.148438 31.902344 L 25.054688 31.519531 L 25.050781 31.523438 L 25.050781 33.203125 L 27.046875 33.960938 L 33 33.960938 L 35 33.203125 L 35 31.523438 Z M 59.132812 30 C 59.132812 13.695312 46.0625 0.433594 30 0.433594 C 13.9375 0.433594 0.867188 13.695312 0.867188 30 C 0.867188 46.304688 13.9375 59.570312 30 59.570312 C 46.0625 59.570312 59.132812 46.304688 59.132812 30 Z M 58.433594 30 C 58.433594 45.914062 45.679688 58.863281 30 58.863281 C 14.320312 58.863281 1.566406 45.914062 1.566406 30 C 1.566406 14.085938 14.320312 1.140625 30 1.140625 C 45.679688 1.140625 58.433594 14.085938 58.433594 30 Z M 15.582031 20.109375 C 18.710938 15.433594 23.992188 12.359375 29.964844 12.359375 C 35.980469 12.359375 41.289062 15.476562 44.410156 20.203125 L 45.070312 19.925781 C 41.828125 14.980469 36.242188 11.65625 29.964844 11.65625 C 23.699219 11.65625 18.171875 14.90625 14.925781 19.835938 Z M 12.183594 26.6875 C 11.992188 27.757812 11.890625 28.875 11.890625 30 C 11.890625 40.113281 20 48.34375 29.964844 48.34375 C 39.929688 48.34375 48.035156 40.113281 48.035156 30 C 48.035156 28.867188 47.933594 27.753906 47.742188 26.675781 L 47.039062 26.679688 C 47.238281 27.742188 47.34375 28.878906 47.34375 30 C 47.34375 39.726562 39.546875 47.640625 29.964844 47.640625 C 20.378906 47.640625 12.585938 39.726562 12.585938 30 C 12.585938 28.871094 12.691406 27.761719 12.894531 26.691406 Z M 12.183594 26.6875 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(98.823529%,70.588235%,8.235294%);fill-opacity:1;" d="M 26.371094 23.792969 L 27.953125 22.453125 L 26.546875 22.945312 L 26.699219 22.453125 C 26.699219 22.453125 28.214844 21.695312 28.238281 21.628906 L 31.820312 21.628906 C 31.839844 21.695312 33.355469 22.453125 33.355469 22.453125 L 33.511719 22.945312 L 32.105469 22.453125 L 33.6875 23.792969 L 33.925781 24.484375 L 31.730469 23.300781 L 28.324219 23.300781 L 26.128906 24.484375 Z M 34.480469 38.191406 L 31.859375 39.125 L 28.1875 39.125 L 25.597656 38.191406 L 26.515625 39.8125 L 28.671875 40.605469 L 27.15625 40.570312 L 29.222656 42.160156 L 30.824219 42.160156 L 32.890625 40.570312 L 31.375 40.605469 L 33.535156 39.8125 Z M 35 31.523438 L 34.996094 31.519531 L 31.902344 31.902344 L 34.25 30.582031 L 33.324219 29.265625 L 31.988281 30.167969 L 28.058594 30.167969 L 26.757812 29.289062 L 25.835938 30.582031 L 28.144531 31.902344 L 25.050781 31.519531 L 25.046875 31.523438 L 25.046875 33.203125 L 27.042969 33.960938 L 33 33.960938 L 34.996094 33.203125 L 34.996094 31.523438 Z M 35 31.523438 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(89.803922%,89.803922%,89.803922%);fill-opacity:1;" d="M 37.632812 19.109375 L 37.632812 14.554688 L 37.949219 14.734375 L 37.949219 18.796875 Z M 37.632812 36.367188 L 37.632812 45.265625 L 37.949219 45.082031 L 37.949219 36.890625 Z M 37.949219 22.871094 L 37.949219 21.238281 L 37.632812 21.617188 L 37.632812 23.011719 Z M 37.949219 31.265625 L 37.949219 30.136719 L 37.632812 29.929688 L 37.632812 30.609375 Z M 32.832031 15.761719 L 32.832031 13.113281 L 32.515625 13.042969 L 32.515625 15.9375 Z M 32.515625 42.367188 L 32.515625 46.972656 L 32.832031 46.921875 L 32.832031 42.09375 Z M 32.515625 17.894531 L 32.515625 19.550781 L 32.832031 19.71875 L 32.832031 17.394531 Z M 43.105469 20.757812 L 43.105469 19.027344 L 42.789062 18.734375 L 42.789062 20.878906 Z M 42.769531 30.914062 L 42.769531 40.152344 L 43.085938 40.210938 L 43.085938 30.890625 Z M 22.53125 19.109375 L 22.53125 14.554688 L 22.214844 14.734375 L 22.214844 18.796875 Z M 22.214844 36.890625 L 22.214844 45.082031 L 22.53125 45.265625 L 22.53125 36.367188 Z M 22.53125 23.011719 L 22.53125 21.617188 L 22.214844 21.238281 L 22.214844 22.871094 Z M 22.53125 30.609375 L 22.53125 29.933594 L 22.214844 30.136719 L 22.214844 31.265625 Z M 27.652344 15.9375 L 27.652344 13.042969 L 27.335938 13.113281 L 27.335938 15.761719 Z M 27.332031 42.09375 L 27.332031 46.921875 L 27.648438 46.972656 L 27.648438 42.367188 Z M 27.332031 17.394531 L 27.332031 19.71875 L 27.648438 19.550781 L 27.648438 17.894531 Z M 17.378906 20.878906 L 17.378906 18.730469 L 17.058594 19.027344 L 17.058594 20.757812 Z M 17.078125 30.890625 L 17.078125 40.210938 L 17.398438 40.152344 L 17.398438 30.910156 Z M 17.078125 30.890625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 13.421875 15.03125 C 13.140625 14.792969 12.816406 14.914062 12.582031 15.199219 L 12.152344 15.71875 L 13.015625 16.453125 L 13.421875 15.957031 C 13.671875 15.660156 13.707031 15.273438 13.421875 15.03125 Z M 13.421875 15.03125 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 27.449219 53.972656 L 28.195312 54.050781 L 27.925781 52.992188 Z M 27.449219 53.972656 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 24.523438 52.097656 L 24.066406 51.96875 L 23.871094 52.6875 L 24.3125 52.8125 C 24.539062 52.875 24.753906 52.777344 24.816406 52.550781 C 24.882812 52.296875 24.703125 52.148438 24.523438 52.097656 Z M 24.523438 52.097656 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 11.253906 14.121094 L 10.847656 14.609375 L 11.597656 15.246094 L 11.988281 14.773438 C 12.191406 14.527344 12.1875 14.210938 11.949219 14.011719 C 11.6875 13.789062 11.410156 13.925781 11.253906 14.121094 Z M 11.253906 14.121094 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 7.507812 29.5625 C 7.71875 29.5625 7.863281 29.40625 7.863281 29.199219 C 7.863281 28.992188 7.71875 28.832031 7.507812 28.832031 C 7.296875 28.832031 7.160156 28.992188 7.160156 29.199219 C 7.160156 29.40625 7.296875 29.5625 7.507812 29.5625 Z M 7.507812 29.5625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 17.574219 48.890625 C 17.101562 48.585938 16.488281 48.703125 16.132812 49.273438 C 15.777344 49.839844 15.929688 50.453125 16.402344 50.761719 C 16.878906 51.066406 17.488281 50.945312 17.84375 50.378906 C 18.203125 49.808594 18.050781 49.195312 17.574219 48.890625 Z M 17.574219 48.890625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 24.207031 53.359375 L 23.722656 53.222656 L 23.496094 54.050781 L 23.957031 54.179688 C 24.238281 54.257812 24.507812 54.164062 24.582031 53.890625 C 24.65625 53.621094 24.472656 53.433594 24.207031 53.359375 Z M 24.207031 53.359375 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 7.507812 30.007812 C 7.171875 30.007812 6.945312 30.257812 6.945312 30.574219 C 6.945312 30.882812 7.171875 31.132812 7.507812 31.132812 C 7.847656 31.132812 8.074219 30.882812 8.074219 30.574219 C 8.074219 30.257812 7.847656 30.007812 7.507812 30.007812 Z M 7.507812 30.007812 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 15.851562 10.464844 C 15.65625 10.222656 15.332031 10.171875 15.042969 10.410156 L 14.554688 10.808594 L 15.261719 11.699219 L 15.722656 11.320312 C 16.019531 11.078125 16.058594 10.722656 15.851562 10.464844 Z M 15.851562 10.464844 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 48.382812 15.730469 C 48.917969 15.195312 49.082031 14.40625 48.472656 13.777344 L 48.007812 13.296875 L 45.992188 15.3125 L 46.4375 15.769531 C 47.0625 16.414062 47.84375 16.273438 48.382812 15.730469 Z M 48.382812 15.730469 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 51.851562 29.554688 C 52.0625 29.554688 52.207031 29.394531 52.207031 29.1875 C 52.207031 28.980469 52.0625 28.824219 51.851562 28.824219 C 51.640625 28.824219 51.503906 28.980469 51.503906 29.1875 C 51.503906 29.394531 51.640625 29.554688 51.851562 29.554688 Z M 51.851562 29.554688 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 51.851562 30 C 51.515625 30 51.289062 30.25 51.289062 30.5625 C 51.289062 30.871094 51.515625 31.121094 51.851562 31.121094 C 52.191406 31.121094 52.417969 30.871094 52.417969 30.5625 C 52.417969 30.25 52.191406 30 51.851562 30 Z M 51.851562 30 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 54.660156 28.824219 C 54.320312 28.824219 54.105469 29.082031 54.105469 29.394531 C 54.105469 29.703125 54.320312 29.96875 54.660156 29.96875 C 54.996094 29.96875 55.214844 29.703125 55.214844 29.394531 C 55.214844 29.082031 54.996094 28.824219 54.660156 28.824219 Z M 54.660156 28.824219 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 44.652344 10.984375 C 44.839844 10.734375 44.808594 10.402344 44.511719 10.171875 L 44.011719 9.789062 L 43.332031 10.699219 L 43.808594 11.066406 C 44.109375 11.296875 44.457031 11.25 44.652344 10.984375 Z M 44.652344 10.984375 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 38.484375 9.96875 C 39.175781 10.261719 39.949219 9.964844 40.289062 9.140625 C 40.628906 8.316406 40.292969 7.546875 39.605469 7.253906 C 38.917969 6.960938 38.140625 7.257812 37.800781 8.085938 C 37.460938 8.90625 37.796875 9.675781 38.484375 9.96875 Z M 38.484375 9.96875 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 30.019531 1.867188 C 14.738281 1.867188 2.308594 14.488281 2.308594 30 C 2.308594 45.507812 14.738281 58.125 30.019531 58.125 C 45.300781 58.125 57.734375 45.507812 57.734375 30 C 57.734375 14.488281 45.300781 1.867188 30.019531 1.867188 Z M 48.996094 13.25 C 49.996094 14.277344 49.78125 15.570312 49.027344 16.328125 C 48.277344 17.078125 46.9375 17.355469 45.863281 16.246094 L 44.859375 15.214844 L 47.925781 12.148438 Z M 45.039062 9.636719 C 45.730469 10.164062 45.789062 10.921875 45.375 11.476562 C 45.109375 11.839844 44.613281 12.085938 44.035156 11.933594 L 43.765625 14.140625 L 42.929688 13.5 L 43.203125 11.542969 L 42.882812 11.300781 L 41.859375 12.679688 L 41.167969 12.148438 L 43.765625 8.660156 Z M 36.996094 7.746094 C 37.5 6.53125 38.761719 6.011719 39.917969 6.5 C 41.070312 6.988281 41.59375 8.269531 41.09375 9.484375 C 40.59375 10.691406 39.328125 11.210938 38.175781 10.722656 C 37.019531 10.234375 36.5 8.953125 36.996094 7.746094 Z M 33.8125 4.738281 L 36.378906 5.238281 L 36.238281 5.976562 L 34.519531 5.640625 L 34.324219 6.683594 L 35.691406 6.953125 L 35.550781 7.691406 L 34.183594 7.421875 L 33.84375 9.199219 L 32.996094 9.03125 Z M 28.261719 4.460938 L 31.820312 4.480469 L 31.816406 5.230469 L 30.46875 5.222656 L 30.449219 8.84375 L 29.585938 8.839844 L 29.605469 5.21875 L 28.253906 5.210938 Z M 23.59375 5.335938 L 26.175781 7.578125 L 25.5625 4.875 L 26.40625 4.679688 L 27.367188 8.941406 L 26.570312 9.128906 L 23.992188 6.90625 L 24.597656 9.585938 L 23.757812 9.78125 L 22.792969 5.519531 Z M 20.378906 6.367188 L 20.699219 7.042969 L 19.125 7.808594 L 19.574219 8.769531 L 20.832031 8.160156 L 21.152344 8.835938 L 19.894531 9.445312 L 20.34375 10.398438 L 21.96875 9.609375 L 22.289062 10.289062 L 19.882812 11.457031 L 18.023438 7.511719 Z M 14.660156 9.757812 C 15.332031 9.207031 16.070312 9.328125 16.5 9.871094 C 16.78125 10.226562 16.894531 10.773438 16.609375 11.300781 L 18.65625 12.105469 L 17.839844 12.773438 L 16.035156 12.027344 L 15.726562 12.285156 L 16.792969 13.628906 L 16.121094 14.179688 L 13.414062 10.777344 Z M 10.730469 13.582031 C 11.292969 12.898438 11.949219 12.851562 12.382812 13.21875 C 12.710938 13.5 12.832031 13.957031 12.671875 14.367188 C 13.0625 14.070312 13.566406 14.007812 13.984375 14.363281 C 14.46875 14.777344 14.683594 15.605469 14.066406 16.351562 L 13.03125 17.601562 L 9.730469 14.792969 Z M 5.445312 31.546875 L 4.96875 31.546875 L 4.96875 28.683594 L 5.445312 28.382812 Z M 7.507812 31.582031 C 6.917969 31.582031 6.460938 31.140625 6.460938 30.574219 C 6.460938 30.210938 6.644531 29.914062 6.929688 29.746094 C 6.785156 29.613281 6.703125 29.425781 6.703125 29.199219 C 6.703125 28.746094 7.050781 28.382812 7.507812 28.382812 C 7.964844 28.382812 8.316406 28.746094 8.316406 29.199219 C 8.316406 29.425781 8.230469 29.613281 8.085938 29.75 C 8.375 29.917969 8.554688 30.210938 8.554688 30.574219 C 8.554688 31.140625 8.105469 31.582031 7.507812 31.582031 Z M 11.925781 44.785156 L 11.476562 45.121094 L 10.855469 44.265625 L 9.777344 45.074219 L 9.390625 44.542969 L 12 42.589844 L 13.167969 44.195312 L 12.71875 44.527344 L 11.9375 43.453125 L 11.300781 43.929688 Z M 12.4375 48.332031 C 11.785156 47.644531 11.800781 46.601562 12.496094 45.917969 C 13.199219 45.226562 14.226562 45.25 14.878906 45.9375 C 15.535156 46.621094 15.519531 47.664062 14.820312 48.355469 C 14.121094 49.039062 13.09375 49.019531 12.4375 48.332031 Z M 18.398438 50.738281 C 17.878906 51.570312 16.875 51.792969 16.082031 51.277344 C 15.285156 50.765625 15.058594 49.75 15.582031 48.917969 C 16.105469 48.082031 17.109375 47.859375 17.902344 48.371094 C 18.695312 48.886719 18.921875 49.902344 18.398438 50.738281 Z M 22.152344 51.386719 L 21.226562 50.957031 L 20.113281 53.4375 L 19.519531 53.164062 L 20.636719 50.683594 L 19.710938 50.257812 L 19.941406 49.742188 L 22.382812 50.871094 Z M 25.484375 52.601562 C 25.398438 52.921875 25.125 53.148438 24.796875 53.164062 C 25.121094 53.34375 25.316406 53.671875 25.207031 54.074219 C 25.078125 54.539062 24.582031 54.945312 23.890625 54.75 L 22.722656 54.421875 L 23.59375 51.25 L 24.722656 51.570312 C 25.359375 51.75 25.597656 52.1875 25.484375 52.601562 Z M 28.554688 55.453125 L 28.359375 54.683594 L 27.171875 54.5625 L 26.824219 55.277344 L 26.125 55.203125 L 27.710938 52.058594 L 28.328125 52.125 L 29.257812 55.527344 Z M 29.992188 49.0625 C 19.636719 49.0625 11.210938 40.507812 11.210938 29.996094 C 11.210938 28.847656 11.324219 27.617188 11.503906 26.625 C 11.5625 26.308594 11.65625 25.972656 11.65625 25.972656 L 10.585938 22.195312 C 10.355469 21.386719 10.261719 21.164062 10.390625 20.957031 C 10.441406 20.875 10.53125 20.742188 10.902344 20.640625 L 14.121094 19.828125 L 14.1875 19.707031 C 17.53125 14.429688 23.367188 10.929688 29.992188 10.929688 C 36.589844 10.929688 42.402344 14.402344 45.753906 19.640625 L 45.855469 19.820312 L 49.074219 20.636719 C 49.445312 20.734375 49.535156 20.867188 49.585938 20.949219 C 49.710938 21.160156 49.621094 21.382812 49.390625 22.191406 L 48.320312 25.964844 C 48.320312 25.964844 48.429688 26.339844 48.484375 26.65625 C 48.679688 27.75 48.773438 28.859375 48.773438 29.996094 C 48.777344 40.507812 40.351562 49.0625 29.992188 49.0625 Z M 30.75 55.488281 L 30.566406 52.203125 L 31.214844 52.164062 L 31.367188 54.886719 L 32.660156 54.8125 L 32.691406 55.375 Z M 34.1875 55.113281 L 33.550781 51.886719 L 34.191406 51.757812 L 34.71875 54.433594 L 35.988281 54.175781 L 36.097656 54.726562 Z M 40.503906 53.121094 C 39.722656 53.472656 38.78125 53.199219 38.355469 52.222656 C 37.902344 51.179688 38.433594 50.277344 39.199219 49.933594 C 39.605469 49.75 40.125 49.703125 40.613281 49.964844 L 40.371094 50.558594 C 40.046875 50.347656 39.707031 50.382812 39.433594 50.507812 C 38.929688 50.734375 38.648438 51.25 38.9375 51.921875 C 39.21875 52.566406 39.777344 52.769531 40.28125 52.542969 C 40.671875 52.367188 40.890625 52.007812 40.871094 51.511719 L 41.472656 51.554688 C 41.484375 52.296875 41.089844 52.855469 40.503906 53.121094 Z M 43.253906 51.59375 L 41.453125 48.859375 L 41.992188 48.492188 L 43.488281 50.757812 L 44.5625 50.027344 L 44.871094 50.496094 Z M 47.042969 48.816406 C 46.554688 49.253906 45.792969 49.378906 45.253906 48.75 L 43.878906 47.152344 L 44.367188 46.71875 L 45.699219 48.265625 C 46.011719 48.628906 46.375 48.59375 46.644531 48.355469 C 46.914062 48.113281 47.003906 47.761719 46.683594 47.390625 L 45.355469 45.84375 L 45.84375 45.410156 L 47.21875 47.007812 C 47.761719 47.636719 47.535156 48.382812 47.042969 48.816406 Z M 50.003906 45.535156 L 49.175781 46.433594 L 46.808594 44.183594 L 47.609375 43.316406 C 48.058594 42.828125 48.554688 42.816406 48.863281 43.113281 C 49.101562 43.335938 49.171875 43.683594 49.035156 43.988281 C 49.34375 43.777344 49.71875 43.753906 50.019531 44.039062 C 50.367188 44.371094 50.492188 45.003906 50.003906 45.535156 Z M 51.851562 31.570312 C 51.261719 31.570312 50.804688 31.128906 50.804688 30.5625 C 50.804688 30.199219 50.988281 29.902344 51.273438 29.734375 C 51.128906 29.601562 51.046875 29.414062 51.046875 29.1875 C 51.046875 28.734375 51.394531 28.375 51.851562 28.375 C 52.308594 28.375 52.660156 28.734375 52.660156 29.1875 C 52.660156 29.414062 52.574219 29.601562 52.429688 29.738281 C 52.71875 29.90625 52.898438 30.199219 52.898438 30.5625 C 52.898438 31.132812 52.449219 31.570312 51.851562 31.570312 Z M 54.625 31.535156 L 54.097656 31.535156 L 54.746094 30.402344 C 54.703125 30.410156 54.660156 30.414062 54.617188 30.414062 C 54.109375 30.414062 53.625 30 53.625 29.398438 C 53.625 28.824219 54.070312 28.375 54.660156 28.375 C 55.25 28.375 55.699219 28.824219 55.699219 29.398438 C 55.699219 29.613281 55.609375 29.804688 55.511719 29.980469 Z M 54.625 31.535156 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 48.503906 43.691406 C 48.316406 43.511719 48.105469 43.605469 47.976562 43.742188 L 47.652344 44.09375 L 48.191406 44.601562 L 48.503906 44.261719 C 48.664062 44.089844 48.675781 43.851562 48.503906 43.691406 Z M 48.503906 43.691406 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 12.953125 46.394531 C 12.476562 46.863281 12.484375 47.496094 12.875 47.902344 C 13.265625 48.3125 13.886719 48.34375 14.363281 47.875 C 14.84375 47.40625 14.835938 46.773438 14.445312 46.363281 C 14.050781 45.953125 13.429688 45.925781 12.953125 46.394531 Z M 12.953125 46.394531 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(81.960784%,12.54902%,14.901961%);fill-opacity:1;" d="M 48.933594 44.609375 L 48.589844 44.980469 L 49.207031 45.570312 L 49.535156 45.214844 C 49.734375 45 49.777344 44.710938 49.574219 44.515625 C 49.371094 44.328125 49.121094 44.40625 48.933594 44.609375 Z M 48.933594 44.609375 "/>
</g>
</svg>
`;
const App: () => Node = () => {
return (
<SafeAreaView style={{ flex: 1, justifyContent: 'center', alignContent: 'center'}}>
<SvgXml xml={xml} height="100%" width="100%" />
</SafeAreaView>
);
};
export default App;
Run the app on iOS simulator:
yarn ios
The SVG content above renders correctly on current versions of Safari, Firefox and Chrome.
The text was updated successfully, but these errors were encountered:
Bug
Float functional rgb(R%, G%, B%) syntactical form is not being recognized.
Environment info
React native info output:
Library version: 13.4.0
Steps To Reproduce
Setup a clean project:
Edit
App.js
Run the app on iOS simulator:
The SVG content above renders correctly on current versions of Safari, Firefox and Chrome.
The text was updated successfully, but these errors were encountered: