Added Android Permissions
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user