Problem Statement
The current Multiplatform SDK bridge does not have the full capabilities of the native SDKs yet and even though we can configure Sentry to use some of the native SDKs params using initWithPlatformOptions, when we decide to do so we need to bridge every config to the native SDK classes and interfaces (ex: BeforeSendEvent would need to be implemented for each platform).
If would be nice if we were able to use the KMP configurations toPlatformOptionsConfiguration() method to generate the shared config setup, and then in the target specific dependencies we could alter this configuration only to add the native only needs.
Solution Brainstorm
Make SentryOptions.toPlatformOptionsConfiguration() extension function public, or provide a interface for being able to pass both common and platform specific configurations when initializing Sentry KMP
Problem Statement
The current Multiplatform SDK bridge does not have the full capabilities of the native SDKs yet and even though we can configure Sentry to use some of the native SDKs params using initWithPlatformOptions, when we decide to do so we need to bridge every config to the native SDK classes and interfaces (ex: BeforeSendEvent would need to be implemented for each platform).
If would be nice if we were able to use the KMP configurations toPlatformOptionsConfiguration() method to generate the shared config setup, and then in the target specific dependencies we could alter this configuration only to add the native only needs.
Solution Brainstorm
Make SentryOptions.toPlatformOptionsConfiguration() extension function public, or provide a interface for being able to pass both common and platform specific configurations when initializing Sentry KMP