rive-app / rive-app/rive-react-native
Crashlytics Crash Reports - Instantaneous Crash on Certain Devices
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Description
Description
An instantaneous crash on launch occurs on certain devices even when there is no code related to rive on the project. just bundling the package in the build causes this.
Devices I am aware of - Samsung - Galaxy M11, Note 10+ 5G, VIVO - V2101, Y71, OPPO - F17 PRO.
Fatal Exception: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: r0.b: sa.b: Could not find 'libjnirivebridge.so'. Looked for: [armeabi-v7a, armeabi], but only found: [].
at android.app.ActivityThread.installProvider(ActivityThread.java:5858)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5447)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5386)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1546)
Additional context
This looks similar to https://github.com/realm/realm-java/issues/6812
We have a bunch of features ready to pushed on production using rive but this crash has deterred us from rolling out to production. Can provide additional information if you could hint me in the right direction.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Android stack trace and the packaging of libjnirivebridge.so, checking why no native library is available for the affected armeabi-v7a and armeabi devices. Reproduce the launch crash on one of the listed devices or ABIs; done means bundling the package no longer causes an instantaneous launch crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100