Skip to content
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

Add com.snowplowanalytics.snowplow/mobile_context/jsonschema/1-0-3 #1252

Closed
matus-tomlein opened this issue Jan 12, 2023 · 0 comments
Closed

Comments

@matus-tomlein
Copy link
Contributor

matus-tomlein commented Jan 12, 2023

This is a new version of the mobile_context schema tracked by the mobile trackers which will add the following properties:

  • isPortrait – A Boolean indicating whether the device orientation is portrait (either upright or upside down)
  • resolution – Screen resolution in pixels. Arrives in the form of WIDTHxHEIGHT (e.g., 1200x900)
  • scale – Scale factor used to convert logical coordinates to device coordinates of the screen (uses UIScreen.scale on iOS and DisplayMetrics.density on Android)
  • language – System language currently used on the device (ISO 639)

The resolution, scale, and language properties are added to reflect the new browser_context on Web (#1249) which moves some of the canonical properties from the events to the context entity. This is another step on the path to deprecate the canonical properties and unify the Web and mobile data models.

@igneel64 igneel64 mentioned this issue Mar 29, 2023
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

No branches or pull requests

1 participant