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

[Auth] Fix halted initialization when proactive popup resolver init fails #5777

Merged
merged 3 commits into from Dec 2, 2021

Conversation

sam-gc
Copy link
Contributor

@sam-gc sam-gc commented Dec 1, 2021

Fixes #5720

In proactive initialization for the popup/redirect resolver, Auth initialization should not fail if there's a network error (i.e. in the case of offline-mode).

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2021

🦋 Changeset detected

Latest commit: 739da0a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/auth Patch
@firebase/auth-compat Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 1, 2021

Binary Size Report

Affected SDKs

  • @firebase/auth/cordova

    Type Base (0818685) Head (0301ad3) Diff
    browser 179 kB 179 kB +71 B (+0.0%)
    module 179 kB 179 kB +71 B (+0.0%)
  • @firebase/auth/internal

    Type Base (0818685) Head (0301ad3) Diff
    browser 163 kB 163 kB +91 B (+0.1%)
    esm5 211 kB 212 kB +186 B (+0.1%)
    main 179 kB 179 kB +71 B (+0.0%)
    module 163 kB 163 kB +91 B (+0.1%)
  • @firebase/auth/react-native

    Type Base (0818685) Head (0301ad3) Diff
    browser 162 kB 163 kB +71 B (+0.0%)
    module 162 kB 163 kB +71 B (+0.0%)
  • bundle

    Type Base (0818685) Head (0301ad3) Diff
    auth (Anonymous) 56.9 kB 56.9 kB +15 B (+0.0%)
    auth (EmailAndPassword) 61.0 kB 61.0 kB +15 B (+0.0%)
    auth (GoogleFBTwitterGitHubPopup) 80.7 kB 80.8 kB +78 B (+0.1%)
    auth (GooglePopup) 80.4 kB 80.5 kB +78 B (+0.1%)
    auth (GoogleRedirect) 80.6 kB 80.7 kB +78 B (+0.1%)
    auth (Phone) 66.9 kB 66.9 kB +15 B (+0.0%)
  • firebase

    Type Base (0818685) Head (0301ad3) Diff
    firebase-auth-compat.js 123 kB 123 kB +81 B (+0.1%)
    firebase-auth.js 410 kB 411 kB +392 B (+0.1%)
    firebase-compat.js 753 kB 753 kB +81 B (+0.0%)

Test Logs

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 1, 2021

Size Analysis Report

Affected Products

Diffs between base commit (0818685) and head commit (0301ad3) are too large (1,138,758 characters) to display.

Please check below links to see details from the original test log.

@sam-gc sam-gc merged commit dc6b447 into master Dec 2, 2021
@sam-gc sam-gc deleted the sam-gc/offline-mode branch December 2, 2021 17:09
@google-oss-bot google-oss-bot mentioned this pull request Dec 7, 2021
@firebase firebase locked and limited conversation to collaborators Jan 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auth V9 Error on Chrome Android when Offline
4 participants