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
{{ message }}
Repository navigation
Progress Circle not working unless package react-native-svg separately installed #253
import ProgressCircle from 'react-native-progress/Circle;
In this scenario, using ProgressCircle component will give error of a missing dependency of react-native-svg, which has to be installed separately. Kindly, add this thing in your documentation.
I have a slightly different problem which might be related:
The circle is not working when using react-native-svg as direct dependency in the latest version v13.x.x. NativeBase errors when it is loaded as peer-dependency, so to get it working, I need to tie react-native-svg to v12.x.x.
I do import * as Progress from 'react-native-progress' and use Progress.Circle component afterwards.
Activity
Bimbimz commentedon Nov 15, 2022
its true
rafaelmaeuer commentedon Feb 28, 2023
I have a slightly different problem which might be related:
The circle is not working when using
react-native-svgas direct dependency in the latest versionv13.x.x.NativeBaseerrors when it is loaded as peer-dependency, so to get it working, I need to tiereact-native-svgtov12.x.x.I do
import * as Progress from 'react-native-progress'and useProgress.Circlecomponent afterwards.jeromecance commentedon May 25, 2023
Got the same issue. It's not working with react-native-svg 13.x. using v12.x makes it work.
ebulku commentedon Jul 20, 2023
The easiest way is to change the version of react-native-progress with the PR# fixing this issue in package.json file and run
npm update"react-native-progress": "oblador/react-native-progress#pull/258/head"