Closed SlayerOrnstein closed 3 years ago
This seems to be in the send
method. We dequeue
messages in the initialize
method which ends up sending messages.
In particular, the crash seems to be when we cast the headers:
headers as Map<String, String>?
This is strange but might be due to a newer version of dart that I've been using. (I've been stuck to pre-nullsafety for my main project because other libraries haven't moved yet)
Could you send me the version of dart you are using?
I'll look into this crash over the weekend.
Yeah, sorry I didn't include it from the start.
Flutter 2.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision adc687823a (2 weeks ago) • 2021-04-16 09:40:20 -0700
Engine • revision b09f014e96
Tools • Dart 2.12.3
I had the same problem. I've fixed it and opened a PR: https://github.com/poitch/dart-matomo/pull/16
All seems good now thank you @poitch and @Dix206
Matomo seems to be throwing and error when initializing, started to happen when updating to 0.1.1.