-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Needs Attentionplatform: iosplugin: analyticsGoogle Analytics for FirebaseGoogle Analytics for Firebasetype: bugNew bug reportNew bug report
Description
Issue
Describe your issue here
I'm using @react-native-firebase/analytics version 22.1.0, which depends on Firebase/Analytics = 11.12.0. Also, I'm using the Expo SDK 53 but I don't think this is the problem here.
When I run npx expo run:ios I get this error:
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Error installing FirebaseAnalytics
[!] /usr/bin/curl -f -L -o /var/folders/19/d_2qhy916bv47b1dtrz5gxs00000gn/T/d20250506-13389-6z0car/file.tgz https://dl.google.com/firebase/ios/analytics/4552003335f1c2d0/FirebaseAnalytics-11.12.0.tar.gz --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
pod install --repo-update --ansi exited with non-zero code: 1
Running npx expo run:android
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not resolve com.google.firebase:firebase-bom:33.13.0.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/google/code/gson/gson/2.10.0/gson-2.10.0.pom'. Received status code 502 from server: Bad Gateway
> There are 3 more failures with identical causes.
I'm not able get a 2xx response even when trying on terminal:
curl -I https://dl.google.com/firebase/ios/analytics/4552003335f1c2d0/FirebaseAnalytics-11.12.0.tar.gz
results on this 502 error:
HTTP/2 502
date: Tue, 06 May 2025 17:51:01 GMT
content-type: text/html; charset=UTF-8
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
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:22.1.0
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.
Metadata
Metadata
Assignees
Labels
Needs Attentionplatform: iosplugin: analyticsGoogle Analytics for FirebaseGoogle Analytics for Firebasetype: bugNew bug reportNew bug report