Hi all,
I am testing Dynatrace Flutter Plugin with VS Code, I followed step by
- Create Flutter Project
- Run “flutter pub add dynatrace_flutter_plugin”
- download the configuration dynatrace.config.yaml. Store it in the root folder
- Include “import ‘package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart’; void main() => Dynatrace().start(MyApp());” in to main.dart code
- Run dart run dynatrace_flutter_plugin in the root of your Flutter project
- Call flutter run and the application starts including Dynatrace OneAgent
Then I found error below
------------------------------------------------
A Dart VM Service on Chrome is available at: http://127.0.0.1:57149/NFDnX6zcZuo=
[2024-12-02 12:48:38][ERROR][DYNATRACE]: Dynatrace Flutter Plugin failed to initialize. Error: PlatformException(channel-error, Unable to establish connection on
channel., null, null)
-----------------------------------------------
What I have missed step that need to run the plugin? Thank you.
