Skip to content

Commit

Permalink
chore(android): Update new architecture config (react-native-webview#…
Browse files Browse the repository at this point in the history
…3047)

* Update podspec

* Remove `react` block from `build.gradle`

---------

Co-authored-by: Thibault Malbranche <thibault@brigad.co>
  • Loading branch information
j-piasecki and Titozzz authored Jan 2, 2024
1 parent 5662f57 commit 6960a19
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,3 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:${safeExtGet('kotlinVersion')}"
implementation "androidx.webkit:webkit:${safeExtGet('webkitVersion')}"
}

if (isNewArchitectureEnabled()) {
react {
jsRootDir = file("../src/")
libraryName = "rncwebview"
codegenJavaPackageName = "com.reactnativecommunity.webview"
codegenDir = new File(codegenPath)
reactNativeDir = new File(reactNativePath)
}
}

0 comments on commit 6960a19

Please sign in to comment.