sentry-unity
sentry-unity copied to clipboard
Add additional user data to iOS scope sync
Currently, when passing the user to the native layer the Other
property does not get synched.
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?