From 7ab48b4399733603d1c957f59f2ba9fc1e7f1890 Mon Sep 17 00:00:00 2001 From: Jan van Rhijn Date: Thu, 4 Jan 2024 10:50:15 +0100 Subject: [PATCH] Update environment-specific-configurations.md Add additional information to add tools:replace="android:label" in order to change the displayname from a flavor --- .../guides/environment-specific-configurations.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/versioned_docs/version-v5/main/guides/environment-specific-configurations.md b/versioned_docs/version-v5/main/guides/environment-specific-configurations.md index 20dad2279..d141b9e87 100644 --- a/versioned_docs/version-v5/main/guides/environment-specific-configurations.md +++ b/versioned_docs/version-v5/main/guides/environment-specific-configurations.md @@ -138,16 +138,20 @@ You can find additional information on Android product flavors [at this link](ht ### Update the Android manifest -In the last section, you created a placeholder, `displayName`. Open `AndroidManifest.xml` and change the value of `android:label` to `${displayName}` within the `application` and `activity` nodes. +In the last section, you created a placeholder, `displayName`. Open `AndroidManifest.xml` and change the value of `android:label` to `${displayName}` within the `application` and `activity` nodes. Also add `tools:replace="android:label"` to the application block. ```xml - + - + + ``` ### Add Android-specific Capacitor configuration