From 59a24a735be2aaab6397f1248c74a27b81b348b6 Mon Sep 17 00:00:00 2001 From: Marco Jakobs Date: Thu, 12 Nov 2020 17:06:48 +0100 Subject: [PATCH] [FIX] Whitelabel unable to find package name (#2626) * Fixes #2625 * Fixes #2614 * Apply resValue on defaultConfig and undo unnecessary changes Co-authored-by: Diego Mello --- android/app/build.gradle | 2 +- app/views/UserPreferencesView/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 2ed9d8163..3239631bd 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -150,6 +150,7 @@ android { manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String] missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60" // See note below! } + resValue "string", "rn_config_reader_custom_package", "chat.rocket.reactnative" } signingConfigs { @@ -198,7 +199,6 @@ android { applicationId "chat.rocket.android" dimension = "type" buildConfigField "boolean", "FDROID_BUILD", "true" - resValue "string", "rn_config_reader_custom_package", "chat.rocket.reactnative" } play { dimension = "type" diff --git a/app/views/UserPreferencesView/index.js b/app/views/UserPreferencesView/index.js index 215b730b6..bf94d31fb 100644 --- a/app/views/UserPreferencesView/index.js +++ b/app/views/UserPreferencesView/index.js @@ -32,7 +32,7 @@ class UserPreferencesView extends React.Component { this.navigateToScreen('UserNotificationPrefView')} showActionIndicator testID='preferences-view-notifications'