1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +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.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<!-- Fix camera issue --> <queries>
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> <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 <!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method. calls FlutterMain.startInitialization(this); in its onCreate method.
@ -28,6 +35,8 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
tools:ignore="GoogleAppIndexingWarning"> tools:ignore="GoogleAppIndexingWarning">
<meta-data <meta-data
android:name="flutterEmbedding" android:name="flutterEmbedding"
android:value="2" /> android:value="2" />

View File

@ -31,7 +31,7 @@ dependencies:
sqflite: ^1.3.0 sqflite: ^1.3.0
# Image picker is used whenever the user wants to send an image # 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 # The HTTP client is used to make requests on the Comunic API
dio: ^3.0.9 dio: ^3.0.9