Releases: aptabase/aptabase-swift
Releases · aptabase/aptabase-swift
0.3.11
fix: events logged only as debug #27
- Reverts previous change which caused RELEASE data not to show up
- Adds an option to explicitly set the tracking mode to Debug or Release. Not setting this option will fallback to the previous reading of environment value.
-
Setting to release
Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .asRelease))
-
Setting to debug
Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .asDebug))
-
Setting omitting the value, same as setting to
.readFromEnvironment
:
Aptabase.shared.initialize(appKey: "")
Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .readFromEnvironment))