Skip to content

Dependency cleanup#490

Merged
n13 merged 8 commits into
mainfrom
dependency-cleanup
May 19, 2026
Merged

Dependency cleanup#490
n13 merged 8 commits into
mainfrom
dependency-cleanup

Conversation

@n13
Copy link
Copy Markdown
Collaborator

@n13 n13 commented May 19, 2026

  • Dependency cleanup
  • Update some deps to new major versions
  • Minor bumps for firebase
  • Unify analysis options (linter) across the 3 projects
  • Fix melos run format error - we now scope formatting to source files only, lib and test folders!

Tested: App runs!

n13 added 2 commits May 19, 2026 14:45
…tions 21, share_plus 13, flutter_dotenv 6, app_links 7

- riverpod 3: import legacy.dart where StateProvider/StateNotifier are used,
  import misc.dart for Override/ProviderListenable, riverpod_lint installed
  via analysis_options.yaml plugins (no longer a dev_dependency)
- local_auth 3: replace AuthenticationOptions with named params, stickyAuth
  -> persistAcrossBackgrounding
- flutter_local_notifications 21: switch to named params on initialize/
  show/zonedSchedule/cancel; bump timezone to 0.11.0
- deep_link_service: move disposal into ref.onDispose so widget State.dispose
  no longer touches a disposed ref
@v12-auditor
Copy link
Copy Markdown

v12-auditor Bot commented May 19, 2026

Warning

No auditable source files found in this PR's diff.

Comment thread miner-app/lib/src/services/wormhole_claim_service.dart
import 'dart:convert';

import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_riverpod/legacy.dart';
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaking changes to riverpod v3 I guess

final deepLinkServiceProvider = Provider<DeepLinkService>((ref) {
return DeepLinkService(ref);
final service = DeepLinkService(ref);
ref.onDispose(service.dispose);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this?

Comment thread mobile-app/lib/app.dart
if (Platform.isAndroid) _referralService.checkPlayStoreReferralCode();
}

@override
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So recommended to use the ref on dispose instead of this approach?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the previous didn't work since ref gets disposed before dispose on app is called...

Comment thread quantus_sdk/lib/quantus_sdk.dart
Copy link
Copy Markdown
Collaborator

@dewabisma dewabisma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@n13 n13 merged commit 724019b into main May 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants