Skip to content

chore(deps): bump dotlottie-android to 0.13.6 (fix Android 16 crash)#46

Merged
theashraf merged 1 commit intomainfrom
chore/bump-dotlottie-android-0.13.6
Apr 21, 2026
Merged

chore(deps): bump dotlottie-android to 0.13.6 (fix Android 16 crash)#46
theashraf merged 1 commit intomainfrom
chore/bump-dotlottie-android-0.13.6

Conversation

@theashraf
Copy link
Copy Markdown
Member

@theashraf theashraf commented Apr 21, 2026

Summary

  • Bumps dotlottie-android from 0.13.40.13.6 in android/build.gradle.
  • Fixes a SIGABRT hard crash on Android 16 Beta (SDK 36) triggered inside the native dotlottie_stop call during screen detachment.

Why

Apps using dotlottie-react-native 0.7.4 / 0.8.0 crash on Android 16 Beta (SDK 36, observed on Galaxy S25 / M1S / R12S / M3Q) whenever a screen containing a DotLottie animation is navigated away from. Scudo (Android 16's hardened allocator) detects an invalid chunk state while dotlottie_stop calls realloc, and aborts:

Scudo ERROR: invalid chunk state when reallocating address 0x<sanitized>
  #07  realloc
  #21  dotlottie_stop
  #24  DotLottiePlayer.stop()
  #30  DotlottieReactNativeView.onDetachedFromWindow()
  #47  com.swmansion.rnscreens — screen removal

Older Android releases tolerated the double-free; Scudo on SDK 36 does not. The underlying memory-corruption bug is in the native core and was fixed upstream in dotlottie-android 0.13.6:

fix: 🐛 crash when loading DotLottieDrawable a second time

Reported crash-rate impact from the filer: +3.99pp spike in Google Play Console Android Vitals.

Closes #45.

References

Fixes a hard crash on Android 16 Beta (SDK 36) triggered by the
DotLottieDrawable stop/destroy lifecycle. Scudo detects an invalid
chunk state during realloc inside native dotlottie_stop when a screen
containing an animation is detached (e.g. via react-native-screens).

dotlottie-android 0.13.6 ships the upstream fix:
"fix: crash when loading DotLottieDrawable a second time".

Closes #45
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 21, 2026

⚠️ No Changeset found

Latest commit: dfdd5b8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@theashraf theashraf merged commit 86ee000 into main Apr 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): bump dotlottie-android to 0.13.6 to fix crash on Android 16 Beta (SDK 36)

1 participant