You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.4KB

  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. package="vn.azteam.farmdemo">
  4. <!-- io.flutter.app.FlutterApplication is an android.app.Application that
  5. calls FlutterMain.startInitialization(this); in its onCreate method.
  6. In most cases you can leave this as-is, but you if you want to provide
  7. additional functionality it is fine to subclass or reimplement
  8. FlutterApplication and put your custom class here. -->
  9. <uses-permission android:name="android.permission.INTERNET"/>
  10. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  11. <uses-permission android:name="android.permission.CAMERA" />
  12. <application
  13. android:name=".Application"
  14. android:label="Aztrace - Nhật ký canh tác"
  15. android:icon="@mipmap/ic_launcher"
  16. android:requestLegacyExternalStorage="true">
  17. <meta-data
  18. android:name="com.google.firebase.messaging.default_notification_icon"
  19. android:resource="@mipmap/ic_stat_smartfarm" />
  20. <!-- <activity
  21. android:name="de.mintware.barcode_scan.BarcodeScannerActivity"
  22. android:exported="true"
  23. android:label="" /> -->
  24. <activity
  25. android:name=".MainActivity"
  26. android:exported="true"
  27. android:launchMode="singleTop"
  28. android:theme="@style/LaunchTheme"
  29. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  30. android:hardwareAccelerated="true"
  31. android:windowSoftInputMode="adjustResize">
  32. <!-- Specifies an Android theme to apply to this Activity as soon as
  33. the Android process has started. This theme is visible to the user
  34. while the Flutter UI initializes. After that, this theme continues
  35. to determine the Window background behind the Flutter UI. -->
  36. <meta-data
  37. android:name="io.flutter.embedding.android.NormalTheme"
  38. android:resource="@style/NormalTheme"
  39. />
  40. <!-- Displays an Android View that continues showing the launch screen
  41. Drawable until Flutter paints its first frame, then this splash
  42. screen fades out. A splash screen is useful to avoid any visual
  43. gap between the end of Android's launch screen and the painting of
  44. Flutter's first frame. -->
  45. <meta-data
  46. android:name="io.flutter.embedding.android.SplashScreenDrawable"
  47. android:resource="@drawable/launch_background"
  48. />
  49. <intent-filter>
  50. <action android:name="android.intent.action.MAIN"/>
  51. <category android:name="android.intent.category.LAUNCHER"/>
  52. </intent-filter>
  53. <intent-filter>
  54. <action android:name="FLUTTER_NOTIFICATION_CLICK" />
  55. <category android:name="android.intent.category.DEFAULT" />
  56. </intent-filter>
  57. </activity>
  58. <!-- Don't delete the meta-data below.
  59. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  60. <meta-data
  61. android:name="flutterEmbedding"
  62. android:value="2" />
  63. </application>
  64. </manifest>