Closed myinnos closed 7 years ago
So programmatically
we cannot change label
?
Sorry,we can't change label via programmatically
.
We can set label info in build.gradle
(app module)
badge {
/* The label you want to show*/
// label = "${project.android.defaultConfig.versionCode}" // version code
// label = "${project.android.defaultConfig.versionName}" // version name
// label = "Debug"
label = "Dev"
}
OK!
Thank you!
The icon can not be changed via programmatically while the app is running. The icon with label is generated when the APK (debug version) is generated Sorry for my poor English.