diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bf735b4..48655ec 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:usesCleartextTraffic="true" + android:networkSecurityConfig="@xml/network_security_config" android:theme="@style/Theme.ShapPlanner"> Unit, onBack: (() -> Unit)? TextField( value = serverUrl, onValueChange = { serverUrl = it }, - label = { Text("Server-URL") } + label = { Text("Server-Domain") } ) Spacer(modifier = Modifier.height(8.dp)) diff --git a/app/src/main/res/xml/network_security_config.xml b/app/src/main/res/xml/network_security_config.xml new file mode 100644 index 0000000..611b0ca --- /dev/null +++ b/app/src/main/res/xml/network_security_config.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file