Closed swapnilshah09 closed 3 years ago
Hi there! You skipped our issue template, I don't have the information required to help. You should make sure you are on current versions and comb prior issues as a first step though.
Hi @mikehardy thanks for taking the time. I already tried to find my issue listed in the list of the existing issues but was unable to find anything similar to the problem that I am facing. Also I have updated the problem I am facing according to the template
Okay, the versions are visible now, and they are very out of date. Reproduce against current stable (v10 from yesterday, so you get firebase ios sdk 7.1.0) and hopefully it's fixed
Issue
For some user firebase, dynamic links are crashing the entire app on iOS. Seeing these logs in firebase crashlytics console.
Here is a short code snippet for dynamic link generation:
Project Files
Podfile
Javascript
Click To Expand
#### `package.json`: ``` { "name": "OneCard", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@gorhom/bottom-sheet": "^1.1.0", "@gorhom/paper-onboarding": "^1.0.0", "@invertase/react-native-apple-authentication": "^0.2.0", "@notifee/react-native": "^0.14.0", "@react-native-community/async-storage": "^1.7.1", "@react-native-community/checkbox": "^0.5.3", "@react-native-community/google-signin": "^4.0.3", "@react-native-community/netinfo": "^5.5.1", "@react-native-community/toolbar-android": "0.1.0-rc.2", "@react-native-community/viewpager": "^4.1.7", "@react-native-firebase/analytics": "^7.2.1", "@react-native-firebase/app": "^8.3.1", "@react-native-firebase/auth": "^8.1.1", "@react-native-firebase/crashlytics": "^8.3.4", "@react-native-firebase/dynamic-links": "^7.3.1", "@react-native-firebase/iid": "^7.2.1", "@react-native-firebase/in-app-messaging": "^7.2.1", "@react-native-firebase/messaging": "^7.4.1", "@react-native-firebase/remote-config": "^7.2.1", "@terrylinla/react-native-sketch-canvas": "^0.8.0", "axios": "^0.19.2", "base-64": "^0.1.0", "cubic-spline": "^3.0.3", "d3": "^5.16.0", "d3-array": "^2.4.0", "d3-interpolate-path": "^2.1.2", "d3-scale": "^3.2.1", "d3-shape": "^1.3.5", "deepmerge": "^4.2.2", "fbjs": "^1.0.0", "hyper-sdk-react": "^2.0.6", "jsc-android": "^241213.1.0", "lodash": "^4.17.15", "lottie-ios": "^3.1.6", "lottie-react-native": "^3.2.1", "memoize-one": "^5.1.1", "moment": "^2.24.0", "npm": "^6.13.7", "prop-types": "^15.7.2", "react": "16.11.0", "react-addons-shallow-compare": "^15.6.2", "react-native": "0.62.2", "react-native-animatable": "^1.3.3", "react-native-animate-number": "^0.1.2", "react-native-background-timer": "^2.1.1", "react-native-camera": "git+https://git@github.com/react-native-community/react-native-camera.git", "react-native-check-box": "^2.1.7", "react-native-confirmation-code-field": "^4.2.0", "react-native-countdown-component": "^2.7.1", "react-native-dash": "0.0.11", "react-native-datepicker": "^1.7.2", "react-native-device-info": "^7.0.2", "react-native-fingerprint-scanner": "^6.0.0", "react-native-fs": "^2.16.4", "react-native-gesture-handler": "^1.5.6", "react-native-get-random-values": "^1.4.0", "react-native-keyboard-spacer-view": "0.0.3", "react-native-linear-gradient": "^2.5.6", "react-native-modal": "^11.5.6", "react-native-network-info": "^5.2.1", "react-native-permissions": "^2.0.4", "react-native-pose": "^0.9.1", "react-native-proximity": "github:contagt/react-native-proximity", "react-native-qrcode-scanner": "^1.3.1", "react-native-reanimated": "^1.3.0", "react-native-screens": "^2.9.0", "react-native-securerandom": "^1.0.0-rc.0", "react-native-send-intent": "^1.2.2", "react-native-simple-toast": "^1.1.2", "react-native-slider": "^0.11.0", "react-native-sms-x": "^1.0.7", "react-native-splash-screen": "^3.2.0", "react-native-status-bar-height": "^2.4.0", "react-native-svg": "^9.13.6", "react-native-svg-charts": "^5.3.0", "react-native-svg-transformer": "^0.14.3", "react-native-svg-uri": "^1.2.3", "react-native-swiper": "^1.5.14", "react-native-tab-view": "^2.13.0", "react-native-uuid-generator": "^6.1.1", "react-native-vector-icons": "6.6.0", "react-native-viewpager": "^0.2.13", "react-native-webview": "^10.3.3", "react-navigation": "^4.1.1", "react-navigation-stack": "^1.9.3", "react-navigation-tabs": "^2.5.6", "rn-placeholder": "^3.0.1", "rn-secure-storage": "^2.0.3" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^0.0.5", "babel-jest": "^24.9.0", "babel-plugin-transform-remove-console": "^6.9.4", "eslint": "^6.5.1", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^1.7.0", "jest": "^24.9.0", "metro-react-native-babel-preset": "^0.58.0", "react-test-renderer": "16.11.0", "reactotron-react-native": "^5.0.0" }, "jest": { "preset": "react-native" }, "rnpm": { "assets": [ "./assets/fonts/" ] }, "hyperSdkIOSVersion": "2.0.19" } ``` #### `firebase.json` for react-native-firebase v6: ```json # N/A ```
iOS
Click To Expand
#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like: ```ruby # N/A ``` #### `AppDelegate.m`: ```objc // N/A ```
Android
Click To Expand
#### Have you converted to AndroidX? - [ ] my application is an AndroidX application? - [ ] 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:** ``` OUTPUT GOES HERE ``` - **Platform that you're experiencing the issue on**: - [ ] 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:** - `e.g. 5.4.3` - **`Firebase` module(s) you're using that has the issue:** - `e.g. Instance ID` - **Are you using `TypeScript`?** - `Y/N` & `VERSION`
React Native Firebase
andInvertase
on Twitter for updates on the library.