-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Issue
When adding @react-native-firebase/crashlytics@8.1.2, I first added @react-native-firebase/app@8.2.0. The app built correctly (or at least built) on both iOS and Android after adding app. However, I tried adding crashlytics, and the pod install step failed:
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransport":
In snapshot (Podfile.lock):
GoogleDataTransport (= 7.0.0, ~> 7.0)
In Podfile:
RNFBApp (from `../node_modules/@react-native-firebase/app`) was resolved to 8.2.0, which depends on
Firebase/CoreOnly (~> 6.27.0) was resolved to 6.27.1, which depends on
FirebaseCore (= 6.8.1) was resolved to 6.8.1, which depends on
FirebaseCoreDiagnostics (~> 1.3) was resolved to 1.5.0, which depends on
GoogleDataTransport (~> 7.0)
RNFBCrashlytics (from `../node_modules/@react-native-firebase/crashlytics`) was resolved to 8.1.2, which depends on
Firebase/Crashlytics (~> 6.27.0) was resolved to 6.27.1, which depends on
FirebaseCrashlytics (~> 4.2.0) was resolved to 4.2.0, which depends on
GoogleDataTransport (~> 6.1)
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* changed the constraints of dependency `GoogleDataTransport` inside your development pod `RNFBCrashlytics`.
You should run `pod update GoogleDataTransport` to apply changes you've made.
But running pod update GoogleDataTransport gives me this error:
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransport":
In Podfile:
RNFBApp (from `../node_modules/@react-native-firebase/app`) was resolved to 8.2.0, which depends on
Firebase/CoreOnly (~> 6.27.0) was resolved to 6.27.1, which depends on
FirebaseCore (= 6.8.1) was resolved to 6.8.1, which depends on
FirebaseCoreDiagnostics (~> 1.3) was resolved to 1.5.0, which depends on
GoogleDataTransport (~> 7.0)
RNFBCrashlytics (from `../node_modules/@react-native-firebase/crashlytics`) was resolved to 8.1.2, which depends on
Firebase/Crashlytics (~> 6.27.0) was resolved to 6.27.1, which depends on
FirebaseCrashlytics (~> 4.2.0) was resolved to 4.2.0, which depends on
GoogleDataTransport (~> 6.1)
It looks like RNFBApp and RNFBCrashlytics depend on different versions of GoogleDataTransport. My next step is to try to downgrade app to 8.1.0 and see if that works.
Describe your issue here
Project Files
Javascript
Click To Expand
package.json:
# N/Afirebase.json for react-native-firebase v6:
# N/AiOS
Click To Expand
ios/Podfile:
- I'm not using Pods
- I'm using Pods and my Podfile looks like:
# N/AAppDelegate.m:
// N/AAndroid
Click To Expand
Have you converted to AndroidX?
- my application is an AndroidX application?
- I am using
android/gradle.settingsjetifier=truefor Android compatibility? - I am using the NPM package
jetifierfor react-native compatibility?
android/build.gradle:
// N/Aandroid/app/build.gradle:
// N/Aandroid/settings.gradle:
// N/AMainApplication.java:
// N/AAndroidManifest.xml:
<!-- N/A -->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-firebaseversion you're using that has this issue:e.g. 5.4.3
Firebasemodule(s) you're using that has the issue:e.g. Instance ID
- Are you using
TypeScript?Y/N&VERSION
- 👉 Check out
React Native FirebaseandInvertaseon Twitter for updates on the library.
Reactions are currently unavailable