We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3487c87 commit 0c7896cCopy full SHA for 0c7896c
packages/supabase_flutter/lib/src/supabase_auth.dart
@@ -199,7 +199,12 @@ class SupabaseAuth with WidgetsBindingObserver {
199
// Needed to keep compatible with 5.0.0 and 6.0.0
200
// https://pub.dev/packages/app_links/changelog
201
// after app_links 6.0.0
202
- uri = await (_appLinks as dynamic).getInitialUri();
+ //
203
+ // app_links claims that the initial link will be included in the
204
+ // `uriLinkStream`, but that is not the case for web
205
+ if (kIsWeb) {
206
+ uri = await (_appLinks as dynamic).getInitialLink();
207
+ }
208
}
209
if (uri != null) {
210
await _handleDeeplink(uri);
0 commit comments