From 5a205e7a20701fe7ac3407e12bf84b0220bf6e80 Mon Sep 17 00:00:00 2001 From: wangbax Date: Thu, 21 Jul 2022 17:53:12 +0800 Subject: [PATCH] fix: windows native method need default result (#943) --- CHANGELOG.md | 1 + flutter/windows/sentry_flutter_plugin.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40c3622fa4..94a901dae7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Maps with Key Object, Object would fail during serialization if not String, Object ([#935](https://github.com/getsentry/sentry-dart/pull/935)) * Breadcrumbs "Concurrent Modification" ([#948](https://github.com/getsentry/sentry-dart/pull/948)) * Duplicative Screen size changed breadcrumbs ([#888](https://github.com/getsentry/sentry-dart/pull/888)) +* Fix windows native method need default result ([#943](https://github.com/getsentry/sentry-dart/pull/943)) ### Features diff --git a/flutter/windows/sentry_flutter_plugin.cpp b/flutter/windows/sentry_flutter_plugin.cpp index c8b9b9142b..638f4ff16e 100644 --- a/flutter/windows/sentry_flutter_plugin.cpp +++ b/flutter/windows/sentry_flutter_plugin.cpp @@ -57,6 +57,7 @@ void SentryFlutterPlugin::HandleMethodCall( const flutter::MethodCall &method_call, std::unique_ptr> result) { // Native features will be added in a next release + result->NotImplemented(); } } // namespace