Skip to content

FIX(supabase_flutter): use getInitialAppLink from app_links #1205

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MikaelDDavidd
Copy link

The previous implementation was trying to support multiple versions of the app_links package, but it was causing a NoSuchMethodError when using newer versions.

This commit removes the backward compatibility logic and uses the getInitialAppLink method directly, which is available in app_links ^4.0.0 and later.

What kind of change does this PR introduce?

Bug fix, feature, docs update, ...

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

The previous implementation was trying to support multiple versions of the app_links package, but it was causing a NoSuchMethodError when using newer versions.

This commit removes the backward compatibility logic and uses the getInitialAppLink method directly, which is available in app_links ^4.0.0 and later.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16531665980

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 80.613%

Files with Coverage Reduction New Missed Lines %
packages/supabase_flutter/lib/src/supabase_auth.dart 2 55.45%
Totals Coverage Status
Change from base Build 16305074338: -0.01%
Covered Lines: 3102
Relevant Lines: 3848

💛 - Coveralls

@MikaelDDavidd MikaelDDavidd changed the title fix(supabase_flutter): use getInitialAppLink from app_links FIX(supabase_flutter): use getInitialAppLink from app_links Jul 26, 2025
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.

2 participants