-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Setting device context in Android prevents native device context from being set #766
Comments
Yep, we don't merge field per field (Should we?) but rather only set the object if not set at all. |
Not sure, that is kinda what I expected. |
@kuhnroyal it is, and the reason is the way how the SDKs provide the context to the Hybrid SDKs, it's a flaw and indeed needs to be fixed, it's a known issue already tracked by another issue IIRC. |
Ok thanks, I can work around this and can follow the Cocoa issue. |
This also affects the
Yeah, that's also what I would expect. |
The downside of merging field per field is that: let's say that you have a specific field set by you or this SDK (let's call device.id) and you delete this data using |
Isn't that why there's this sentry-dart/flutter/lib/src/default_integrations.dart Lines 137 to 251 in 2b4d628
One could easily change that to be an event processor and it would solve the problem in all cases. |
@ueman we don't have for Android yet, it works differently and there's another issue tracking that. |
Closing this in favor of getsentry/team-mobile#11 |
Platform:
IDE:
split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):
Platform installed with:
Output of the command
flutter doctor -v
below:The output goes here...
The version of the SDK (See pubspec.lock):
6.3.0
I have the following issue:
Setting device context in Android prevents native device context from being set.
Steps to reproduce:
EventProcessor
and set the device contextSomething like this:
Actual result:
online
or whatever was set in the processor for Android devicesExpected result:
The text was updated successfully, but these errors were encountered: