I'm having trouble fetching some market names of the phones where the model is returned
When I view the raw JSON it shows that the market_name exists but in code it comes off same as the model.
DeviceName.with(this).request { info, error ->
val manufacturer = info.manufacturer
val name = info.marketName
val model = info.model
val codename = info.codename
val deviceName = info.name
Here, the name returns Redmi Note 2 (should return HM Note 2) and model also returns Redmi Note 2
It looks like both QUBO and Xiaomi have a device with the codename hermes. However, I don't see Redmi Note 2 used as a market_name anywhere. Are you sure you using the marketName and not the model?
I'm having trouble fetching some market names of the phones where the model is returned When I view the raw JSON it shows that the market_name exists but in code it comes off same as the model.
eg
Here, the name returns
Redmi Note 2
(should returnHM Note 2
) and model also returnsRedmi Note 2