A library for Android to get the market name of the device.
Include the library in your
To use this library you will need to build an instance of GoogleSupportedDevices and invoke getDevice().
This method is suspended. Remember to call it inside a coroutine scope.
val gsd = GoogleSupportedDevices(context) gsd.getDevice()
If the device is not yet registered by Google, a model with the following default values will be returned.
codename = Build.DEVICE manufacturer = Build.MANUFACTURER marketName = Build.MODEL model = Build.MODEL
Otherwise, the values that Google has registered will be taken.