React-native-firebase: 馃敟[馃悰] Bug Report Title - error io.invertase.firebase.crashlytics does not exist after upgrading to version 8.4.5

Created on 23 Sep 2020  路  2Comments  路  Source: invertase/react-native-firebase


Issue



Describe your issue here


I got an error on Android io.invertase.firebase.crashlytics does not exist after upgrading from version 8.1.1 to version 8.4.5.
I updated it using npm install @react-native-firebase/[email protected]. Before the update everything was working fine. Should I do any other steps in order to update Crashlytics correctly?

Project Files






Javascript

Click To Expand

#### `package.json`:

{
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "web": "expo start --web",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "@expo/vector-icons": "^10.1.0",
    "@react-native-community/async-storage": "^1.6.3",
    "@react-native-community/cameraroll": "^4.0.0",
    "@react-native-community/datetimepicker": "^3.0.2",
    "@react-native-community/netinfo": "4.6.0",
    "@react-native-firebase/analytics": "^7.2.1",
    "@react-native-firebase/app": "^8.1.0",
    "@react-native-firebase/crashlytics": "^8.4.5",
    "@react-native-firebase/perf": "^7.2.1",
    "amazon-cognito-identity-js": "^3.2.0",
    "aws-amplify": "^1.2.4",
    "axios": "^0.19.2",
    "buffer": "^5.5.0",
    "expo": "~36.0.0",
    "formik": "^2.1.3",
    "moment": "^2.24.0",
    "moment-duration-format": "^2.3.2",
    "native-base": "^2.13.4",
    "prettier": "^1.19.1",
    "react": "~16.11.0",
    "react-dom": "~16.9.0",
    "react-native": "~0.62.2",
    "react-native-android-open-settings": "^1.3.0",
    "react-native-animatable": "^1.3.2",
    "react-native-background-fetch": "^3.0.6",
    "react-native-background-geolocation": "^3.7.0",
    "react-native-calendars": "^1.265.0",
    "react-native-check-box": "^2.1.7",
    "react-native-datepicker": "^1.7.2",
    "react-native-dotenv": "^0.2.0",
    "react-native-email": "^1.0.2",
    "react-native-extended-stylesheet": "^0.11.2",
    "react-native-gesture-handler": "^1.7.0",
    "react-native-google-places-autocomplete": "^1.3.9",
    "react-native-image-crop-picker": "^0.32.2",
    "react-native-looped-carousel": "^0.1.13",
    "react-native-maps": "^0.27.1",
    "react-native-masked-text": "^1.12.2",
    "react-native-material-dropdown-v2": "^0.11.1",
    "react-native-modal-datetime-picker": "^8.9.3",
    "react-native-modalize": "^2.0.5",
    "react-native-onesignal": "^3.8.1",
    "react-native-paper": "^3.11.0",
    "react-native-permissions": "^2.0.2",
    "react-native-reanimated": "^1.4.0",
    "react-native-root-toast": "^3.2.0",
    "react-native-screens": "2.0.0-alpha.12",
    "react-native-share": "^2.0.0",
    "react-native-swipeable-flat-list": "git+https://github.com/Luckygirlllll/react-native-swipeable-flat-list.git",
    "react-native-unimodules": "~0.7.0",
    "react-native-web": "~0.11.7",
    "react-native-webview": "^9.0.2",
    "react-native-wheel-picker-android": "^2.0.5",
    "react-navigation": "^4.2.2",
    "react-navigation-drawer": "^1.4.0",
    "react-navigation-stack": "^1.10.3",
    "react-redux": "^7.2.0",
    "redux": "^4.0.1",
    "redux-persist": "^5.10.0",
    "redux-promise": "^0.6.0",
    "redux-thunk": "^2.3.0",
    "reduxsauce": "^1.0.1",
    "seamless-immutable": "^7.1.4",
    "styled-components": "^4.4.1",
    "uuid": "^3.3.2",
    "yup": "^0.28.1"
  },
  "devDependencies": {
    "@babel/core": "~7.6.0",
    "babel-jest": "~24.9.0",
    "jest": "~24.9.0",
    "metro-react-native-babel-preset": "^0.58.0",
    "react-test-renderer": "~16.11.0"
  },
  "jest": {
    "preset": "react-native"
  },
  "rnpm": {
    "assets": [
      "src/assets/fonts"
    ]
  },
  "private": true
}
# N/A
#### `firebase.json` for react-native-firebase v6:
# N/A
### iOS
Click To Expand

#### `ios/Podfile`: - [ ] I'm not using Pods - [x] I'm using Pods and my Podfile looks like:

# N/A
#### `AppDelegate.m`:
// N/A


Android

Click To Expand

#### Have you converted to AndroidX? - [X] 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`:

// N/A
#### `android/app/build.gradle`:
// N/A
#### `android/settings.gradle`:
// N/A
#### `MainApplication.java`:
// N/A
#### `AndroidManifest.xml`:
<!-- N/A -->


Environment

Click To Expand

**`react-native info` output:**

System:
    OS: macOS 10.15.3
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 20.35 MB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.15.0 - /usr/local/bin/node
    Yarn: 1.12.3 - /usr/local/bin/yarn
    npm: 6.4.1 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.7.5 - /Users/iryna/.rvm/gems/ruby-2.6.0/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 24, 25, 26, 27, 28, 29
      Build Tools: 23.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.1, 27.0.3, 28.0.3, 29.0.2, 29.0.3
      System Images: android-23 | Google APIs Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6626763
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_161 - /usr/bin/javac
    Python: 2.7.16 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~16.11.0 => 16.11.0 
    react-native: ~0.62.2 => 0.62.2 
  npmGlobalPackages:
    *react-native*: Not Found

- **Platform that you're experiencing the issue on**: - [ ] iOS - [X] 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:** - ^8.1.0" - **`Firebase` module(s) you're using that has the issue:** - ` "@react-native-firebase/crashlytics": "^8.4.5", - **Are you using `TypeScript`?** - `Y/N` & `VERSION` N




Needs Triage Bug

Most helpful comment

I updated react-native-firebase/app to the latest version and everything works okay now!

All 2 comments

Yet it works with https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh ? This will be a project-specific problem - if you can post a reproduction to github based on that script I just linked we can reopen and pursue a fix

I updated react-native-firebase/app to the latest version and everything works okay now!

Was this page helpful?
0 / 5 - 0 ratings