No ViewManager found for class JBAnimatedText

See original GitHub issue

Description

I encounter the error in the issue title with the code snippet below.

Screenshots

Snack or minimal code example

const points = useDerivedValue(() => {
    const p = point.value.data.y;
    return `${round(p, 1)}`;
  });

  const animatedPointsProps = useAnimatedProps(() => {
    return {
      text: points.value,
    };
  });

  return (
    <View style={styles.contentContainer}>
      <AnimateableText
        style={styles.date}
        animatedProps={animatedPointsProps} // same error if I hardcode text='hello'
      />
    </View>
  );

Package versions

  • React Native Animateable Text: 0.6.2
  • React Native Reanimated: 2.2.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
JonnyBurgercommented, Oct 29, 2021

@JesperSporronRocker Yes that’s right, we don’t support Expo at the moment. Looking for someone in the community to implement and maintain it, we don’t have any Expo projects.

0reactions
JesperSporronRockercommented, Oct 14, 2021

I have the same issue, can reproduce using OP:s code snippet. Detached Expo project. The error message is different on Android and iOS and they look as such:

  • Android: No ViewManager found for class JBAnimatedText.
  • iOS: No component found for view with name "JBAnimatedText".

Versions:

  • react-native: 0.63.4
  • react-native-animateable-text: tried all versions from 0.5.9 up to 0.8.0
  • react-native-reanimated: 2.2.0

Maybe it doesn’t support Expo at all? That would be a shame.

Read more comments on GitHub >

github_iconTop Results From Across the Web

getting an error No ViewManager defined for class RCTRawText
I made these changes so that my android phone starts showing the longitude and latitude without timing out. I am not sure where...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found