Description
Android app crashes in release build if I store Rive file locally in raw assets.
Provide a Repro
<--
<Rive
onPlay={onPlay}
resourceName={'file_name'}
style={{ width, height }}
onRiveEventReceived={onRiveEventReceived}
/>
-->
File path
android/app/src/main/res/raw/file_name.riv
Device & Versions (please complete the following information)
- Device: Android device
- OS: Android 14
- NPM Version:
npm --version - 10.7.0
Additional context
The rive is working fine on iOS and android emulator, but for android, it's causing crash in release build.