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')