packages icon indicating copy to clipboard operation
packages copied to clipboard

[google_sign_in] Use an activity for credential requests

Open stuartmorgan-g opened this issue 6 months ago • 0 comments

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 https://github.com/flutter/flutter/issues/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.

stuartmorgan-g avatar Jun 25 '25 20:06 stuartmorgan-g