Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 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
6 changes: 3 additions & 3 deletions apps/app_core/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

android {
namespace = "com.flutter.boilerplate.app"
compileSdk = 35
compileSdk = 36
ndkVersion = "29.0.13113456 rc1"

compileOptions {
Expand All @@ -23,7 +23,7 @@ android {

defaultConfig {
applicationId = "com.flutter.boilerplate.app"
minSdk = 23
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
Expand Down Expand Up @@ -64,4 +64,4 @@ flutter {
dependencies {
implementation(platform("com.google.firebase:firebase-bom:33.8.0"))
implementation("com.google.firebase:firebase-analytics")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-all.zip
2 changes: 1 addition & 1 deletion apps/app_core/android/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pluginManagement {

plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id("com.android.application") version "8.9.1" apply false
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
id("com.google.gms.google-services") version "4.4.2" apply false
}
Expand Down
4 changes: 2 additions & 2 deletions apps/app_core/lib/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ class _AppState extends State<App> {
}

@override
void dispose() {
Future<void> dispose() async {
NetWorkInfoService.instance.dispose();
_connectivityService.dispose();
getIt<NotificationServiceInterface>().dispose();
getIt<NotificationServiceInterface>().dispose();
super.dispose();
}
}
51 changes: 25 additions & 26 deletions apps/app_core/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,42 +33,42 @@ dependencies:
app_notification_service: ^0.0.1

# internationalization
timeago: ^3.7.0
timeago: ^3.7.1

# environment management
envied: ^1.1.1
envied: ^1.3.2

# secure local storage
hive_ce: ^2.10.1
hive_ce_flutter: ^2.2.0
hive_ce: ^2.16.0
hive_ce_flutter: ^2.3.3

# Class comparison and form validation
equatable: ^2.0.7
equatable: ^2.0.8

# Utils
logger: ^2.5.0
logger: ^2.6.2
path_provider: ^2.1.5

# State management and dependency injection
flutter_bloc: ^9.1.0
flutter_bloc: ^9.1.1
bloc_concurrency: ^0.3.0
get_it: ^8.0.3
get_it: ^9.2.0

#Routing
auto_route: ^10.0.1
auto_route: ^10.3.0

# functional programming
fpdart: ^1.1.1
fpdart: ^1.2.0
data_connection_checker_nulls: ^0.0.2

# Image picker
image_picker: ^1.1.2
permission_handler: ^12.0.0+1
image_picker: ^1.2.1
permission_handler: ^12.0.1
device_info_plus: ^11.3.3
image_cropper: ^9.0.0
image_cropper: ^11.0.0
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

image_cropper flutter 11.0.0 migration guide breaking changes

💡 Result:

Summary of breaking changes in image_cropper 11.0.0

  • iOS: upgraded TOCropViewController to v2.8.0 — plugin now requires iOS deployment target >= 12.0 (breaking). [1]
  • Flutter SDK: package constrains minimum Flutter to 3.28 (breaking) due to the image_cropper_platform_interface change. [1]

Recommended migration steps

  1. Bump your app's Flutter SDK constraint to >=3.28 in pubspec.yaml (or upgrade your Flutter SDK). [1]
  2. Raise iOS deployment target to 12.0:
    • In ios/Podfile set platform :ios, '12.0' and run pod install (or pod install --repo-update if pods conflict).
    • If you use Xcode, also update the project's Deployment Target to iOS 12.0.
      This resolves TOCropViewController compatibility after the plugin upgrade. [1][2]
  3. If CocoaPods reports TOCropViewController version conflicts, run:
    • pod repo update
    • pod update TOCropViewController
    • then pod install. This addresses dependency mismatches caused by the TOCropViewController bump. [2]
  4. Rebuild the app (flutter clean && flutter pub get && flutter build ...) and test iOS flows.

Sources
[1] image_cropper changelog (11.0.0). [pub.dev changelog].
[2] Related GitHub issue re: TOCropViewController version conflicts.


Address breaking changes for image_cropper 11.0.0 upgrade (9.x → 11.x):

This major version bump requires:

  • iOS deployment target must be ≥ 12.0 (update ios/Podfile and Xcode project settings)
  • Flutter SDK constraint must be ≥ 3.28 in pubspec.yaml

Verify these requirements are met before proceeding, and run flutter clean && flutter pub get after updating dependencies.

🤖 Prompt for AI Agents
In @apps/app_core/pubspec.yaml at line 62, You upgraded image_cropper to 11.0.0
but haven’t applied required platform/version changes: update the Flutter SDK
constraint in pubspec.yaml to at least 3.28 (adjust the sdk: "">=3.28.0 <4.0.0""
entry), raise the iOS deployment target to ≥12.0 in ios/Podfile (platform :ios,
'12.0') and in the Xcode project settings (iOS Deployment Target), then run
flutter clean && flutter pub get to refresh dependencies and ensure build
settings are consistent with the new image_cropper version.

cached_network_image: ^3.4.1
flutter_svg: ^2.0.17
top_snackbar_flutter: ^3.2.0
flutter_svg: ^2.2.3
top_snackbar_flutter: ^3.3.0
formz: ^0.8.0

# For Firebase
Expand All @@ -81,14 +81,13 @@ dependencies:

# Social Sign In
google_sign_in: ^6.3.0
sign_in_with_apple: ^6.1.4
sign_in_with_apple: ^7.0.1

webview_flutter: ^4.10.0
package_info_plus: ^8.3.0
firebase_remote_config: ^5.4.3

# Launch URL
url_launcher: ^6.3.1
url_launcher: ^6.3.2


dependency_overrides:
Expand All @@ -99,28 +98,28 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^5.0.0
flutter_lints: ^6.0.0

# For generating code
build_runner: ^2.4.15
build_runner: ^2.5.4

change_app_package_name: ^1.5.0

# For generating assets code
flutter_gen: ^5.10.0
flutter_gen_runner: ^5.10.0
flutter_gen: ^5.12.0
flutter_gen_runner: ^5.12.0

# For generating routes
auto_route_generator: ^10.0.1
auto_route_generator: ^10.2.3

# For generating hive model adaptors
hive_ce_generator: ^1.8.2
very_good_analysis: ^7.0.0
hive_ce_generator: ^1.9.2
very_good_analysis: ^10.0.0

# For generating env files
envied_generator: ^1.1.1

flutter_launcher_icons: ^0.14.3
flutter_launcher_icons: ^0.14.4



Expand Down
14 changes: 7 additions & 7 deletions packages/api_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ environment:

dependencies:
# API Calling
graphql: ^5.2.0-beta.7
graphql: ^5.2.3

# For functional programming
fpdart: ^1.1.1
dio: ^5.8.0+1
fpdart: ^1.2.0
dio: ^5.9.0
dio_cache_interceptor: ^3.5.1
dio_cache_interceptor_hive_store: ^4.0.0
path_provider: ^2.1.5
pretty_dio_logger: ^1.4.0
hive_ce: ^2.10.1
hive_ce_flutter: ^2.2.0
hive_ce: ^2.16.0
hive_ce_flutter: ^2.3.3


dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
hive_ce_generator: ^1.8.2
flutter_lints: ^6.0.0
hive_ce_generator: ^1.11.0
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract interface class NotificationServiceInterface {

void listenForNotification();

void dispose();
Future<void> dispose();

void logout();
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class OneSignalService implements NotificationServiceInterface {
notificationObserverStream.stream;

@override
void dispose() {
notificationObserverStream.close();
Future<void> dispose() async {
await notificationObserverStream.close();
}

@override
Expand Down
6 changes: 3 additions & 3 deletions packages/app_notification_service/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ dependencies:
flutter:
sdk: flutter

onesignal_flutter: ^5.3.0
onesignal_flutter: ^5.3.5

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
very_good_analysis: ^7.0.0
flutter_lints: ^6.0.0
very_good_analysis: ^10.0.0
Comment on lines +15 to +21
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

onesignal_flutter 5.3.5 release notes breaking changes

💡 Result:

Short answer: There are no breaking changes listed for onesignal_flutter 5.3.5. The package 5.3.5 is published (latest on pub.dev) and the GitHub releases page shows breaking changes only for 5.3.0 (no breaking changes for the 5.3.x patch releases). [1][2]

Sources:

  • pub.dev onesignal_flutter (shows 5.3.5 as latest). [1]
  • OneSignal Flutter SDK releases (GitHub) — breaking changes called out at 5.3.0; 5.3.x releases are native dependency/bug-fix updates. [2]

🌐 Web query:

very_good_analysis 10.0.0 migration guide new lints flutter

💡 Result:

Here’s a concise migration checklist and the key changes to watch when moving to very_good_analysis 10.0.0 (Flutter/Dart):

Quick links (sources): very_good_analysis package & changelog. [1][2]

  1. Upgrade
  • Update dev dependency: flutter pub add --dev very_good_analysis (or change pubspec to ^10.0.0). [2]
  1. Update include
  • Switch your analysis_options include to the v10 file (optional pin):
    include: package:very_good_analysis/analysis_options.10.0.0.yaml
    Or keep the unpinned include to always get latest: package:very_good_analysis/analysis_options.yaml. [2]
  1. SDK and analyzer compatibility
  • v10.0.0 adds support for Dart 3.9.0 — ensure your SDK lower bound / toolchain is compatible. [1]
  1. New / changed lints and notable rule changes
  • v10.0.0 release notes: primarily SDK support and docs updates. Review the changelog for specific rule additions/changes. [1]
  • Pre-release notes: the rule diagnostic_describe_all_properties was removed in v10.0.0-rc.1 — search your codebase for usages/expectations of that diagnostic. [1][3]
  1. Migrate code / fix reported issues
  • Run: flutter analyze (or dart analyze).
  • Fix or suppress new lints as needed (use // ignore: or file/project-level excludes). [2]
  • If a new lint flags many cases, consider incremental fixes or adding justified suppressions while you refactor.
  1. Tests & CI
  • Run unit/widget tests and CI analyzers to catch any remaining lint failures.
  • If pinning analysis_options to 10.0.0, update CI tooling when you choose to move to newer prereleases (e.g., 10.1.0-rc.*). [2]

If you want, I can:

  • produce a diff of likely lint failures for a small sample file, or
  • list every lint added/removed between 9.x and 10.0.0 (I’ll fetch the full rule list from the package).

Sources:
[1] very_good_analysis changelog (v10.0.0).
[2] very_good_analysis package & usage (analysis_options include).
[3] very_good_analysis v10.0.0-rc.1 notes (rule removal).


🌐 Web query:

flutter_lints 6.0.0 release notes breaking changes

💡 Result:

Summary — flutter_lints 6.0.0 breaking changes

  • Main change: bumps its dependency on package:lints to 6.0.0 and adds the new linter rule strict_top_level_inference. This can surface new lint warnings/errors in projects after upgrading (no other breaking API changes are listed). [1][2]

Sources

  • flutter_lints changelog (pub.dev). [1]
  • Related GitHub discussion about bumping lints to ^6.0.0. [2]

Update analysis_options.yaml and run flutter analyze to verify lint rule compatibility.

The onesignal_flutter bump to 5.3.5 introduces no breaking changes and requires no platform configuration updates. However, the analysis toolchain bumps (very_good_analysis to 10.0.0 and flutter_lints to 6.0.0) require action:

  1. Update analysis_options.yaml to include the v10 analysis file: package:very_good_analysis/analysis_options.10.0.0.yaml
  2. Run flutter analyze to identify any new lints introduced by flutter_lints 6.0.0 (notably strict_top_level_inference) and removed rules (e.g., diagnostic_describe_all_properties)
  3. Address or suppress any new lint violations before merging to avoid CI failures
🤖 Prompt for AI Agents
In @packages/app_notification_service/pubspec.yaml around lines 15 - 21, Update
analysis_options.yaml to import
package:very_good_analysis/analysis_options.10.0.0.yaml and ensure the merged
config handles flutter_lints v6.0.0 changes; then run flutter analyze and fix or
suppress new lints (notably strict_top_level_inference) and re-enable/replace
any removed rules such as diagnostic_describe_all_properties so CI won’t fail.

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

Expand Down
6 changes: 3 additions & 3 deletions packages/app_subscription/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ dependencies:
sdk: flutter

#For android
in_app_purchase: ^3.2.1
in_app_purchase: ^3.2.3

#For iOS
# in_app_purchase_storekit: ^0.3.21

equatable: ^2.0.7
equatable: ^2.0.8

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter_lints: ^6.0.0

12 changes: 6 additions & 6 deletions packages/app_translations/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ dependencies:
sdk: flutter

# Used for localization
slang: ^4.5.0
slang_flutter: ^4.5.0
slang: ^4.11.1
slang_flutter: ^4.11.0

dev_dependencies:
flutter_test:
sdk: flutter

slang_build_runner: ^4.5.0
flutter_lints: ^5.0.0
melos: ^6.3.2
build_runner: ^2.4.15
slang_build_runner: ^4.11.0
flutter_lints: ^6.0.0
melos: ^7.3.0
build_runner: ^2.10.4

flutter:
assets:
Expand Down
24 changes: 12 additions & 12 deletions packages/app_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@ environment:
dependencies:
animated_custom_dropdown: ^3.1.1
cached_network_image: ^3.4.1
equatable: ^2.0.7
equatable: ^2.0.8
flutter:
sdk: flutter
flutter_blurhash: ^0.8.2
flutter_spinkit: ^5.2.1
flutter_blurhash: ^0.9.1
flutter_spinkit: ^5.2.2
octo_image: ^2.1.0
skeletonizer: ^2.0.1
timeago: ^3.7.0
url_launcher: ^6.3.1
flutter_svg: ^2.0.17
pinput: ^5.0.1
skeletonizer: ^2.1.2
timeago: ^3.7.1
url_launcher: ^6.3.2
flutter_svg: ^2.2.3
pinput: ^6.0.1

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
flutter_lints: ^6.0.0
very_good_analysis:
^7.0.0
# For generating code
build_runner: ^2.4.15
build_runner: ^2.10.4

# For generating assets code
flutter_gen: ^5.10.0
flutter_gen_runner: ^5.8.0
flutter_gen: ^5.12.0
flutter_gen_runner: ^5.12.0


# For information on the generic Dart part of this file, see the
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
husky: ^0.1.7
melos: ^6.3.2
flutter_lints: ^5.0.0
melos: ^7.3.0
flutter_lints: ^6.0.0
lint_staged:
"lib/**.dart": dart format -l 70 && dart analyze --fatal-infos --fatal-warnings