-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Upgrade Matomo to 3.1 #4000
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I think there is an initialization issue. I make this a draft the time I investigate |
Ok, we can't upgrade as of now, because our tests fail. With Matomo 3.x, we have to initialize it, otherwise background calls to track screens will fail. However on macOS, it hangs on:
So we are blocked by |
I've opened an issue to track the progress: fluttercommunity/plus_plugins#1845 |
No news from flutter community. I will wait a bit and create the PR myself, but all flutter community repos seem very dormant |
@g123k I had a look at our code ( |
Actually the problem is not in our code, but in Matomo. |
@g123k Oh ok, I didn't understand that. That said:
|
I think I've finally found a way to bypass the issue. By faking the two |
You can test this PR on: https://app.waldo.com/applications/app-19d476740ba1bb36/sessions |
Codecov Report
@@ Coverage Diff @@
## develop #4000 +/- ##
===========================================
+ Coverage 10.79% 10.81% +0.02%
===========================================
Files 287 287
Lines 14216 14216
===========================================
+ Hits 1534 1538 +4
+ Misses 12682 12678 -4
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The migration from Matomo 2.x to 3.x requires some minor changes in our code