Skip to content

Conversation

@Muneerali199
Copy link

Description

This PR performs a comprehensive update of project dependencies to their latest stable versions and migrates flutter_secure_storage to v10 to address security vulnerabilities and ensure compatibility with the latest Flutter SDK.

📦 Dependency Updates

  • flutter_secure_storage: ^9.2.4^10.0.0 (Major security update)
  • app_links: ^6.4.1^7.0.0 (Major update for deep linking)
  • google_fonts: ^6.3.2^8.0.0 (UI stability)
  • Updated 69+ transitive dependencies to resolve flutter pub outdated warnings.

🔐 Security & Migration (flutter_secure_storage v10)

  • Android Configuration:
    • Updated android/app/build.gradle.kts to ensure minSdk = 23.
  • Code Migration:
    • Centralized AndroidOptions configuration in lib/utils/constants.dart with encryptedSharedPreferences: true, migrateOnAlgorithmChange: true, and resetOnError: true.
    • Refactored all FlutterSecureStorage usages to use these explicit options.
    • Implemented try-catch blocks around all storage operations (Read/Write) to prevent app crashes during data access failures.

Type of Change

  • 🔧 Chore (updates to build process or auxiliary tools and libraries)
  • ♻️ Refactor (code change that neither fixes a bug nor adds a feature)

How Has This Been Tested?

  • flutter pub get runs successfully without version conflicts.
  • App builds successfully.

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • My changes generate no new warnings.

close issue #729

- Update app_links from 6.4.1 to 7.0.0
- Update flutter_secure_storage from 9.2.4 to 10.0.0
- Update google_fonts from 6.3.2 to 8.0.0
- Update 69+ transitive dependencies

This update addresses security vulnerabilities and ensures compatibility with latest Flutter/Dart versions.
- Set Android minSdk to 23 in build.gradle.kts
- Use explicitly configured AndroidOptions with encryptedSharedPreferences
- Add error handling (try-catch) for all secure storage operations
- Centralize AndroidOptions configuration in constants.dart
@Muneerali199 Muneerali199 requested a review from M4dhav as a code owner January 25, 2026 14:30
@github-actions
Copy link
Contributor

🎉 Welcome @Muneerali199!
Thank you for your pull request! Our team will review it soon. 🔍

  • Please ensure your PR follows the contribution guidelines. ✅
  • All automated tests should pass before merging. 🔄
  • If this PR fixes an issue, link it in the description. 🔗

We appreciate your contribution! 🚀

@coderabbitai
Copy link

coderabbitai bot commented Jan 25, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant