segment-integrations / analytics-ios-integration-firebase

Segment's bundled integration for Firebase on iOS
MIT License
13 stars 92 forks source link

Increase version firebase core to 10.12.0 or higher #103

Open wudaming1 opened 11 months ago

wudaming1 commented 11 months ago

I am trying to use flutter 3.10.0, and firebase_core ^2.15.0. but Cocoapds could not find compatible versions.

`Analyzing dependencies firebase_analytics: Using Firebase SDK version '10.12.0' defined in 'firebase_core' firebase_auth: Using Firebase SDK version '10.12.0' defined in 'firebase_core' firebase_core: Using Firebase SDK version '10.12.0' defined in 'firebase_core' Warning: firebase_app_id_file.json file does not exist. This may cause issues in upload-symbols. If this error is unexpected, try running flutterfire configure again. firebase_crashlytics: Using Firebase SDK version '10.12.0' defined in 'firebase_core' firebase_dynamic_links: Using Firebase SDK version '10.12.0' defined in 'firebase_core' firebase_messaging: Using Firebase SDK version '10.12.0' defined in 'firebase_core' firebase_performance: Using Firebase SDK version '10.12.0' defined in 'firebase_core' [!] CocoaPods could not find compatible versions for pod "Firebase/Core": In Podfile: Segment-Firebase (= 2.7.13) was resolved to 2.7.13, which depends on Firebase/Core (~> 10.6.0)

firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 10.4.4, which depends on
  Firebase/Analytics (= 10.12.0) was resolved to 10.12.0, which depends on
    Firebase/Core (= 10.12.0)

`

so could you increase version firebase core to 10.12.0 or higher

axelguilmin commented 3 months ago

We have a similar issue (on a native app). Using Segment and this pod is blocking us to Firebase version 10.6.0 😞

It's a big problem because this version is more than a year old and does not contain Firebase consent mode v2 The last version is 10.22.1 !

Given the release cycle of Firebase, I'd supose the dependency should be ~> 10.22 instead of ~> 10.22.1

axelguilmin commented 3 months ago

I made a fork so we can use an up to date version

Whoever need it, feel free to use :

pod 'Segment-Firebase', git: 'https://github.com/axelguilmin/analytics-ios-integration-firebase.git', branch: 'master', commit: 'f93d1de509e24dfc13a6a5a285e407eee10ca004'
ekranac commented 3 months ago

Submitted a pull request from my fork that updates Firebase to 10.23.0 (#106)

MauricioChavesDias commented 2 months ago

I've had the same issue with my project.

Can somebody approve @ekranac PR? I used that in my project!

Hey @ekranac, Thank you so much! With your PR I could update the Firebase SDK and send Apple the privacy manifest file updated :)

pauluhn commented 2 months ago

+1

Firebase is recommending version 10.10.0 or above by June 20, 2024

fern-sp commented 2 months ago

It looks like Firebase 10.24.0 or later is now strongly recommended by google:

https://support.google.com/analytics/answer/10285841#privacy-manifests

Screenshot 2024-05-06 at 11 26 39 AM