react-native-skottie
react-native-skottie copied to clipboard
Error while using dotLottie files.
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.