From 4b4d1ab1653bc73dff8486e72572a477f8a5cbb9 Mon Sep 17 00:00:00 2001 From: Rishabh Jain Date: Thu, 31 Oct 2024 05:17:27 +0530 Subject: [PATCH] chore(dependencies): Updated segment_analytics_plugin_adjust dependencies. (#116) - Updates minimum supported SDK version to Flutter 3.16/Dart 3.2 - Updates json_annotation to ^4.9.0 - Updates adjust_sdk to ^4.38.2 Updating segment_analytics to latest version Co-authored-by: Rishabh Jain --- packages/plugins/plugin_adjust/lib/types.g.dart | 2 +- packages/plugins/plugin_adjust/pubspec.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/plugins/plugin_adjust/lib/types.g.dart b/packages/plugins/plugin_adjust/lib/types.g.dart index df94aec..289a6ac 100644 --- a/packages/plugins/plugin_adjust/lib/types.g.dart +++ b/packages/plugins/plugin_adjust/lib/types.g.dart @@ -13,7 +13,7 @@ AdjustSettings _$AdjustSettingsFromJson(Map json) => customEvents: (json['customEvents'] as Map?)?.map( (k, e) => MapEntry(k, e as String), ), - delayTime: json['delayTime'] as int?, + delayTime: (json['delayTime'] as num?)?.toInt(), setDelay: json['setDelay'] as bool?, setEnvironmentProduction: json['setEnvironmentProduction'] as bool?, setEventBufferingEnabled: json['setEventBufferingEnabled'] as bool?, diff --git a/packages/plugins/plugin_adjust/pubspec.yaml b/packages/plugins/plugin_adjust/pubspec.yaml index c3ee893..0b398fc 100644 --- a/packages/plugins/plugin_adjust/pubspec.yaml +++ b/packages/plugins/plugin_adjust/pubspec.yaml @@ -6,21 +6,21 @@ repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/pl issue_tracker: https://github.com/segmentio/analytics_flutter/issues environment: - sdk: '>=2.19.3 <4.0.0' - flutter: ">=1.17.0" + sdk: '>=3.2.0 <4.0.0' + flutter: ">=3.16.0" dependencies: flutter: sdk: flutter - segment_analytics: ^1.0.0 - json_annotation: ^4.8.0 - adjust_sdk: ^4.31.0 + segment_analytics: ^1.1.1 + json_annotation: ^4.9.0 + adjust_sdk: ^4.38.2 dev_dependencies: - build_runner: ^2.3.3 - json_serializable: ^6.6.0 + build_runner: ^2.4.7 + json_serializable: ^6.8.0 flutter_test: sdk: flutter - flutter_lints: ^2.0.0 + flutter_lints: ^4.0.0 flutter: