-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
staleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Description
I'm on version 7.3.3 and react native 0.8.1, on android whenever I tried to render the attached json on android the app crashed immediately, checking the logcat I saw it saying that and on sentry it shows the same error
Canvas: trying to draw too large(277822224bytes) bitmap.
I tried enable safe mode but it removed most of the thing in the animation, on iOS everything works as expected.
I have 8 json of animation and only on json 8 it crashes the app.
Json 8:
Others:
Code:
<LottieView
ref={animationRef}
source={source
autoPlay={true}
loop={false}
style={[
styles.animation,
{
width: sizeDimensions.width,
height: sizeDimensions.height,
},
]}
onAnimationFinish={handleAnimationFinish}
resizeMode="contain"
/>
Steps to reproduce
- Download the json and use it in LottieView component
Snack or a link to a repository
No link, just a json to test https://github.com/user-attachments/files/22579832/8.json
Lottie React Native version
7.3.3
React Native version
0.80.1
Platforms
Android
Workflow
React Native
Architecture
Paper (Old Architecture)
Build type
None
Device
None
Acknowledgements
Yes
Metadata
Metadata
Assignees
Labels
staleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.