· 5 years ago · Aug 09, 2020, 04:04 PM
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.flt">
4
5 <!--
6 The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
7 Google Maps Android API v2, but you must specify either coarse or fine
8 location permissions for the 'MyLocation' functionality.
9 -->
10 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
11
12 <!--
13 The INTERNET permission is required for development. Specifically,
14 flutter needs it to communicate with the running application
15 to allow setting breakpoints, to provide hot reload, etc.
16 -->
17 <uses-permission android:name="android.permission.INTERNET" />
18
19 <application
20 android:name="io.flutter.app.FlutterApplication"
21 android:icon="@mipmap/ic_launcher"
22 android:label="PBr">
23
24 <activity
25 android:name=".MainActivity"
26 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
27 android:hardwareAccelerated="true"
28 android:exported="true"
29 android:launchMode="singleTop"
30 android:theme="@style/LaunchTheme"
31 android:windowSoftInputMode="adjustResize">
32
33 <!--
34 This keeps the window background of the activity showing
35 until Flutter renders its first frame. It can be removed if
36 there is no splash screen (such as the default splash screen
37 defined in @style/LaunchTheme).
38 -->
39 <meta-data
40 android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
41 android:value="true" />
42
43 <intent-filter>
44 <action android:name="android.intent.action.MAIN" />
45
46 <category android:name="android.intent.category.LAUNCHER" />
47 </intent-filter>
48 </activity>
49
50
51 <!--
52 The API key for Google Maps-based APIs is defined as a string resource.
53 (See the file "res/values/google_maps_api.xml").
54 Note that the API key is linked to the encryption key used to sign the APK.
55 You need a different API key for each encryption key, including the release key that is used to
56 sign the APK for publishing.
57 You can define the keys for the debug and release targets in src/debug/ and src/release/.
58 -->
59 <meta-data
60 android:name="com.google.android.geo.API_KEY"
61 android:value="@string/google_maps_key" />
62
63 <uses-library android:name="org.apache.http.legacy" android:required="false" />
64
65 <activity
66 android:name=".MapsActivity"
67 android:exported="true"
68 android:theme="@style/AppTheme"
69 android:label="@string/title_activity_maps">
70
71 <intent-filter>
72 <action android:name="android.intent.action.VIEW" />
73 </intent-filter>
74 </activity>
75
76 <activity android:name=".FlutterAppCompactActivity"
77 android:theme="@style/AppTheme"/>
78 </application>
79
80</manifest>