So I encountered a weird issue on my react native app that was working completely fine before. The only change I did was to delete the gradle cache and re import the project.
Steps to reproduce:
Result: The app downloaded from the play store crashes on launch on some device.
Error logs:
[libandroidfw.so] android::LoadedPackage::FindEntryByName(std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > const&, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > const&) const
SIGSEGV
Apparently nothing is clear from this log. Nothing on the Sentry logs as well.
RN version 0.72
min sdk version 27
target and compile sdk version 34
build tools 34.0.0
Tried to change the above values, gradle version etc. Nothing seem to fix the crash. Also deleted node_modules, cleaned the project, invalidated cache for android studio. Tried with different Abi configurations. Still the app crashed.
Also cloned the project again from GitHub. Tried again and the crash is still there.
It seems to have been a problem with Google Play's signing...
I released an app update to play store on on feb 6th, which crashed on Android 12 devices.
It also crashed when downloaded from Firebase App Distribution as AAB. But worked well as APK.
Even building from older commits that has worked before, gave me the same issue.
Today, feb 9th, I tried to upload the same build again to Firebase App Distribution as AAB, and now it works on Android 12 devices.
Apparently, they have fixed the issue, but the apps that were uploaded when the issue was present, are still affected until you upload a new build.
Where can we expect to read a statement from google about this?