Created
June 11, 2020 15:00
-
-
Save ktvipin27/35312ce8b7322777856cadf338f2e9c8 to your computer and use it in GitHub Desktop.
DeviceDetails class for Timber configuration for pushing logs to Firebase realtime database.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class DeviceDetails( | |
val deviceId: String, | |
val osVersion: String = Build.VERSION.RELEASE, | |
val manufacturer: String = Build.MANUFACTURER, | |
val brand: String = Build.BRAND, | |
val device: String = Build.DEVICE, | |
val model: String = Build.MODEL, | |
val appVersionName: String = BuildConfig.VERSION_NAME, | |
val appVersionCode: Int = BuildConfig.VERSION_CODE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment