Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGABRT crash #47074

Closed
Nader-CS opened this issue Oct 16, 2024 · 20 comments
Closed

SIGABRT crash #47074

Nader-CS opened this issue Oct 16, 2024 · 20 comments

Comments

@Nader-CS
Copy link

Description

when app opened , it crashed at runtime due to SIGABRT error , it happens mostly android 14 and and mostly in samsung devices
Screen Shot 2024-10-16 at 10 55 49 PM

Steps to reproduce

  1. install the aplication from google play store
  2. open app
  3. app crasheda

React Native Version

0.73.7

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
  OS: macOS 12.7.5
  CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Memory: 39.43 MB / 16.00 GB
  Shell:
    version: 5.8.1
    path: /bin/zsh
Binaries:
  Node:
    version: 20.15.0
    path: ~/.nvm/versions/node/v20.15.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v20.15.0/bin/yarn
  npm:
    version: 10.7.0
    path: ~/.nvm/versions/node/v20.15.0/bin/npm
  Watchman:
    version: 2024.07.15.00
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 21.4
      - iOS 16.0
      - macOS 12.3
      - tvOS 16.0
      - watchOS 9.0
  Android SDK:
    API Levels:
      - "30"
      - "31"
      - "33"
      - "34"
    Build Tools:
      - 24.0.0
      - 24.0.1
      - 24.0.2
      - 24.0.3
      - 30.0.3
      - 33.0.0
      - 33.0.1
      - 34.0.0
    System Images:
      - android-26 | Google Play Intel x86 Atom
      - android-34 | Intel x86_64 Atom
      - android-34 | Google APIs Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2411.12169540
  Xcode:
    version: 14.0/14A309
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.2.0
  react-native:
    installed: 0.75.4
    wanted: 0.73.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

Crashed: Thread: SIGABRT  0x0000000000000000
#00 pc 0x940a4 libc.so (BuildId: a6a4bb5d4c7b3e99262fee774c3907c6)
#01 pc 0x94074 libc.so (BuildId: a6a4bb5d4c7b3e99262fee774c3907c6)
#02 pc 0x93014c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#03 pc 0x160fc libbase.so (BuildId: 42d41ca7c77853791d096606e7186547)
#04 pc 0x156d0 libbase.so (BuildId: 42d41ca7c77853791d096606e7186547)
#05 pc 0x2dfbb4 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#06 pc 0x68ef40 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#07 pc 0x24ccac libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#08 pc 0x22c868 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#09 pc 0x56afd0 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#10 pc 0x5695f8 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#11 pc 0x568fc0 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#12 pc 0x56669c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#13 pc 0x67d264 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#14 pc 0x306e7c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#15 pc 0x70e403e0
#16 pc 0x7482888b70

Reproducer

i don't know where exactly the issue , but it not happened in ios

Screenshots and Videos

Screen Shot 2024-10-16 at 10 58 59 PM Screen Shot 2024-10-16 at 10 59 30 PM
@react-native-bot
Copy link
Collaborator

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.73.10. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@react-native-bot react-native-bot added the Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. label Oct 16, 2024
@react-native-bot
Copy link
Collaborator

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@react-native-bot
Copy link
Collaborator

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

@migueldaipre
Copy link
Collaborator

We need more information to help you. Try to create a reproducer with this template or update your RN version to latest.

@Nader-CS
Copy link
Author

I can't reproduce it because I don't know exactly where it happens. It's a Crashlytics error, and it doesn't occur on my own mobile

@github-actions github-actions bot added Needs: Attention Issues where the author has responded to feedback. and removed Needs: Author Feedback labels Oct 17, 2024
@Nader-CS
Copy link
Author

Most of the time, I see that there isn't enough memory on those devices

@cortinico
Copy link
Contributor

