Skip to content

Fix: Check ABI filters before build for old Android devices#2196

Open
cmgustavo wants to merge 1 commit into
bitpay:developfrom
cmgustavo:bug/check-abi-filters-01
Open

Fix: Check ABI filters before build for old Android devices#2196
cmgustavo wants to merge 1 commit into
bitpay:developfrom
cmgustavo:bug/check-abi-filters-01

Conversation

@cmgustavo

Copy link
Copy Markdown
Member

Problem

The SIGABRT crash caused by missing armeabi-v7a ABI filters has happened twice (14.39.15 and 14.43.2). Both times the root cause was the same: armeabi-v7a missing from android/app/build.gradle, affecting mid/low-end Android devices running in 32-bit mode.

Solution

Add a postinstall script that validates armeabi-v7a is present in all 3 required locations in android/app/build.gradle:

  • reactNativeArchitectures() default return value
  • ndk { abiFilters } block
  • versionCodes map

@cmgustavo cmgustavo marked this pull request as draft June 9, 2026 21:13
@JohnathanWhite

Copy link
Copy Markdown
Collaborator

Synced to Jira: https://bitpayprod.atlassian.net/browse/RN-2827

@cmgustavo cmgustavo force-pushed the bug/check-abi-filters-01 branch from 51c4831 to ef4224a Compare July 6, 2026 20:43
@cmgustavo cmgustavo marked this pull request as ready for review July 6, 2026 20:45
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.

2 participants