Closed SERCHAT closed 6 months ago
Hi there!
There is nothing in the stack trace to indicate this library is the source of the error, that is, there are zero stack frames including this libraries code.
So this is not a crash from this library.
We only troubleshoot crashes directly attributable to this library.
@mikehardy I google it before opening this issue and found this link. I thought it might be related to this, yes it is an error taken from a different library, but it is similar to my error and the only thing they have in common is dynamic links.
Hmm - I see what you're saying. It may be related to firebase-ios-sdk however, note that one (the flutterfire one you link to) is a SIGSEGV and one (your crash) is a KERN_BAD_ACCESS
Those are actually different crashing mechanisms so I'm not sure they are actually related
One thing I can say with apologies is that since dynamic-links is officially deprecated and in the sunset period, there will likely be no effort expended here - the recommended solution if this crash is frequent + impacting your app is to migrate off dynamic links to platform-specific things, specifically the built in react-native linking facilities
__55-[FIRDLJavaScriptExecutor webView:didFinishNavigation:]_block_invoke_2 EXC_BAD_ACCESS (KERN_INVALID_ADDRESS)
Hi every one, fist of all thank you for this awesome library it is so usefull. I have been using this library for two years and this is the first time I encountered this error. As I mentioned in the title, I caught this error thanks to the firebase console and there is no other explanation other than this title. From what I understand, this bug only affects iOS devices. Since our application is actively used, I need to solve this error as soon as possible. I have no doubt that you will help me and my friends who receive this error. Thank you very much in advance. We only use "dynamic links" in our application and I did the installation according to what is explained at this address "https://rnfirebase.io/dynamic-links/usage".
Project Files
Javascript
Click To Expand
#### `package.json`: ```json "@react-native-firebase/app": "^18.8.0", "@react-native-firebase/dynamic-links": "^18.8.0" ``` #### `firebase.json` for react-native-firebase v6: ```json "react-native": { "crashlytics_debug_enabled": true, "crashlytics_is_error_generation_on_js_crash_enabled": true, "crashlytics_javascript_exception_handler_chaining_enabled": true } ```
iOS
Click To Expand
#### `ios/Podfile`: - [ x] I'm not using Pods - [x] I'm using Pods and my Podfile looks like:
Android
Click To Expand
#### Have you converted to AndroidX? - [x ] my application is an AndroidX application? - [ x] I am using `android/gradle.settings` `jetifier=true` for Android compatibility? - [ ] I am using the NPM package `jetifier` for react-native compatibility? #### `android/build.gradle`: ```groovy // N/A ``` #### `android/app/build.gradle`: ```groovy // N/A ``` #### `android/settings.gradle`: ```groovy // N/A ``` #### `MainApplication.java`: ```java // N/A ``` #### `AndroidManifest.xml`: ```xml ```
Environment
Click To Expand
**`react-native info` output:** ``` System: OS: Windows 10 10.0.19045 CPU: (4) x64 Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz Memory: 736.07 MB / 7.88 GB Binaries: Node: 20.10.0 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD Watchman: 20220313.154008.0 - C:\watchman\bin\watchman.EXE SDKs: Android SDK: API Levels: 23, 28, 29, 30, 31, 32, 33, 34 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0, 33.0.1, 34.0.0, 34.0.0 System Images: android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86_64 Atom, android-32 | Google Play Intel x86 Atom_64, android-33 | Google APIs Intel x86_64 Atom, android-34 | Google APIs Intel x86_64 Atom, android-34 | Google Play Intel x86_64 Atom Android NDK: 22.1.7171670 Windows SDK: AllowAllTrustedApps: Disabled Versions: 10.0.19041.0 IDEs: Android Studio: Version 2021.1.0.0 AI-211.7628.21.2111.8193401 Visual Studio: Not Found Languages: Java: 16.0.2 - /c/Program Files/Java/jdk-16.0.2/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.72.5 => 0.72.5 react-native-windows: Not Found npmGlobalPackages: *react-native*: Not Found ``` - **Platform that you're experiencing the issue on**: - [x] iOS - [ ] Android - [ ] **iOS** but have not tested behavior on Android - [ ] **Android** but have not tested behavior on iOS - [ ] Both - **`react-native-firebase` version you're using that has this issue:** - `0.72.5` - **`Firebase` module(s) you're using that has the issue:** - `@react-native-firebase/dynamic-links` - **Are you using `TypeScript`?** - `YES`
CRASH SESSION OUTPUT
React Native Firebase
andInvertase
on Twitter for updates on the library.