AndroidManifest.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="xyz.ignatz.prime_chat">
  3. <application
  4. android:label="prime_chat"
  5. android:name="${applicationName}"
  6. android:icon="@mipmap/ic_launcher">
  7. <activity
  8. android:name=".MainActivity"
  9. android:exported="true"
  10. android:launchMode="singleTop"
  11. android:theme="@style/LaunchTheme"
  12. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  13. android:hardwareAccelerated="true"
  14. android:windowSoftInputMode="adjustResize">
  15. <!-- Specifies an Android theme to apply to this Activity as soon as
  16. the Android process has started. This theme is visible to the user
  17. while the Flutter UI initializes. After that, this theme continues
  18. to determine the Window background behind the Flutter UI. -->
  19. <meta-data
  20. android:name="io.flutter.embedding.android.NormalTheme"
  21. android:resource="@style/NormalTheme"
  22. />
  23. <intent-filter>
  24. <action android:name="android.intent.action.MAIN"/>
  25. <category android:name="android.intent.category.LAUNCHER"/>
  26. </intent-filter>
  27. </activity>
  28. <!-- <activity android:name="com.android.camera.CropImage"/>-->
  29. <activity
  30. android:name="com.yalantis.ucrop.UCropActivity"
  31. android:screenOrientation="portrait"
  32. android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
  33. <!-- Don't delete the meta-data below.
  34. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  35. <meta-data
  36. android:name="flutterEmbedding"
  37. android:value="2" />
  38. </application>
  39. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  40. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  41. <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
  42. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  43. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  44. <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
  45. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  46. <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION"/>
  47. <!-- Remove READ_MEDIA_IMAGES if you don't need to load photos. -->
  48. <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
  49. <!-- Remove READ_MEDIA_VIDEO if you don't need to load videos. -->
  50. <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
  51. <!-- Remove READ_MEDIA_AUDIO if you don't need to load audios. -->
  52. <uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>
  53. </manifest>