11<manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
2- < application
3- android : label = " farmerapp "
4- android : name =" ${applicationName} "
5- android : icon = " @mipmap/ic_launcher " >
6- < activity
7- android : name =" .MainActivity "
8- android : exported = " true "
9- android : launchMode = " singleTop "
10- android : theme = " @style/LaunchTheme "
11- android : configChanges = " orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode "
12- android : hardwareAccelerated = " true "
13- android : windowSoftInputMode =" adjustResize" >
14- <!-- Specifies an Android theme to apply to this Activity as soon as
2+ < uses-permission android : name = " android.permission.READ_EXTERNAL_STORAGE " />
3+ < uses-permission android : name = " android.permission.WRITE_EXTERNAL_STORAGE " />
4+ < uses-permission android : name =" android.permission.NEARBY_WIFI_DEVICES " />
5+ < uses-permission android : name = " android.permission.ACCESS_FINE_LOCATION " / >
6+ < uses-permission android : name = " android.permission.ACCESS_COARSE_LOCATION " />
7+ < uses-permission android : name =" android.permission.ACCESS_WIFI_STATE " />
8+ < uses-permission android : name = " android.permission.CHANGE_WIFI_STATE " />
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.CHANGE_NETWORK_STATE " />
12+ < application android : label = " farmerapp " android : name = " ${applicationName} " android : icon = " @mipmap/ic_launcher " >
13+ < activity android : name = " .MainActivity " android : exported = " true " android : launchMode = " singleTop " android : theme = " @style/LaunchTheme " android : configChanges = " orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode " android : hardwareAccelerated = " true " android : windowSoftInputMode =" adjustResize" >
14+ <!-- Specifies an Android theme to apply to this Activity as soon as
1515 the Android process has started. This theme is visible to the user
1616 while the Flutter UI initializes. After that, this theme continues
1717 to determine the Window background behind the Flutter UI. -->
18- <meta-data
19- android : name =" io.flutter.embedding.android.NormalTheme"
20- android : resource =" @style/NormalTheme"
21- />
22- <intent-filter >
23- <action android : name =" android.intent.action.MAIN" />
24- <category android : name =" android.intent.category.LAUNCHER" />
25- </intent-filter >
26- </activity >
27- <!-- Don't delete the meta-data below.
18+ <meta-data android : name =" io.flutter.embedding.android.NormalTheme" android : resource =" @style/NormalTheme" />
19+ <intent-filter >
20+ <action android : name =" android.intent.action.MAIN" />
21+ <category android : name =" android.intent.category.LAUNCHER" />
22+ </intent-filter >
23+ </activity >
24+ <!-- Don't delete the meta-data below.
2825 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
29- <meta-data
30- android : name =" flutterEmbedding"
31- android : value =" 2" />
32- </application >
33- <!-- Required to query activities that can process text, see:
26+ <meta-data android : name =" flutterEmbedding" android : value =" 2" />
27+ </application >
28+ <uses-permission android : name =" android.permission.INTERNET" />
29+ <!-- Required to query activities that can process text, see:
3430 https://developer.android.com/training/package-visibility?hl=en and
3531 https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
36-
3732 In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
38- <queries >
39- <intent >
40- <action android : name =" android.intent.action.PROCESS_TEXT" />
41- <data android : mimeType =" text/plain" />
42- </intent >
43- </queries >
44- </manifest >
33+ <queries >
34+ <!-- If your app opens https URLs -->
35+ <intent >
36+ <action android : name =" android.intent.action.VIEW" />
37+ <data android : scheme =" https" />
38+ </intent >
39+ <!-- If your app makes calls -->
40+ <intent >
41+ <action android : name =" android.intent.action.DIAL" />
42+ <data android : scheme =" tel" />
43+ </intent >
44+ <!-- If your sends SMS messages -->
45+ <intent >
46+ <action android : name =" android.intent.action.SENDTO" />
47+ <data android : scheme =" smsto" />
48+ </intent >
49+ <!-- If your app sends emails -->
50+ <intent >
51+ <action android : name =" android.intent.action.SEND" />
52+ <data android : mimeType =" */*" />
53+ </intent >
54+ </queries >
55+ </manifest >
0 commit comments