promotedai / ios-metrics-sdk

iOS client library for Promoted.ai metrics tracking.
MIT License
7 stars 1 forks source link

Add BuildInfo and fill out build fields on Device #167

Closed yunapotamus closed 2 years ago

yunapotamus commented 2 years ago
  1. Fill out platform_app_version and promoted_mobile_sdk_version on common.Device message.
  2. Introduce BuildInfo protocol to add dependency injection for build info, and plumb this through MetricsLogger.
  3. Add and update tests.
  4. Regenerate schema protos.

Example of Device message:

device:{
  device_type:MOBILE 
  brand:"Apple" 
  manufacturer:"Apple" 
  identifier:"x86_64" 
  os_version:"15.0" 
  screen:{size:{width:1170 height:2532} scale:3} 
  platform_app_version:"2.13.0 build 52" 
  promoted_mobile_sdk_version:"1.0.0"
}