diff --git a/CHANGELOG.md b/CHANGELOG.md index 6aded0520..aff271948 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). - https://github.com/Shopify/flash-list/pull/1076 - Fix stale reference to onScroll and onLoad - https://github.com/Shopify/flash-list/pull/1112 +- Fix Android RN 0.73 namespace requirement + - https://github.com/Shopify/flash-list/pull/1216 - New architecture support - https://github.com/Shopify/flash-list/pull/550 - Upgrade recyclerlistview to v4.2.1 diff --git a/android/build.gradle b/android/build.gradle index 32f308988..0585d2ad6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -38,6 +38,11 @@ android { compileSdkVersion _compileSdkVersion buildToolsVersion _buildToolsVersion + // Conditional for compatibility with AGP <4.2. + if (project.android.hasProperty("namespace")) { + namespace = "com.shopify.reactnative.flash_list" + } + compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8