Skip to content
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

Still having issues with GTMSessionFetcher downgrading to version 2.3.0 from 3.1.0 #1138

Closed
ian-sayles opened this issue Mar 17, 2023 · 6 comments

Comments

@ian-sayles
Copy link

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If your issue concerns the CocoaPods error, "...transitive dependencies that include static binaries", please take a look at any of the following issues and see if your problem is solved: #48, #47, #46, #34, #23.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a GitHub issue.
  • For general technical questions, post a question on StackOverflow tagged appropriately.
  • For general Firebase discussion, use the firebase-talk google group
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

  • Objective C or Swift: Swift
  • iOS version: N/A
  • Firebase SDK version: 10.6.0
  • FirebaseUI version: 12.3.1
  • CocoaPods Version: N/A using SPM

Step 3: Describe the problem:

When adding FirebaseUI-IOS to my project it changes the GTMSessionFetcher version from 3.1.0 to 2.3.0

I raised this issue a few months ago, and was supposedly fixed with in 1134, see below

#1125
#1134

Steps to reproduce:

Before:
Screenshot 2023-03-17 at 12 08 38

After adding FiirebaseUi
Screenshot 2023-03-17 at 12 23 49

This is the packages:
Screenshot 2023-03-17 at 12 26 47

Not sure why it keeps changing GTMSessionFetcher back to older version that is not supported by the latest Firebase SDK, can anyone point me into what I'm doing wrong?

Observed Results:

N/A

Expected Results:

N/A

Relevant Code:

N/A

@morganchen12
Copy link
Contributor

Sorry about that. The fix should be released now.

@ian-sayles
Copy link
Author

Thanks for taking the time to do the upgrade, but it still downgrades when I install FirebaseUI version 13.

@morganchen12
Copy link
Contributor

Can you share the versions screenshot again? We removed GTMSessionFetcher entirely from the FirebaseUI package, so it's most likely some other dependency.

@ian-sayles
Copy link
Author

I created a new project and added Firebase SDK then added FirebaseUI, and checked all the additional dependency that was added and GoogleSignIn uses GTMSessionFetcher.

.package(
name: "GTMSessionFetcher",
url: "https://github.com/google/gtm-session-fetcher.git",
"1.5.0" ..< "3.0.0"),

Firebase SDK ONLY:
New Project 1

Add FirebaseUI
New Project 3

What I selected when I installed:
New Project 2

@paulb777
Copy link
Member

paulb777 commented Apr 6, 2023

GoogleSignIn 7.0.0 supports GTMSessionFetcher 3.x. See https://github.com/google/GoogleSignIn-iOS/blob/main/GoogleSignIn.podspec#L37

@ian-sayles
Copy link
Author

Thanks Paul for link.

Next time a new version of FirebaseUI-IOS is released can it use GoogleSignIn version 7 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants