Description
Platform
Apple
Installed
Swift Package Manager
Version
8.42.0
Steps to Reproduce
- Do not set
release
property inSentryOptions
in the shared code on Kotlin Multiplatform side - Set properly
CFBundleIdentifier
,CFBundleShortVersionString
, andCFBundleVersion
ininfo.plist
in the xcode project used with kotlin multi-platform - Send any kind of event to Sentry (including a crash)
- When checking event / issue it has no associated release
Expected Result
According to the kotlin multiplatform SDK documentation:
release
Sets the release. Some SDKs will try to automatically configure a release out of the box
Then according to the iOS SDK documentation:
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:
without checking if there is any value in kmpEvent
as it is done for some other fields:
Metadata
Metadata
Assignees
Type
Projects
Status