The best solution for unity it's add at the end of file(build.gradle) lines like this
android.defaultConfig.manifestPlaceholders["applicationLabel"] = "FlavorA"
It's safe for multiple IPostGenerateGradleAndroidProject in project, will not collisions.