react-native-progress: Doesn't work in Expo SDK36

Can’t use it. Both iOS and Android crashes.

Invariant Violation: requireNativeComponent: "ARTShape" was not found in the UIManager.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 8
  • Comments: 18 (3 by maintainers)

Most upvoted comments

You could try this:

yarn add @react-native-community/art react-native link @react-native-community/art cd ios && pod install re-build project

You could try this:

yarn add @react-native-community/art react-native link @react-native-community/art cd ios && pod install re-build project

sdk36 expo cli not react native cli can’t link

I’ll accept a PR migrating to the svg lib. Reason I went with ART to begin with was ease of integration which is now lost anyways and we’re just stuck with the bugs.

Hi @oblador, I’m new to open source and I haven’t used the library. But I’ll be happy to try and migrate it to react-native-svg

use this command in cmd for ART-SHAPE on expo npm install @react-native-community/art --save

@oblador I’ve submitted a PR migrating to react-native-svg and it should resolve this issue. Do take a look! #229

Expo docs address this issue in react-native-progress specifically with examples of how to get around it using vector if you want to stay in Managed Workflow

Expo docs claim they have ART built in, but maybe it’s time to rethink the choice of vector rendering library now that it’s been janked from core.