Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using dotLottie files. #40

Open
ISnowFoxI opened this issue May 6, 2024 · 3 comments
Open

Error while using dotLottie files. #40

ISnowFoxI opened this issue May 6, 2024 · 3 comments

Comments

@ISnowFoxI
Copy link

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

@sabaturgay
Copy link

Hi,

I've started using rn-skottie and noticed significant performance improvements. Thanks for the great work! However, this issue is preventing me from publishing my app on Android. Is there any progress on this issue? I need to decide whether to plan the release with rn-skottie or postpone its use.

Thanks in advance for your response.

@ISnowFoxI
Copy link
Author

@sabaturgay for now, you should postpone it, Margelo team is hard at work migrating all libraries to new arch and stuff. So they are very busy at the moment.

@sabaturgay
Copy link

Sure, Thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants