Skip to content

Progress Circle not working unless package react-native-svg separately installed  #253

Open

Description

@Fashad-Ahmed

If Progress Circle gets imported like:

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.

Activity

  1. Bimbimz commented on Nov 15, 2022

    @Bimbimz

    its true

  2. rafaelmaeuer commented on Feb 28, 2023

    @rafaelmaeuer

    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.

  3. jeromecance commented on May 25, 2023

    @jeromecance

    Got the same issue. It's not working with react-native-svg 13.x. using v12.x makes it work.

  4. ebulku commented on Jul 20, 2023

    @ebulku

    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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions