You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting a Release
If no release name is set, the SDK creates a default combined from CFBundleIdentifier, CFBundleShortVersionString, and CFBundleVersion, for example [email protected]+1234.
Which implies that when no release is set up on the Kotlin Multiplatform side that value will default to whatever platform's SDK behaviour.
In case of iOS that should be a value based on CFBundleIdentifier, CFBundleShortVersionString, and CFBundleVersion values.
Actual Result
Right now the release value transmitted to the sentry backend is null by default.
This is most likely caused by overriding the platform's default value here:
Platform
Apple
Installed
Swift Package Manager
Version
8.42.0
Steps to Reproduce
release
property inSentryOptions
in the shared code on Kotlin Multiplatform sideCFBundleIdentifier
,CFBundleShortVersionString
, andCFBundleVersion
ininfo.plist
in the xcode project used with kotlin multi-platformExpected Result
According to the kotlin multiplatform SDK documentation:
Then according to the iOS SDK documentation:
Which implies that when no
release
is set up on the Kotlin Multiplatform side that value will default to whatever platform's SDK behaviour.In case of iOS that should be a value based on
CFBundleIdentifier
,CFBundleShortVersionString
, andCFBundleVersion
values.Actual Result
Right now the
release
value transmitted to the sentry backend isnull
by default.This is most likely caused by overriding the platform's default value here:
sentry-kotlin-multiplatform/sentry-kotlin-multiplatform/src/appleMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryEventExtensions.apple.kt
Line 13 in f22d5c9
without checking if there is any value in
kmpEvent
as it is done for some other fields:sentry-kotlin-multiplatform/sentry-kotlin-multiplatform/src/appleMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryEventExtensions.apple.kt
Line 8 in f22d5c9
The text was updated successfully, but these errors were encountered: