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

Android crashes ,Malformed Rive File

Open ahmaddehnavi opened this issue 2 years ago • 3 comments

Description

My animation file causes the Android app to crash, it is ok on the iOS version

Source .riv/.rev file

animation.riv.zip

Device & Versions

  • Device: Samsung A51
  • OS: Android 13
  • NPM Version: 6.14.5 (yarn v1.22.19)
  • rive-react-native: 4.0.4

ahmaddehnavi avatar May 12 '23 12:05 ahmaddehnavi

Hi @ahmaddehnavi

I tested on v4.0.5 on an emulator, and could not reproduce the crash. Tried with the Android runtime, and the React Native runtime for Android.

  • Are you experiencing this issue only on your physical device, or can you reproduce it on an emulator/other device?
  • Are you encountering similar issue with other riv files, or only this one

HayesGordon avatar May 23 '23 14:05 HayesGordon

@ahmaddehnavi is proguard enabled in your app build gradle file? I am also experiencing the same issue when proguard is enabled.

ayomidewaliy avatar Aug 19 '23 11:08 ayomidewaliy