Skip to content

Android Auth Google I/O rework #1245

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

Merged
merged 5 commits into from
Mar 27, 2023

Conversation

DellaBitta
Copy link
Contributor

@DellaBitta DellaBitta commented Mar 24, 2023

Description

Provide details of the change, and generalize the change in the PR title above.

Removes the need for User objects to be stored in AuthData, unlocking ability for there to be more than one User object at a time.

Continues to store a User in Auth, though, to maintain the implementation of the newly deprecated methods which return a User*.

Added a RetainUser integration test.


Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Locally tested on an iOS and Android device.


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

@@ -386,7 +386,7 @@ class User : public UserInfoInterface {
/// platforms. On other platforms this method will return a Future with a

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: [10 lines up] warning: unable to resolve reference to 'LinkWithProvider(FederatedAuthProvider*)' for \ref command

@@ -386,7 +386,7 @@
/// platforms. On other platforms this method will return a Future with a
/// preset error code: kAuthErrorUnimplemented.
FIREBASE_DEPRECATED Future<SignInResult> LinkWithProvider_DEPRECATED(
FederatedAuthProvider* provider) const;
FederatedAuthProvider* provider);

/// @deprecated This is a deprecated method. Please use @ref Unlink(const

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: warning: unable to resolve reference to 'Unlink' for \ref command

@@ -386,7 +386,7 @@
/// platforms. On other platforms this method will return a Future with a
/// preset error code: kAuthErrorUnimplemented.
FIREBASE_DEPRECATED Future<SignInResult> LinkWithProvider_DEPRECATED(
FederatedAuthProvider* provider) const;
FederatedAuthProvider* provider);

/// @deprecated This is a deprecated method. Please use @ref Unlink(const
/// char*) instead.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Documentation issue: [8 lines down] warning: unable to resolve reference to 'Unlink' for \ref command

@DellaBitta DellaBitta marked this pull request as ready for review March 27, 2023 17:43
@DellaBitta DellaBitta merged commit 0fd6f7b into feature/auth_googleio_23 Mar 27, 2023
@DellaBitta DellaBitta deleted the feature/android_googleio22 branch March 27, 2023 17:44
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label Mar 27, 2023
@github-actions
Copy link

github-actions bot commented Mar 27, 2023

❌  Integration test FAILED

Requested by @DellaBitta on commit 0fd6f7b
Last updated: Mon Mar 27 15:12 PDT 2023
View integration test log & download artifacts

Failures Configs
missing_log [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: simulator_target]
[TEST] [ERROR] [tvOS] [macos] [tvos_simulator]
admob [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
analytics [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
auth
(4 items)[BUILD] [ERROR] [Linux] [x64] [openssl]
[BUILD] [ERROR] [MacOS] [x64] [openssl]
[BUILD] [ERROR] [Windows] [x64] [openssl]
[TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
database
(5 items)[BUILD] [ERROR] [Linux] [x64] [openssl]
[BUILD] [ERROR] [MacOS] [x64] [openssl]
[BUILD] [ERROR] [Windows] [x64] [openssl]
[TEST] [ERROR] [Android] [All 3 os] [All 2 android_device]
[TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
dynamic_links [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
firestore
(5 items)[BUILD] [ERROR] [Linux] [x64] [openssl]
[BUILD] [ERROR] [MacOS] [x64] [openssl]
[BUILD] [ERROR] [Windows] [x64] [openssl]
[TEST] [ERROR] [Android] [All 3 os] [All 2 android_device]
[TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
functions
(4 items)[BUILD] [ERROR] [Linux] [x64] [openssl]
[BUILD] [ERROR] [MacOS] [x64] [openssl]
[BUILD] [ERROR] [Windows] [x64] [openssl]
[TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
gma [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
installations [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
messaging [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
remote_config [TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]
storage
(5 items)[BUILD] [ERROR] [Linux] [x64] [openssl]
[BUILD] [ERROR] [MacOS] [x64] [openssl]
[BUILD] [ERROR] [Windows] [x64] [openssl]
[TEST] [ERROR] [Android] [All 3 os] [All 2 android_device]
[TEST] [ERROR] [iOS] [macos] [1/2 ios_device: ios_target]

Add flaky tests to go/fpl-cpp-flake-tracker

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Mar 27, 2023
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Mar 27, 2023
@firebase firebase locked and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tests: failed This PR's integration tests failed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant