fix: remove portrait lock

bump deps

Closes #259
Closes #227
Closes #226
Closes #219
Closes #218
This commit is contained in:
Zane Schepke 2024-07-27 02:20:01 -04:00
parent c6c8047982
commit 7a2d96fcd7
6 changed files with 15 additions and 17 deletions

View File

@ -6,11 +6,13 @@ plugins {
alias(libs.plugins.hilt.android)
alias(libs.plugins.kotlinxSerialization)
alias(libs.plugins.ksp)
alias(libs.plugins.compose.compiler)
}
android {
namespace = Constants.APP_ID
compileSdk = Constants.TARGET_SDK
compileSdkPreview = "VanillaIceCream"
androidResources {
generateLocaleConfig = true
@ -124,7 +126,6 @@ android {
compose = true
buildConfig = true
}
composeOptions { kotlinCompilerExtensionVersion = Constants.COMPOSE_COMPILER_EXTENSION_VERSION }
packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } }
}

View File

@ -80,7 +80,6 @@
<activity
android:name=".ui.MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:theme="@style/Theme.WireguardAutoTunnel">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />

View File

@ -102,7 +102,6 @@ fun SettingsScreen(
val scope = rememberCoroutineScope()
val scrollState = rememberScrollState()
val interactionSource = remember { MutableInteractionSource() }
//val pinExists = remember { mutableStateOf(PinManager.pinExists()) }
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
val kernelSupport by viewModel.kernelSupport.collectAsStateWithLifecycle()

View File

@ -5,4 +5,5 @@ plugins {
alias(libs.plugins.kotlinxSerialization) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.androidLibrary) apply false
alias(libs.plugins.compose.compiler) apply false
}

View File

@ -6,8 +6,6 @@ object Constants {
const val MIN_SDK = 26
const val APP_ID = "com.zaneschepke.wireguardautotunnel"
const val APP_NAME = "wgtunnel"
const val COMPOSE_COMPILER_EXTENSION_VERSION = "1.5.14"
const val STORE_PASS_VAR = "SIGNING_STORE_PASSWORD"
const val KEY_ALIAS_VAR = "SIGNING_KEY_ALIAS"

View File

@ -1,20 +1,20 @@
[versions]
accompanist = "0.34.0"
activityCompose = "1.9.0"
activityCompose = "1.9.1"
amneziawgAndroid = "1.2.0"
androidx-junit = "1.1.5"
androidx-junit = "1.2.1"
appcompat = "1.7.0"
biometricKtx = "1.2.0-alpha05"
biometricKtx = "1.4.0-alpha01"
coreGoogleShortcuts = "1.1.0"
coreKtx = "1.13.1"
datastorePreferences = "1.1.1"
desugar_jdk_libs = "2.0.4"
espressoCore = "3.5.1"
espressoCore = "3.6.1"
hiltAndroid = "2.51.1"
hiltNavigationCompose = "1.2.0"
junit = "4.13.2"
kotlinx-serialization-json = "1.6.3"
lifecycle-runtime-compose = "2.7.0"
kotlinx-serialization-json = "1.7.1"
lifecycle-runtime-compose = "2.8.4"
material3 = "1.2.1"
multifabVersion = "1.1.0"
navigationCompose = "2.7.7"
@ -22,16 +22,15 @@ pinLockCompose = "1.0.3"
roomVersion = "2.6.1"
timber = "5.0.1"
tunnel = "1.0.20230706"
androidGradlePlugin = "8.5.0"
kotlin = "1.9.24"
ksp = "1.9.24-1.0.20"
androidGradlePlugin = "8.5.1"
kotlin = "2.0.0"
ksp = "2.0.0-1.0.23"
composeBom = "2024.06.00"
compose = "1.6.8"
zxingAndroidEmbedded = "4.3.0"
coreSplashscreen = "1.0.1"
#plugins
gradlePlugins-kotlinxSerialization = "1.9.24"
material = "1.12.0"
@ -98,5 +97,6 @@ android-application = { id = "com.android.application", version.ref = "androidGr
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hiltAndroid" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
kotlinxSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "gradlePlugins-kotlinxSerialization" }
androidLibrary = { id = "com.android.library", version.ref = "androidGradlePlugin" }
kotlinxSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
androidLibrary = { id = "com.android.library", version.ref = "androidGradlePlugin" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }