firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.65k stars 1.48k forks source link

Upgrading to 11.0.0+ causes user to get logged out. #14011

Open JCsplash opened 2 hours ago

JCsplash commented 2 hours ago

Description

When upgrading our firebase iOS SDK to version 11.0.0, 11.1.0, 11.2.0, 11.3.0, 11.4.0, 11.4.1 or 11.4.2, previously logged in users get logged out. However when upgrading to version 10.29.0, users remain logged in. Our app has ~200K daily active users and it wouldn't be feasible to have them all log out and re-login.

Here's some additional information for @ncooke3 and the team:

We're currently on v8.8.0 and want to upgrade to the latest but if this issue doesn't get fixed we may have to just settle for 10.29.0. Is there any chance this could be fixed in an upcoming release? Any help would be very much appreciated!

Reproducing the issue

Steps to Reproduce:

  1. Use firebase auth to log in using a pre-v.11.0.0 SDK
  2. Upgrade the SDK to any version 11.0.0 or above.
  3. Notice that the user gets logged out.

Firebase SDK Version

11.0.0, 11.1.0. 11.2.0, 11.3.0, 11.4.0, 11.4.1, 11.4.2

Xcode Version

15.3

Installation Method

CocoaPods

Firebase Product(s)

Authentication

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 2 hours ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

paulb777 commented 1 hour ago

Thanks for reporting the issue. To be clear, do you see the issue both when updating from 8.8.0 and from 10.29.0 to 11.x? Which sign in provider are you using?