Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/bootstrap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ import 'package:anystep/core/firebase/firebase.dart';
import 'package:anystep/env/env.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:anystep/core/config/router/url_strategy.dart';
import 'package:posthog_flutter/posthog_flutter.dart';
import 'package:supabase_flutter/supabase_flutter.dart';

void bootstrap(FutureOr<Widget> Function() builder) async {
setPathUrlStrategy();

// Ensure that Flutter is initialized
WidgetsFlutterBinding.ensureInitialized();

Expand Down
8 changes: 4 additions & 4 deletions lib/core/config/router/deep_link_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class DeepLinkConfig {
final isLocalhost = base.host == 'localhost' || base.host == '127.0.0.1';
final port = base.hasPort ? base.port : (isLocalhost ? 3000 : null);
return base.replace(
path: ResetPasswordScreen.path,
path: '/',
query: '',
fragment: '',
fragment: ResetPasswordScreen.path,
port: port,
);
}
Expand All @@ -28,9 +28,9 @@ class DeepLinkConfig {
final isLocalhost = base.host == 'localhost' || base.host == '127.0.0.1';
final port = base.hasPort ? base.port : (isLocalhost ? 3000 : null);
return base.replace(
path: EmailConfirmedScreen.path,
path: '/',
query: '',
fragment: '',
fragment: EmailConfirmedScreen.path,
port: port,
);
}
Expand Down
4 changes: 0 additions & 4 deletions lib/core/config/router/url_strategy.dart

This file was deleted.

1 change: 0 additions & 1 deletion lib/core/config/router/url_strategy_stub.dart

This file was deleted.

5 changes: 0 additions & 5 deletions lib/core/config/router/url_strategy_web.dart

This file was deleted.