Passing a custom access token to supabase_flutter doesn't work. I noticed that the SupabaseClient.dispose() method didn't work with custom access token as well.
What is the new behavior?
The realtime reconnection logic is moved to the Supabase class and SupabaseAuth is only initialized when no custom accessToken is passed.
What kind of change does this PR introduce?
Bug fix
What is the current behavior?
Passing a custom access token to supabase_flutter doesn't work. I noticed that the
SupabaseClient.dispose()
method didn't work with custom access token as well.What is the new behavior?
The realtime reconnection logic is moved to the
Supabase
class andSupabaseAuth
is only initialized when no customaccessToken
is passed.Additional context
close #1072