Skip to content

Conversation

stuartmorgan-g
Copy link
Collaborator

getCredentialManager is documented to require an activity context, not an application context; this fixes it to use the activity context since in some configurations using the application context will throw an error.

Fixes flutter/flutter#171122

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

`getCredentialManager` is documented to require an activity context, not
an application context; this fixes it to use the activity context since
in some configurations using the application context will throw an error.

Fixes flutter/flutter#171122
@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 26, 2025
@auto-submit auto-submit bot merged commit 2e27aaf into flutter:main Jun 26, 2025
78 checks passed
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jun 27, 2025
flutter/packages@2c8d2bc...4841ada

2025-06-27 98614782+auto-submit[bot]@users.noreply.github.com Reverts
"[ci] Check macOS 15 for Xcode analyzer warnings (#9427)"
(flutter/packages#9509)
2025-06-26 98614782+auto-submit[bot]@users.noreply.github.com Reverts
"[ci] Remove in_app_purchase_storekit from Xcode analyzer exclusion list
(#9429)" (flutter/packages#9507)
2025-06-26 [email protected] [ci] Check macOS 15 for Xcode analyzer
warnings (flutter/packages#9427)
2025-06-26 [email protected] [ci] Remove in_app_purchase_storekit from
Xcode analyzer exclusion list (flutter/packages#9429)
2025-06-26 [email protected] [google_sign_in] Add contributor
setup instructions (flutter/packages#9489)
2025-06-26 [email protected] [google_sign_in] Use an activity for
credential requests (flutter/packages#9497)
2025-06-26 [email protected] Roll Flutter from
d733bea to 2773c0c (42 revisions) (flutter/packages#9495)
2025-06-26 [email protected]
[extension_google_sign_in_as_googleapis_auth] Update to google_sign_in 7
(flutter/packages#9484)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mboetger pushed a commit to mboetger/flutter that referenced this pull request Jul 21, 2025
…r#171292)

flutter/packages@2c8d2bc...4841ada

2025-06-27 98614782+auto-submit[bot]@users.noreply.github.com Reverts
"[ci] Check macOS 15 for Xcode analyzer warnings (flutter#9427)"
(flutter/packages#9509)
2025-06-26 98614782+auto-submit[bot]@users.noreply.github.com Reverts
"[ci] Remove in_app_purchase_storekit from Xcode analyzer exclusion list
(flutter#9429)" (flutter/packages#9507)
2025-06-26 [email protected] [ci] Check macOS 15 for Xcode analyzer
warnings (flutter/packages#9427)
2025-06-26 [email protected] [ci] Remove in_app_purchase_storekit from
Xcode analyzer exclusion list (flutter/packages#9429)
2025-06-26 [email protected] [google_sign_in] Add contributor
setup instructions (flutter/packages#9489)
2025-06-26 [email protected] [google_sign_in] Use an activity for
credential requests (flutter/packages#9497)
2025-06-26 [email protected] Roll Flutter from
d733bea to 2773c0c (42 revisions) (flutter/packages#9495)
2025-06-26 [email protected]
[extension_google_sign_in_as_googleapis_auth] Update to google_sign_in 7
(flutter/packages#9484)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
`getCredentialManager` is documented to require an activity context, not an application context; this fixes it to use the activity context since in some configurations using the application context will throw an error.

Fixes flutter/flutter#171122

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: google_sign_in platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[google_sign_in] Failed to launch the selector UI. Hint: ensure the context parameter is an Activity-based context.

2 participants