#00 pc 0x940a4 libc.so (BuildId: a6a4bb5d4c7b3e99262fee774c3907c6)
#1 pc 0x94074 libc.so (BuildId: a6a4bb5d4c7b3e99262fee774c3907c6)
#2 pc 0x93014c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#3 pc 0x160fc libbase.so (BuildId: 42d41ca7c77853791d096606e7186547)
#4 pc 0x156d0 libbase.so (BuildId: 42d41ca7c77853791d096606e7186547)
#5 pc 0x2dfbb4 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#6 pc 0x68ef40 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#7 pc 0x24ccac libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#8 pc 0x22c868 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#9 pc 0x56afd0 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#10 pc 0x5695f8 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#11 pc 0x568fc0 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#12 pc 0x56669c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#13 pc 0x67d264 libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)
#14 pc 0x306e7c libart.so (BuildId: 1ee2c234829500686eefa384068e67c8)

Nothing on this stacktrace points to React Native hence we're closing this.

@cortinico cortinico added Resolution: Cannot Reproduce and removed Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Attention Issues where the author has responded to feedback. labels Oct 17, 2024
@goguda
Copy link

goguda commented Nov 1, 2024

Hm, we're seeing this too, ever since upgrading to RN 0.76 (and 0.76.1). Not new arch. I can't seem to reproduce it in development, but we're seeing tons of events in production too...

image

Android-only and mostly Android 14 as well. The weird thing is, most of these phones seem to have a decent amount of memory (4GB-8GB).

@Nader-CS, do you have a

splits {
        abi {
            reset()
            enable true
            universalApk false
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }

in your app build.gradle by chance?

@goguda
Copy link

goguda commented Nov 1, 2024

Also, it looks like this issue happened in older versions of RN as well, but since switching to 0.76 the number of these events has risen exponentially for us (about 30 YTD before 0.76, vs almost 1000 over the last week...). I think the 30 is safe to assume OOM or something, but 1000 over the last week coinciding with this upgrade just does not seem like a coincidence...

I’m not ruling out the possibility of it being caused by an upgrade to another dependency that’s causing this either. I’m going to look at how our package.json has changed and report back.

@goguda
Copy link

goguda commented Nov 1, 2024

Alright, I was able to get a crash log from Google Play Console with a little bit more info...

Thread terminating due to uncaught exception of type facebook::jni::JniException: com.facebook.react.common.JavascriptException: EarlyJsError: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registered in the native binary., stack:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 11864 >>> com.iroomit.iroomitapp <<<

backtrace:
  #00  pc 0x00000000000927e8  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164)
  #01  pc 0x000000000009dd84  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libc++_shared.so (BuildId: 982d68842b3bd6a164609be09a533324b1f28526)
  #02  pc 0x000000000009ca44  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libc++_shared.so (BuildId: 982d68842b3bd6a164609be09a533324b1f28526)
  #03  pc 0x000000000009ced4  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libc++_shared.so (BuildId: 982d68842b3bd6a164609be09a533324b1f28526)
  #04  pc 0x000000000009ce74  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libc++_shared.so (std::terminate()+56) (BuildId: 982d68842b3bd6a164609be09a533324b1f28526)
  #05  pc 0x0000000000345624  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #06  pc 0x0000000000540408  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #07  pc 0x000000000039af84  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (facebook::react::JsErrorHandler::handleFatalError(facebook::jsi::Runtime&, facebook::jsi::JSError&)+5544) (BuildId: 1418e94c42deb385)
  #08  pc 0x0000000000350114  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #09  pc 0x00000000000bb7f0  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #10  pc 0x00000000000bb450  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #11  pc 0x00000000000c2528  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #12  pc 0x00000000000d2874  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #13  pc 0x00000000000d4224  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #14  pc 0x00000000000d38e0  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #15  pc 0x0000000000106cb4  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #16  pc 0x00000000000ae924  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #17  pc 0x00000000000ae7ac  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (facebook::hermes::HermesRuntime::evaluateJavaScriptWithSourceMap(std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+100) (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #18  pc 0x00000000000af7c8  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libhermes.so (BuildId: b0f589a6e8d91abac4ce7ed08803646a812a4f49)
  #19  pc 0x000000000034c224  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #20  pc 0x00000000004dc138  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #21  pc 0x0000000000349e28  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #22  pc 0x000000000051b7b4  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libreactnative.so (BuildId: 1418e94c42deb385)
  #23  pc 0x0000000000019804  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+72) (BuildId: a22242831a7971267de570e06121acb588ce64cd)
  #24  pc 0x0000000000019744  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/split_config.arm64_v8a.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+60) (BuildId: a22242831a7971267de570e06121acb588ce64cd)
  #25  pc 0x00000000003343c0  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+112)
  #26  pc 0x0000000000971514  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Handler.dispatchMessage+68)
  #27  pc 0x000000000077f820  /apex/com.android.art/lib64/libart.so (nterp_helper+4016)
  #28  pc 0x000000000024c1fc  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage)
  #29  pc 0x0000000000974ed4  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+980)
  #30  pc 0x0000000000974a64  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+916)
  #31  pc 0x000000000077e908  /apex/com.android.art/lib64/libart.so (nterp_helper+152)
  #32  pc 0x000000000024c722  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
  #33  pc 0x000000000077e908  /apex/com.android.art/lib64/libart.so (nterp_helper+152)
  #34  pc 0x000000000024c528  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadImpl.b)
  #35  pc 0x000000000077e908  /apex/com.android.art/lib64/libart.so (nterp_helper+152)
  #36  pc 0x00000000002ece40  /data/app/~~Ma_iqwSnCAWnGFXBm5aSeg==/com.iroomit.iroomitapp-6tfaOSi7OQ5KBpu0nbNxjw==/base.apk (com.microsoft.clarity.I5.b.run+4)
  #37  pc 0x000000000040f510  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+64)
  #38  pc 0x0000000000362774  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
  #39  pc 0x000000000034def0  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+132)
  #40  pc 0x0000000000943e28  /apex/com.android.art/lib64/libart.so (art::detail::ShortyTraits<(char)86>::Type art::ArtMethod::InvokeInstance<(char)86>(art::Thread*, art::ObjPtr<art::mirror::Object>, art::detail::ShortyTraits<>::Type...)+60)
  #41  pc 0x000000000063ebd4  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1344)
  #42  pc 0x000000000063e684  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallbackWithUffdGc(void*)+8)
  #43  pc 0x00000000000f74f8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
  #44  pc 0x0000000000094020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Looks like this has already been reported in #47352

@Nader-CS
Copy link
Author

Nader-CS commented Nov 1, 2024

Hm, we're seeing this too, ever since upgrading to RN 0.76 (and 0.76.1). Not new arch. I can't seem to reproduce it in development, but we're seeing tons of events in production too...

image

Android-only and mostly Android 14 as well. The weird thing is, most of these phones seem to have a decent amount of memory (4GB-8GB).

@Nader-CS, do you have a

splits {
        abi {
            reset()
            enable true
            universalApk false
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }

in your app build.gradle by chance?

No.

@jslok
Copy link

jslok commented Nov 6, 2024

I was getting this error on android 0.76.0 and 0.76.1 when opening the app from a push notification. Downgraded to 0.75.4 in the meantime and the issue went away.

@tominou
Copy link

tominou commented Nov 7, 2024

I was getting this error on android 0.76.0 and 0.76.1 when opening the app from a push notification. Downgraded to 0.75.4 in the meantime and the issue went away.

Same here, it seems to happen when users open the app through a push notification.
I also downgraded to 0.75.4.

@nes123
Copy link

nes123 commented Nov 14, 2024

This issue should be re-opened..same problem:

terminating due to uncaught exception of type facebook::jni::JniException: com.facebook.react.common.JavascriptException: EarlyJsError: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registered in the native binary.

Happens after upgrade to 0.76.1 in production without the ability to reproduce

@nes123
Copy link

nes123 commented Nov 14, 2024

The crash happens when the users open a firebase notification when the app is not in the background or foreground, i.e killed.

@gituser8796
Copy link

@nes123 we have the exact same thing with 0.76.5 (old architecture). Were you able to overcome this issue?

CC: @cortinico

@nes123
Copy link

nes123 commented Dec 19, 2024

@nes123 we have the exact same thing with 0.76.5 (old architecture). Were you able to overcome this issue?

CC: @cortinico

Yes, once i upgraded, and updated all the firebase packages (not sure if it made a difference), we dont have this crash any more.

@gituser8796
Copy link

@nes123 thx for the quick reply! We're using latest firebase - 21.6.1, is there anything else you upgraded that might help?

@nes123
Copy link

nes123 commented Dec 19, 2024

@gituser8796 no, just that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants