Skip to content

Commit

Permalink
feat: add device_manufacturer device attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
levibostian committed Apr 19, 2022
1 parent a1399dc commit 6a60f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ internal class DeviceStoreImp(
return mapOf(
"device_os" to deviceOSVersion,
"device_model" to deviceModel,
"device_manufacturer" to deviceManufacturer,
"app_version" to (customerAppVersion ?: ""),
"cio_sdk_version" to customerIOVersion,
"device_locale" to deviceLocale,
Expand Down
1 change: 1 addition & 0 deletions sdk/src/test/java/io/customer/sdk/store/DeviceStoreTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ internal class DeviceStoreTest : BaseTest() {
val expectedDeviceAttributes = mapOf(
"device_os" to 30,
"device_model" to "Pixel 6",
"device_manufacturer" to "Google",
"app_version" to "1.0",
"cio_sdk_version" to "1.0.0-alpha.6",
"device_locale" to "en-US",
Expand Down

0 comments on commit 6a60f39

Please sign in to comment.