lottie-react-native / lottie-react-native

Lottie wrapper for React Native.
https://airbnb.io/lottie/#/react-native
Apache License 2.0
16.76k stars 1.78k forks source link

Unimplemented component : <LottieAnimationView> #1292

Open abdullah-tsx opened 1 month ago

abdullah-tsx commented 1 month ago

Description

following documentation getting error on iOS18 Unimplemented component : image

Steps to reproduce

  1. Follow installation guide yarn add lottie-react-native npx pod install cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
    
    import LottieView from 'lottie-react-native';
    import React from 'react';

const SplashScreen = () => { return ( <LottieView source={require('../../assets/animations/splash.json')} autoPlay={true} renderMode={'AUTOMATIC'} loop={true} style={{ flex: 1, width: '100%', height: '100%' }} /> ); };

export default SplashScreen;



### Snack or a link to a repository

https://github.com/abdullah-tsx/lottie-bug

### Lottie React Native version

7.0.0

### React Native version

0.75.4

### Platforms

Android, iOS

### Workflow

React Native

### Architecture

Fabric (New Architecture)

### Build type

Debug app & dev bundle

### Device

Real device

### Acknowledgements

Yes
matinzd commented 3 weeks ago

Hey!

We cannot access your repo link. Can you please fix that?

abdullah-tsx commented 3 weeks ago

Hey!

We cannot access your repo link. Can you please fix that?

I have updated the link.

brunocentanaro commented 2 weeks ago

Same for me using expo 52 preview with new arch

matinzd commented 2 weeks ago

Please remove lottie-ios from the list of your dependencies.

brunocentanaro commented 2 weeks ago

It worked for me now, maybe I had to remove the ios folder and run the prebuild again. I did not have lottie-ios