1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-25 20:38:50 +00:00

Remove intrusive permission

This commit is contained in:
Pierre HUBERT 2021-03-12 21:39:24 +01:00
parent ece9164d93
commit f3626f233f
2 changed files with 12 additions and 3 deletions

View File

@ -14,8 +14,15 @@
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<!-- Fix camera issue -->
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<queries>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<action android:name="android.media.action.VIDEO_CAPTURE" />
</intent>
</queries>
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
@ -28,6 +35,8 @@
android:roundIcon="@mipmap/ic_launcher_round"
tools:ignore="GoogleAppIndexingWarning">
<meta-data
android:name="flutterEmbedding"
android:value="2" />

View File

@ -31,7 +31,7 @@ dependencies:
sqflite: ^1.3.0
# Image picker is used whenever the user wants to send an image
image_picker: ^0.6.3+4
image_picker: ^0.6.7+22
# The HTTP client is used to make requests on the Comunic API
dio: ^3.0.9