App info
The application information refers to the details of the application in which KInfo is currently used
appName
The name of the application
Original source
The application name is retrieved from PackageInfo.applicationInfo property
KInfo's source
packageName
The package name of the application
Original source
The package name of the application is retrieved from Context.packageName property
KInfo's source
val packageName: String = androidInfo.packageName
println(packageName) // e.g. com.tecknobit.kinfodemo
versionName
The version name of the application
Original source
The version name of the application is retrieved from PackageInfo.versionName property
KInfo's source
versionCode
The version code of the application
Original source
The version code of the application is retrieved from PackageInfoCompat.getLongVersionCode(packageInfo) property
KInfo's source
isDebug
Indicates whether the application is the debug build
Original source
isDebug value is retrieved from BuildConfig.DEBUG property