diff --git a/app.config.ts b/app.config.ts index 303b8737..a49a3962 100644 --- a/app.config.ts +++ b/app.config.ts @@ -23,7 +23,12 @@ export default { [ "expo-build-properties", { - android: { compileSdkVersion: 34, targetSdkVersion: 34, packagingOptions: { pickFirst: ["**/libcrypto.so"] } }, + android: { + minSdkVersion: 28, + targetSdkVersion: 34, + compileSdkVersion: 34, + packagingOptions: { pickFirst: ["**/libcrypto.so"] }, + }, ios: { deploymentTarget: "13.4" }, } as BuildPropertiesConfig, ], diff --git a/webauthn/android/build.gradle b/webauthn/android/build.gradle index c2303cc5..c917b12a 100644 --- a/webauthn/android/build.gradle +++ b/webauthn/android/build.gradle @@ -62,7 +62,7 @@ android { namespace "expo.modules.webauthn" defaultConfig { - minSdkVersion safeExtGet("minSdkVersion", 21) + minSdkVersion safeExtGet("minSdkVersion", 28) targetSdkVersion safeExtGet("targetSdkVersion", 34) versionCode 1 versionName "0.1.0" diff --git a/webauthn/android/src/main/java/expo/modules/webauthn/ExpoWebauthn.kt b/webauthn/android/src/main/java/expo/modules/webauthn/ExpoWebauthn.kt index 16711d31..8aaeb78b 100644 --- a/webauthn/android/src/main/java/expo/modules/webauthn/ExpoWebauthn.kt +++ b/webauthn/android/src/main/java/expo/modules/webauthn/ExpoWebauthn.kt @@ -11,6 +11,7 @@ import expo.modules.kotlin.functions.Coroutine import expo.modules.kotlin.modules.Module import expo.modules.kotlin.modules.ModuleDefinition +@Suppress("unused") class ExpoWebauthn : Module() { override fun definition() = ModuleDefinition { Name("ExpoWebauthn")