Skip to content

feat: modernize supabase_auth_ui on the latest supabase_flutter v2 - #179

Merged
spydon merged 13 commits into
mainfrom
lukasklingsbo/sdk-1998-modernize-supabase_auth_ui-on-supabase_flutter-v2
Oct 14, 2026
Merged

spydon merged 13 commits into
mainfrom
lukasklingsbo/sdk-1998-modernize-supabase_auth_ui-on-supabase_flutter-v2

Conversation

@spydon

@spydon spydon commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Brings the package up to date on the supabase_flutter v2 line, ahead of the v3 port.

Changes

Analyzer

  • Resolve the supabase_lints findings (sort_constructors_first, lines_longer_than_80_chars and others) that failed the --fatal-infos step.

Auth API fixes

  • Show readable labels and brand icons for the OIDC, custom, X and Zoom providers.
  • Respect authScreenLaunchMode when linking an identity to an anonymous user.
  • Initialize native Google sign in only once.
  • Stay silent when the user cancels native Google or Apple sign in.
  • Call SupaMagicAuth.onSuccess only for a fresh sign in.
  • Forward auth state stream errors to onError instead of crashing.
  • Verify a phone change code when an anonymous user adds a phone number.
  • Show the password updated message after SupaResetPassword succeeds.
  • Trim new passwords in SupaResetPassword, like SupaEmailAuth does when signing in.
  • Deprecate SupaResetPassword.accessToken, which has no effect.

Example

  • Regenerate the platform projects for current Flutter (Android moves from Groovy to Kotlin DSL Gradle files).

Dependencies

  • Bump supabase_flutter to ^2.18.0.
  • Allow sign_in_with_apple 8.x (>=7.0.1 <9.0.0). 8.x needs Flutter 3.41+, so the 7.x floor stays until the minimum Flutter version is raised.
  • google_sign_in and font_awesome_flutter are already on their latest versions.

Verification

  • flutter analyze --fatal-warnings --fatal-infos, dart format and dcm analyze are clean.
  • flutter test: all 77 tests pass.

@spydon
spydon requested a review from dshukertjr October 5, 2026 08:39
@spydon
spydon merged commit bdca538 into main Oct 14, 2026
8 checks passed
@spydon
spydon deleted the lukasklingsbo/sdk-1998-modernize-supabase_auth_ui-on-supabase_flutter-v2 branch October 14, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant