From c0daffa0143b4a0c762f3ce3605f1ace0c418575 Mon Sep 17 00:00:00 2001 From: Sergio De la torre Date: Fri, 10 Mar 2023 11:00:48 +0100 Subject: [PATCH] Version white-label experimentalPlayRelease refs #4994 ( icono, nombre, package, color, push Google) --- android/app/google-services.json | 39 ++++++++ android/app/src/debug/res/values/strings.xml | 4 + .../drawable-v24/ic_launcher_background.xml | 4 +- .../res/drawable/ic_launcher_foreground.xml | 90 ------------------- .../src/experimental/res/values/colors.xml | 4 +- .../src/experimental/res/values/strings.xml | 4 +- .../drawable-anydpi-v24/ic_notification.xml | 2 +- android/gradle.properties | 12 ++- 8 files changed, 55 insertions(+), 104 deletions(-) create mode 100644 android/app/google-services.json create mode 100644 android/app/src/debug/res/values/strings.xml diff --git a/android/app/google-services.json b/android/app/google-services.json new file mode 100644 index 000000000..2603305c5 --- /dev/null +++ b/android/app/google-services.json @@ -0,0 +1,39 @@ +{ + "project_info": { + "project_number": "951942932165", + "project_id": "verdnatura-chat", + "storage_bucket": "verdnatura-chat.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:951942932165:android:154dad517e5dfa466cb2ac", + "android_client_info": { + "package_name": "verdnaturachat.rocket.reactnative" + } + }, + "oauth_client": [ + { + "client_id": "951942932165-et4kjaup5r5pl4bmn4sq4g4sd4ndo85c.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDDDhDArVvgRsXF-sGky-H1joBr5aGIcm8" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "951942932165-et4kjaup5r5pl4bmn4sq4g4sd4ndo85c.apps.googleusercontent.com", + "client_type": 3 + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/android/app/src/debug/res/values/strings.xml b/android/app/src/debug/res/values/strings.xml new file mode 100644 index 000000000..13ba661f0 --- /dev/null +++ b/android/app/src/debug/res/values/strings.xml @@ -0,0 +1,4 @@ + + Verdnatura + Verdnatura + diff --git a/android/app/src/experimental/res/drawable-v24/ic_launcher_background.xml b/android/app/src/experimental/res/drawable-v24/ic_launcher_background.xml index 9e9d5fe99..c274263ec 100644 --- a/android/app/src/experimental/res/drawable-v24/ic_launcher_background.xml +++ b/android/app/src/experimental/res/drawable-v24/ic_launcher_background.xml @@ -15,8 +15,8 @@ android:endY="512" android:endX="256" android:type="linear"> - - + + diff --git a/android/app/src/experimental/res/drawable/ic_launcher_foreground.xml b/android/app/src/experimental/res/drawable/ic_launcher_foreground.xml index a2b8f09ba..8da16ed3b 100644 --- a/android/app/src/experimental/res/drawable/ic_launcher_foreground.xml +++ b/android/app/src/experimental/res/drawable/ic_launcher_foreground.xml @@ -19,96 +19,6 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/android/app/src/experimental/res/values/colors.xml b/android/app/src/experimental/res/values/colors.xml index cdcd7c53a..f46445a96 100644 --- a/android/app/src/experimental/res/values/colors.xml +++ b/android/app/src/experimental/res/values/colors.xml @@ -1,6 +1,6 @@ #660B0B0B - #1D74F5 - #1D74F5 + #A3D131 + #A3D131 \ No newline at end of file diff --git a/android/app/src/experimental/res/values/strings.xml b/android/app/src/experimental/res/values/strings.xml index e8e7ca8c1..044eab2c8 100644 --- a/android/app/src/experimental/res/values/strings.xml +++ b/android/app/src/experimental/res/values/strings.xml @@ -1,4 +1,4 @@ - Rocket.Chat Experimental - Rocket.Chat Experimental + Verdnatura Chat + Verdnatura Chat diff --git a/android/app/src/main/res/drawable-anydpi-v24/ic_notification.xml b/android/app/src/main/res/drawable-anydpi-v24/ic_notification.xml index a04cafb8d..01665d1f6 100644 --- a/android/app/src/main/res/drawable-anydpi-v24/ic_notification.xml +++ b/android/app/src/main/res/drawable-anydpi-v24/ic_notification.xml @@ -3,7 +3,7 @@ android:height="24dp" android:viewportWidth="336.88116" android:viewportHeight="336.88116" - android:tint="#FFFFFF"> + android:tint="#A3D131"> diff --git a/android/gradle.properties b/android/gradle.properties index 64de8a18c..6ce7530ff 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -38,10 +38,8 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 newArchEnabled=false # Application ID -APPLICATION_ID=chat.rocket.reactnative -VERSIONCODE=1 -BugsnagAPIKey="" -KEYSTORE=my-upload-key.keystore -KEY_ALIAS=my-key-alias -KEYSTORE_PASSWORD= -KEY_PASSWORD= \ No newline at end of file +APPLICATION_ID=verdnaturachat.rocket.reactnative + +# App properties +VERSIONCODE=25 +BugsnagAPIKey="12fdd00b9a1fc0e754578fdf7d19eb6c" \ No newline at end of file