Skip to content

Commit

Permalink
fix: new arch support
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 8, 2024
1 parent 7a1c080 commit 5c313f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ def isNewArchitectureEnabled() {
apply plugin: "com.android.library"
apply plugin: "kotlin-android"

if (isNewArchitectureEnabled()) {
apply plugin: "com.facebook.react"
}
// TODO: Currently breaks new arch support, but works without
// if (isNewArchitectureEnabled()) {
// apply plugin: "com.facebook.react"
// }

def getExtOrDefault(name) {
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["MapLibreReactNative_" + name]
Expand Down

0 comments on commit 5c313f1

Please sign in to comment.