Added Android Permissions
Build Android Apk / android (release) Successful in 11m5s
Build Linux Application / linux (release) Successful in 4m57s
Publish Docker Image / docker (release) Successful in 13m50s

This commit is contained in:
2026-09-07 15:23:52 +02:00
parent e8598a2e43
commit df7bb5e181
2 changed files with 18 additions and 1 deletions
@@ -1,8 +1,20 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Only `src/debug` and `src/profile` carry this permission by default,
because the flutter tool needs it for hot reload. A release build
merges this manifest alone, so without the line here every request of
the release apk fails with "Operation not permitted" (EPERM) - the app
is not allowed to open a socket at all. -->
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="ac_web"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/ic_launcher"
android:usesCleartextTraffic="true">
<!-- The api is reached over plain http inside a trusted network (see
`AcApi.configure` in `lib/main.dart`), and android blocks cleartext
traffic by default since api 28. Drop this attribute as soon as the
backend is served over https. -->
<activity
android:name=".MainActivity"
android:exported="true"