Skip to content

fix: events logged only as debug #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 6, 2024
Merged

fix: events logged only as debug #27

merged 3 commits into from
Oct 6, 2024

Conversation

ivnbogdan
Copy link
Contributor

@ivnbogdan ivnbogdan commented Oct 1, 2024

Fixes #26

Reverts changes from #24

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

  • Omitting the value, same as setting to .readFromEnvironment:
    Aptabase.shared.initialize(appKey: "")
    Aptabase.shared.initialize(appKey: "", options: InitOptions(trackingMode: .readFromEnvironment))

@ivnbogdan ivnbogdan requested a review from cristipufu October 1, 2024 18:44
@ivnbogdan ivnbogdan merged commit cfd67fa into main Oct 6, 2024
4 checks passed
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✌🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All user data is shown as "Debug Data"
1 participant