From 56810ff730b5c918da021c12c84ee1cd88d62aa1 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> Date: Tue, 11 Oct 2022 16:19:14 +0200 Subject: [PATCH] Avoid dependency conflict with package_info_plus v2 (#1068) --- CHANGELOG.md | 6 ++++++ flutter/example/pubspec.yaml | 1 + flutter/pubspec.yaml | 2 +- .../android_platform_exception_event_processor_test.dart | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8183df340c..984a0d6fe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Fixes + +- Avoid dependency conflict with package_info_plus v2 ([#1068](https://github.com/getsentry/sentry-dart/pull/1068)) + ## 6.12.1 ### Dependencies diff --git a/flutter/example/pubspec.yaml b/flutter/example/pubspec.yaml index 85652854c6..e9f7f8de10 100644 --- a/flutter/example/pubspec.yaml +++ b/flutter/example/pubspec.yaml @@ -20,6 +20,7 @@ dependencies: provider: ^6.0.0 dio: ^4.0.0 logging: ^1.0.2 + package_info_plus: ^2.0.0 dev_dependencies: pedantic: ^1.11.1 diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 0ca3b53ea2..51753116a0 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: flutter_web_plugins: sdk: flutter sentry: 6.12.1 - package_info_plus: ^1.0.0 + package_info_plus: '>=1.0.0 <3.0.0' meta: ^1.3.0 dev_dependencies: diff --git a/flutter/test/android_platform_exception_event_processor_test.dart b/flutter/test/android_platform_exception_event_processor_test.dart index cbc375b837..bfd8e2b4ce 100644 --- a/flutter/test/android_platform_exception_event_processor_test.dart +++ b/flutter/test/android_platform_exception_event_processor_test.dart @@ -20,6 +20,7 @@ void main() { buildSignature: '', packageName: 'io.sentry.samples', version: '1.2.3', + installerStore: null, ); });