Skip to content

0.3.11

Latest
Compare
Choose a tag to compare
@ivnbogdan ivnbogdan released this 06 Oct 05:29
cfd67fa

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))