From 7e715a5cd672c517cf22da9e50c87fb16f29019b Mon Sep 17 00:00:00 2001 From: Filipe Brito Date: Thu, 26 Sep 2019 18:20:13 -0300 Subject: [PATCH] Adds experimental and play app icons and names. --- android/app/build.gradle | 8 ++++++++ android/app/src/debug/res/values/strings.xml | 4 ---- android/app/src/main/AndroidManifest.xml | 8 +++++--- .../mipmap-hdpi/ic_launcher_experimental.png} | Bin .../mipmap-mdpi/ic_launcher_experimental.png} | Bin .../mipmap-xhdpi/ic_launcher_experimental.png} | Bin .../mipmap-xxhdpi/ic_launcher_experimental.png} | Bin .../mipmap-xxxhdpi/ic_launcher_experimental.png} | Bin android/app/src/main/res/values/strings.xml | 2 +- .../res/mipmap-ldpi/ic_launcher.png | Bin 1816 -> 0 bytes .../src/playExperimental/res/values/strings.xml | 4 ---- 11 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 android/app/src/debug/res/values/strings.xml rename android/app/src/{playExperimental/res/mipmap-hdpi/ic_launcher.png => main/res/mipmap-hdpi/ic_launcher_experimental.png} (100%) rename android/app/src/{playExperimental/res/mipmap-mdpi/ic_launcher.png => main/res/mipmap-mdpi/ic_launcher_experimental.png} (100%) rename android/app/src/{playExperimental/res/mipmap-xhdpi/ic_launcher.png => main/res/mipmap-xhdpi/ic_launcher_experimental.png} (100%) rename android/app/src/{playExperimental/res/mipmap-xxhdpi/ic_launcher.png => main/res/mipmap-xxhdpi/ic_launcher_experimental.png} (100%) rename android/app/src/{playExperimental/res/mipmap-xxxhdpi/ic_launcher.png => main/res/mipmap-xxxhdpi/ic_launcher_experimental.png} (100%) delete mode 100644 android/app/src/playExperimental/res/mipmap-ldpi/ic_launcher.png delete mode 100644 android/app/src/playExperimental/res/values/strings.xml diff --git a/android/app/build.gradle b/android/app/build.gradle index 4efdf989b..253f8fffb 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -173,11 +173,19 @@ android { productFlavors { play { dimension "store" + manifestPlaceholders = [ + appIcon: "@mipmap/ic_launcher", + appName: "@string/app_name" + ] } playExperimental { dimension "store" applicationId "chat.rocket.reactnative" + manifestPlaceholders = [ + appIcon: "@mipmap/ic_launcher_experimental", + appName: "@string/app_name_experimental" + ] } } diff --git a/android/app/src/debug/res/values/strings.xml b/android/app/src/debug/res/values/strings.xml deleted file mode 100644 index a059145c6..000000000 --- a/android/app/src/debug/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - Rocket.Chat - Development - Rocket.Chat - Development - diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 84ca5a620..83afe4572 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,13 +1,15 @@ + android:icon="${appIcon}" + android:label="${appName}" + android:theme="@style/AppTheme" + tools:replace="android:label"> Rocket.Chat + Rocket.Chat Experimental Rocket.Chat - No Browser Found diff --git a/android/app/src/playExperimental/res/mipmap-ldpi/ic_launcher.png b/android/app/src/playExperimental/res/mipmap-ldpi/ic_launcher.png deleted file mode 100644 index 2fc62c96bb389ecfdefab860ba63d1861f8f298c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1816 zcmV+z2j}>SP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006 zVoOIv0RI600RN!9r;`8x00(qQO+^Rd2?h=*0tW8S2mk;E97#k$R9M69m&=}+bYzW4ikogr=aD;lY1o}Ur|4azF3F+P+h=63bd%QF3F)Gvz7=cO&1_}^cZ#);kb_DIj zW7c`HkBLx+kpg`=xHv8>Z!2*M#z0`8l!Iy!w%ZU{XvE;0e`i<4{X;&Zl07lB6T!?H z3=|h(s28I5-cS&SDv3u*v^s=&4hxZ>khWdo@3cUKf;hlSq zwT2$4R(MnyQibidQYk=UAq?P^Glr{EhL@ibhWa2hyJe!Yh=`ynv{SgZp>Tbw8U9hDhmztms#+8h=i}nrR|3BIqM=;yim7V1w!7)JyD$(K zK^5+-D!+c$^7gDU+y`fd4cBKZJ8^HY9~wjX0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