-
Notifications
You must be signed in to change notification settings - Fork 321
Don't send events if telemetry is disabled #6512
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
VysotskiVadim
merged 10 commits into
main
from
NAVAND-819-vv-do-no-send-events-if-telemetry-is-turned-off
Oct 27, 2022
Merged
Changes from 9 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7521e3f
don't send events if telemetry is disabled
VysotskiVadim 3a32b09
log event's names instead of full events
VysotskiVadim cba98ab
always initialize and deinitialize telemetry
VysotskiVadim 2d31b2a
added changelog
VysotskiVadim d27578e
don't log if telemetry is turned off
VysotskiVadim 1497a1e
rename refactoring
VysotskiVadim 8113a69
fixed grammar
VysotskiVadim f6b6626
Revert "always initialize and deinitialize telemetry"
VysotskiVadim 000cefc
updated changelog
VysotskiVadim fa03557
Update CHANGELOG.md
VysotskiVadim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
libnavigation-base/src/main/java/com/mapbox/navigation/base/internal/metric/ValueUtil.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| package com.mapbox.navigation.base.internal.metric | ||
|
|
||
| import com.mapbox.bindgen.Value | ||
|
|
||
| fun Value.extractEventsNames(): List<String>? = (this.contents as? List<Value>) | ||
| ?.mapNotNull { (it.contents as? Map<String, Value>)?.get("event")?.contents as? String } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.