Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add `usePathUrlStrategy` to web setup instructions (#28120)

Felipe Peter6e795f54ec73
diff --git a/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx b/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx
index 6ff234f4c45..64b1e2e1a06 100644
--- a/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx
+++ b/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx
@@ -119,7 +119,18 @@ Add an intent-filter to enable deep linking:
</TabPanel>
<TabPanel id="web" label="Web">
-There are no additional configurations.
+Supabase redirects do not work with Flutter's [default URL strategy](https://docs.flutter.dev/ui/navigation/url-strategies).
+We can switch to the path URL strategy as follows:
+
+```dart
+import 'package:flutter_web_plugins/url_strategy.dart';
+
+void main() {
+ usePathUrlStrategy();
+ runApp(ExampleApp());
+}
+```
+
</TabPanel>
</Tabs>