-
Notifications
You must be signed in to change notification settings - Fork 61
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
Depedency conflicts with @react-native-firebase/crashlytics #61
Comments
@thacio any fixes?? |
Not really. I uninstalled crashlytics, set all the firebase services to 21.3.0, and will use analytics meawhile. Considering later creating a class simulating crashlytics but using analytics instead, so it would be easier to migrate if this ever gets fixed. Might become a real problem though if I need to update firebase. |
Well, good news and bad news. The problem was GoogleMLKit. Other people were going through this problem, they solve it releasing the version 7.0.0. Now, the bad news is that it just stopped working altogether for me, but I can't say if it was the bump to 7.0.0 or something else. Since yesterday I've been trying to upgrade to expo sdk 52, so it might be another package that broke the functionalities. But probably it was something with react-native-mlkit, since if I don't upgrade it or firebase, it still works. If you want to give it a shot, you can clone the repository, look for the GoogleMLKit and bump from 6.0.0 to 7.0.0. I've forked the repo with the bump. https://github.com/thacio/react-native-ml-kit
|
This is good news. I'll check it out. |
Just confirming it, text_recognition breaks with GoogleMLKit 7.0.0 |
What happened?
Failed building for ios when @react-native-firebase/crashlytics is present due to depency resolve. After the firebase updates 21.4.1, most of their libraries updated past GoogleDataTransport 10.0, so the error extends to analitics, auth, in-app-messaging, and probably others.
Since I'm using EAS to build, I can't test changing the GoogleDataTransport (< 10.0, >= 9.4.1) requirement to try fixing that, or changing podfiles, as they are created by eas when building.
EAS error:
[!] CocoaPods could not find compatible versions for pod "FirebaseCoreExtension":
In Podfile:
RNFBAuth (from
../node_modules/@react-native-firebase/auth
) was resolved to 21.6.1, which depends onFirebase/Auth (= 11.5.0) was resolved to 11.5.0, which depends on
FirebaseAuth (
> 11.5.0) was resolved to 11.5.0, which depends on> 11.5.0) was resolved to 11.5.0, which depends onFirebaseCoreExtension (= 11.5)
RNFBCrashlytics (from
../node_modules/@react-native-firebase/crashlytics
) was resolved to 21.6.1, which depends onFirebaseCoreExtension
CocoaPods could not find compatible versions for pod "GoogleDataTransport":
In Podfile:
RNFBCrashlytics (from
../node_modules/@react-native-firebase/crashlytics
) was resolved to 21.6.1, which depends onFirebase/Crashlytics (= 11.5.0) was resolved to 11.5.0, which depends on
FirebaseCrashlytics (
GoogleDataTransport (
> 10.0)> 11.0.0) was resolved to 11.0.0, which depends onRNMLKitTextRecognition (from
../node_modules/@react-native-ml-kit/text-recognition
) was resolved to 1.5.2, which depends onGoogleMLKit/TextRecognitionDevanagari (= 6.0.0) was resolved to 6.0.0, which depends on
GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
MLKitCommon (
GoogleDataTransport (< 10.0, >= 9.4.1)
Version
@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version
Which ML Kit packages do you use?
What platforms are you seeing this issue on?
System Information
ystem:
OS: macOS 14.5
CPU: (8) arm64 Apple M2
Memory: 344.08 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.18.1
path: /usr/local/bin/node
Yarn: Not Found
npm:
version: 10.8.2
path: /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 3.3.6
path: /opt/homebrew/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.5
wanted: 0.74.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to Reproduce
Install @react-native-firebase/crashlytics, @react-native-ml-kit/text-recognition and build with eas.
The text was updated successfully, but these errors were encountered: