supabase-flutter icon indicating copy to clipboard operation
supabase-flutter copied to clipboard

Supabase Flutter version 2.8.2 bug

Open leewlms opened this issue 11 months ago • 5 comments

Bug report

  • [y] I confirm this is a bug with Supabase, not with my own application.
  • [y] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Bug occurs upon initiation

A clear and concise description of what the bug is.

Exception has occurred on line 198 (supabase-flutter/packages/supabase_flutter/lib/src /supabase_auth.dart) NoSuchMethodError (NoSuchMethodError: Class 'AppLinks' has no instance method 'getInitialAppLink'. Receiver: Instance of 'AppLinks' Tried calling: getInitialAppLink())

To Reproduce

Run app

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Initialize supabase

Expected behavior

Supabase authentication

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [iOS]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

leewlms avatar Dec 19 '24 00:12 leewlms

Facing Same Issue

Dev-Adnani avatar Dec 23 '24 12:12 Dev-Adnani

I have same problem

pawel221 avatar Jan 08 '25 11:01 pawel221

Same issue

borisandcrispin avatar Feb 18 '25 09:02 borisandcrispin

Hi, I've moved this issue over from the supabase repo as its flutter related.

Hallidayo avatar Mar 05 '25 20:03 Hallidayo

This is effectively a duplicate of #941, but since this is bad for developer experience when having the stop on caught exception setting turned on in vscode, I would propose we do a breaking change and bump the app links dependency. This way we don't have to support both apis.< @dshukertjr What do you think?

Vinzent03 avatar Mar 14 '25 00:03 Vinzent03

Im able to reproduce the bug.

HektorCyC avatar Apr 10 '25 17:04 HektorCyC

Update on this?

Delthoid avatar Jun 22 '25 07:06 Delthoid

It's worth saying that this isn't just a DX issue, at least AFAICT. It was happening to me and I could not figure out why my app kept freezing on the splash screen. After finally realizing I did not have "All Exceptions" checked in the debugger and checking it, I saw that this was the issue. Obviously I should have a more resilient main method but I just wanted to point out that at least AFAICT this can impact runtime behavior negatively.

btrautmann avatar Aug 03 '25 22:08 btrautmann