Skip to content

Android app crashes in release build if I store Rive file locally in raw assets. #318

@NehaMondal

Description

@NehaMondal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions