From 553269d49644da071ec8cb3d30407cad052e7f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20K=C3=BCntzler?= Date: Mon, 9 Sep 2024 22:49:42 +0200 Subject: [PATCH] fixed building issues on new rn architecture --- android/build.gradle | 2 +- android/src/main/AndroidManifest.xml | 5 +---- example/android/build.gradle | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 7247a6d..a245b41 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -142,7 +142,7 @@ dependencies { if (isNewArchitectureEnabled()) { react { - jsRootDir = file("../src/") + jsRootDir = file("../lib/commonjs") libraryName = "Passkey" codegenJavaPackageName = "com.reactnativepasskey" } diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 5382e90..94cbbcf 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,4 +1 @@ - - - + diff --git a/example/android/build.gradle b/example/android/build.gradle index c19ff39..0ec8f94 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "34.0.0" - minSdkVersion = 21 + minSdkVersion = 24 compileSdkVersion = 34 targetSdkVersion = 34