Skip to content

Add missing device attribute to Navigation events#565

Merged
Guardiola31337 merged 1 commit intomasterfrom
pg-missing-device-attribute
Sep 19, 2017
Merged

Add missing device attribute to Navigation events#565
Guardiola31337 merged 1 commit intomasterfrom
pg-missing-device-attribute

Conversation

@Guardiola31337
Copy link
Copy Markdown
Contributor

  • Adds missing device attribute to Navigation events

👀 @cammace @ericrwolfe @zugaldia

}

private void addGeneralNavigationMetadataTo(Hashtable<String, Object> eventWithAttributes) {
eventWithAttributes.put(MapboxEvent.KEY_MODEL, Build.MODEL);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The nav telemetry spec expects a device attribute rather than model. It looks like this was an inconsistency/oversight when the spec was defined.

@Guardiola31337 Guardiola31337 force-pushed the pg-missing-device-attribute branch from 1b31830 to f5733f3 Compare September 19, 2017 20:53
@Guardiola31337
Copy link
Copy Markdown
Contributor Author

@ericrwolfe ready for a second 👀

@Guardiola31337 Guardiola31337 force-pushed the pg-missing-device-attribute branch from f5733f3 to 709f0b7 Compare September 19, 2017 21:40
@Guardiola31337 Guardiola31337 merged commit 4af1718 into master Sep 19, 2017
@Guardiola31337 Guardiola31337 deleted the pg-missing-device-attribute branch September 19, 2017 21:58
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.

2 participants