From e1d88c2eee75ed28a33cc9e3354fc5af7ab1549a Mon Sep 17 00:00:00 2001 From: Chris F <5827964+cshfang@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:18:35 -0700 Subject: [PATCH] fix(react-native): Update namespaces to be unique (#12510) --- packages/react-native/android/build.gradle | 2 +- packages/rtn-push-notification/android/build.gradle | 2 +- packages/rtn-web-browser/android/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-native/android/build.gradle b/packages/react-native/android/build.gradle index efe69cffd7f..8e4ee3a1e4e 100644 --- a/packages/react-native/android/build.gradle +++ b/packages/react-native/android/build.gradle @@ -43,7 +43,7 @@ def getExtOrIntegerDefault(name) { android { if (agpVersion >= 7) { - namespace 'com.amazonaws.amplify' + namespace 'com.amazonaws.amplify.rtncore' } compileSdkVersion getExtOrIntegerDefault("compileSdkVersion") diff --git a/packages/rtn-push-notification/android/build.gradle b/packages/rtn-push-notification/android/build.gradle index 17f49f78059..6ff8e90f566 100644 --- a/packages/rtn-push-notification/android/build.gradle +++ b/packages/rtn-push-notification/android/build.gradle @@ -32,7 +32,7 @@ def getExtOrDefault(prop) { android { if (agpVersion >= 7) { - namespace 'com.amazonaws.amplify' + namespace 'com.amazonaws.amplify.rtnpushnotification' } compileSdkVersion getExtOrDefault('compileSdkVersion') diff --git a/packages/rtn-web-browser/android/build.gradle b/packages/rtn-web-browser/android/build.gradle index cf8d6a1606a..1de0265efd5 100644 --- a/packages/rtn-web-browser/android/build.gradle +++ b/packages/rtn-web-browser/android/build.gradle @@ -31,7 +31,7 @@ def getExtOrDefault(prop) { android { if (agpVersion >= 7) { - namespace 'com.amazonaws.amplify' + namespace 'com.amazonaws.amplify.rtnwebbrowser' } compileSdkVersion getExtOrDefault('compileSdkVersion')