nerdyfactory / react-native-simple-gauge

Gauge progress module for React Native (iOS and Android)
MIT License
99 stars 34 forks source link

Receiving "Error while updating property 'stroke' in shadow node of type: ARTShape" #67

Open danicaliforrnia opened 2 years ago

danicaliforrnia commented 2 years ago

Trying to render <AnimatedGaugeProgress/> component in a Expo app results in:

"Error while updating property 'stroke' in shadow node of type: ARTShape".

Prerequisites

Steps to Reproduce

  1. install react-native-simple-gauge and @react-native-community/art.
  2. In the index component, return: <AnimatedGaugeProgress size={200} width={15} fill={100} rotation={90} cropDegree={90} tintColor="#4682b4" backgroundColor="#b0c4de" stroke={[2, 2]} strokeCap="circle" />

Expected result

Gauge should be displayed.

Current result

Expo throws "Error while updating property 'stroke' in shadow node of type: ARTShape".

danicaliforrnia commented 2 years ago

image