Update protocol#1038
Conversation
Codecov ReportBase: 90.45% // Head: 91.37% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1038 +/- ##
==========================================
+ Coverage 90.45% 91.37% +0.91%
==========================================
Files 114 9 -105
Lines 3584 197 -3387
==========================================
- Hits 3242 180 -3062
+ Misses 342 17 -325 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
| @@ -0,0 +1,29 @@ | |||
| /// Geographical location of the end user or device. | |||
| class SentryGeo { | |||
There was a problem hiding this comment.
This is inferred from ip_address in the server, but if its set, it keeps as it is, I'm checking if SDKs should be allowed to set their own geo data.
There was a problem hiding this comment.
Let's keep it, I will update the develop docs.
We have to fix the Native bridges, to also sync the geo data.
Such as Android:
iOS
sentry-dart/flutter/ios/Classes/SentryFlutterPluginApple.swift
Lines 503 to 528 in e390ced
There was a problem hiding this comment.
Will do, but why is it this cumbersome to set the user on the native layer?
There was a problem hiding this comment.
Both, Cocoa and Java, don't have the Geo object yet. I've added the data sync though
There was a problem hiding this comment.
getsentry/team-mobile#59 (comment)
Added a comment on the geo field on Dart that this is not going to be synced for now (scope sync).
I will see if I can get this done on both.
There was a problem hiding this comment.
Or maybe we add it under data for now?
There was a problem hiding this comment.
I went for the solution of documenting the missing sync
Co-authored-by: Manoel Aranda Neto <[email protected]>
|
There seems to be an issue with the NDK installation, do you know why that's happening, @marandaneto? |
I suspect sentry-dart/flutter/example/android/app/build.gradle Lines 67 to 69 in 56810ff Maybe GH action images changed, since this is the sample, feel free to either remove it or use a version that works, as long as CI is happy. |
|
Ci is now happy 🎉 |
|
|
||
| ### Fixes | ||
|
|
||
| - Bring protocol up to date with latest Sentry protocol ([#1038](https://github.com/getsentry/sentry-dart/pull/1038)) |
There was a problem hiding this comment.
We have to move to unreleased section
There was a problem hiding this comment.
Fixed it. You're doing way too many releases lately, I can barely keep up with it :D
📜 Description
Update protocol. I've also cleaned up some more
toJsonmethods.💡 Motivation and Context
Fixes #1028
💚 How did you test it?
📝 Checklist
🔮 Next steps