react-native-skottie icon indicating copy to clipboard operation
react-native-skottie copied to clipboard

Error while using dotLottie files.

Open ISnowFoxI opened this issue 9 months ago • 5 comments

When you try to use dotLottie files with rn-skottie it throws the below error. Android logcat seemed to give the same information as well.

...

import {Skottie} from 'react-native-skottie';
import {cameraPermission, micPermission} from '../../../assets/animations';

    ...
    
    <Skottie
          style={styles.animationStyle}
          source={micPermission}
          autoPlay
          loop
          resizeMode="contain"
    />
    
    ...

Here are some example files: dotLottieFiles.zip

Sidenote: When I download files from lottie files, they download as a zip, so I have to manually convert the file extention to .lottie. Don't think it has anything to do with it.

dotLottie

ISnowFoxI avatar May 06 '24 09:05 ISnowFoxI