Use manifestPlaceholders for app icon

This commit is contained in:
Attila Uygun 2023-09-06 20:15:00 +02:00
parent d61b2c45d6
commit 915b896636
3 changed files with 6 additions and 3 deletions

View File

@ -29,7 +29,7 @@ android {
applicationId 'com.kaliber.helloworld'
resValue "string", "provider_name", "${applicationId}.fileprovider"
resValue "string", "app_name", "Kaliber Hello World"
resValue "string", "interstitial_ad_unit_id", ""
manifestPlaceholders = [appIcon: "@mipmap/ic_launcher"]
ext {
gnTarget = "hello_world"
}
@ -39,7 +39,7 @@ android {
applicationId 'com.kaliber.woom'
resValue "string", "provider_name", "${applicationId}.fileprovider"
resValue "string", "app_name", "Kaliber Demo"
resValue "string", "interstitial_ad_unit_id", ""
manifestPlaceholders = [appIcon: "@mipmap/ic_launcher"]
ext {
gnTarget = "demo"
}
@ -50,6 +50,7 @@ android {
resValue "string", "provider_name", "${applicationId}.fileprovider"
resValue "string", "app_name", "woom"
resValue "string", "interstitial_ad_unit_id", "ca-app-pub-1321063817979967/8373182022"
manifestPlaceholders = [appIcon: "@mipmap/ic_launcher"]
ext {
gnTarget = "demo"
}

View File

@ -6,7 +6,7 @@
<application
android:allowBackup="false"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher"
android:icon="${appIcon}"
android:label="@string/app_name">
<activity

View File

@ -1,3 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Kaliber app</string>
<string name="interstitial_ad_unit_id"></string>
</resources>