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

Enable animations on android if the system animations are disabled #957

Open
MariusCatanoiu opened this issue Dec 23, 2022 · 3 comments
Open

Comments

@MariusCatanoiu
Copy link

If the system animations on android are disabled, we need from lottie to ignore that option

something like:
add
view.setIgnoreDisabledSystemAnimations(true);
in
LottieAnimationViewManager.java

Thanks

@matinzd
Copy link
Collaborator

matinzd commented Jan 17, 2023

Hi,
Will that happen for those devices that have battery saving enabled on Android? If that's the case just in developer mode, it can be ignored now as we have higher-priority work.

@stale
Copy link

stale bot commented Mar 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale There has been a lack of activity on this issue and it may be closed soon. label Mar 18, 2023
@MariusCatanoiu
Copy link
Author

Hi, Will that happen for those devices that have battery saving enabled on Android? If that's the case just in developer mode, it can be ignored now as we have higher-priority work.

Yes. I think that if we use a method that should by-pass the android system animations if they are disabled, the lottie animations should not be conditioned by the battery saving feature.

Let me add some context. I use lottie for a social game. To do a specific task, a outcome will be returned at the end of a animation. If the animations are disabled, the outcome will come faster, and some user will have an advantage

@stale stale bot removed the stale There has been a lack of activity on this issue and it may be closed soon. label Mar 21, 2023
@stale stale bot added the stale There has been a lack of activity on this issue and it may be closed soon. label May 20, 2023
@matinzd matinzd removed the stale There has been a lack of activity on this issue and it may be closed soon. label May 20, 2023
@lottie-react-native lottie-react-native deleted a comment from stale bot May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants