sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Add additional user data to iOS scope sync

Open bitsandfoxes opened this issue 3 years ago • 1 comments

Currently, when passing the user to the native layer the Other property does not get synched.

bitsandfoxes avatar Sep 16 '21 12:09 bitsandfoxes

User in .NET, for reference: https://github.com/getsentry/sentry-dotnet/blob/623768e5498e1b1084a1c5c71710f2692553bfe0/src/Sentry/User.cs#L95

Worth noting we also don't sync down from Android to Native: https://github.com/getsentry/sentry-java/blob/db05017c067ac6334c031985d79633bd1305fab2/sentry-android-ndk/src/main/java/io/sentry/android/ndk/NdkScopeObserver.java#L38

When adding this support it's important to differentiate between a key "add" and "remove". If I add something, do I want to remove everything else? Meaning, do we need to sync down all items each time anything changes?

bruno-garcia avatar Mar 15 '22 15:03 bruno-garcia