· 4 years ago · Aug 05, 2021, 06:48 PM
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="github.earth">
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 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
12
13 <!-- Permissions -->
14 <uses-permission android:name="android.permission.INTERNET" />
15 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
16
17 <uses-feature
18 android:name="android.hardware.camera"
19 android:required="true" />
20
21 <application
22 android:name=".App"
23 android:allowBackup="true"
24 android:icon="@mipmap/ic_launcher"
25 android:label="@string/app_name"
26 android:roundIcon="@mipmap/ic_launcher_round"
27 android:supportsRtl="true"
28 android:theme="@style/Theme.Earth">
29
30 <!--
31 The API key for Google Maps-based APIs is defined as a string resource.
32 (See the file "res/values/google_maps_api.xml").
33 Note that the API key is linked to the encryption key used to sign the APK.
34 You need a different API key for each encryption key, including the release key that is used to
35 sign the APK for publishing.
36 You can define the keys for the debug and release targets in src/debug/ and src/release/.
37 -->
38 <meta-data
39 android:name="com.google.android.geo.API_KEY"
40 android:value="${MAPS_API_KEY}" />
41
42 <service
43 android:name=".services.ReminderService"
44 android:enabled="true"
45 android:exported="true"></service>
46
47 <activity android:name=".ErrorActivity" />
48 <activity android:name=".authscreen.LoginActivity" />
49 <activity android:name=".authscreen.RegisterActivity" />
50 <activity android:name=".authscreen.ResetActivity" /> <!-- Activities -->
51 <activity
52 android:name=".SplashScreen"
53 android:theme="@style/AppSplashTheme">
54 <intent-filter>
55 <action android:name="android.intent.action.MAIN" />
56
57 <category android:name="android.intent.category.LAUNCHER" />
58 </intent-filter>
59 </activity> <!-- Icons :) -->
60 <activity-alias
61 android:name=".SplashScreen.LauncherPurple"
62 android:enabled="false"
63 android:icon="@mipmap/ic_launcher_purple"
64 android:label="@string/app_name"
65 android:roundIcon="@mipmap/ic_launcher_purple_round"
66 android:targetActivity=".SplashScreen">
67 <intent-filter>
68 <action android:name="android.intent.action.MAIN" />
69
70 <category android:name="android.intent.category.LAUNCHER" />
71 </intent-filter>
72 </activity-alias>
73 <activity-alias
74 android:name=".SplashScreen.LauncherBeige"
75 android:enabled="false"
76 android:icon="@mipmap/ic_launcher_beige"
77 android:label="@string/app_name"
78 android:roundIcon="@mipmap/ic_launcher_beige_round"
79 android:targetActivity=".SplashScreen">
80 <intent-filter>
81 <action android:name="android.intent.action.MAIN" />
82
83 <category android:name="android.intent.category.LAUNCHER" />
84 </intent-filter>
85 </activity-alias>
86 <activity-alias
87 android:name=".SplashScreen.LauncherGray"
88 android:enabled="false"
89 android:icon="@mipmap/ic_launcher_gray"
90 android:label="@string/app_name"
91 android:roundIcon="@mipmap/ic_launcher_gray_round"
92 android:targetActivity=".SplashScreen">
93 <intent-filter>
94 <action android:name="android.intent.action.MAIN" />
95
96 <category android:name="android.intent.category.LAUNCHER" />
97 </intent-filter>
98 </activity-alias>
99 <activity-alias
100 android:name=".SplashScreen.LauncherPink"
101 android:enabled="false"
102 android:icon="@mipmap/ic_launcher_pink"
103 android:label="@string/app_name"
104 android:roundIcon="@mipmap/ic_launcher_pink_round"
105 android:targetActivity=".SplashScreen">
106 <intent-filter>
107 <action android:name="android.intent.action.MAIN" />
108
109 <category android:name="android.intent.category.LAUNCHER" />
110 </intent-filter>
111 </activity-alias>
112 <activity-alias
113 android:name=".SplashScreen.LauncherLightPink"
114 android:enabled="false"
115 android:icon="@mipmap/ic_launcher_light_pink"
116 android:label="@string/app_name"
117 android:roundIcon="@mipmap/ic_launcher_light_pink_round"
118 android:targetActivity=".SplashScreen">
119 <intent-filter>
120 <action android:name="android.intent.action.MAIN" />
121
122 <category android:name="android.intent.category.LAUNCHER" />
123 </intent-filter>
124 </activity-alias>
125 <activity-alias
126 android:name=".SplashScreen.LauncherRed"
127 android:enabled="false"
128 android:icon="@mipmap/ic_launcher_red"
129 android:label="@string/app_name"
130 android:roundIcon="@mipmap/ic_launcher_red_round"
131 android:targetActivity=".SplashScreen">
132 <intent-filter>
133 <action android:name="android.intent.action.MAIN" />
134
135 <category android:name="android.intent.category.LAUNCHER" />
136 </intent-filter>
137 </activity-alias>
138 <activity-alias
139 android:name=".SplashScreen.LauncherYellow"
140 android:enabled="false"
141 android:icon="@mipmap/ic_launcher_yellow"
142 android:label="@string/app_name"
143 android:roundIcon="@mipmap/ic_launcher_yellow_round"
144 android:targetActivity=".SplashScreen">
145 <intent-filter>
146 <action android:name="android.intent.action.MAIN" />
147
148 <category android:name="android.intent.category.LAUNCHER" />
149 </intent-filter>
150 </activity-alias>
151 <activity-alias
152 android:name=".SplashScreen.LauncherOrange"
153 android:enabled="false"
154 android:icon="@mipmap/ic_launcher_orange"
155 android:label="@string/app_name"
156 android:roundIcon="@mipmap/ic_launcher_orange_round"
157 android:targetActivity=".SplashScreen">
158 <intent-filter>
159 <action android:name="android.intent.action.MAIN" />
160
161 <category android:name="android.intent.category.LAUNCHER" />
162 </intent-filter>
163 </activity-alias>
164 <activity-alias
165 android:name=".SplashScreen.LauncherGreen"
166 android:enabled="false"
167 android:icon="@mipmap/ic_launcher_green"
168 android:label="@string/app_name"
169 android:roundIcon="@mipmap/ic_launcher_green_round"
170 android:targetActivity=".SplashScreen">
171 <intent-filter>
172 <action android:name="android.intent.action.MAIN" />
173
174 <category android:name="android.intent.category.LAUNCHER" />
175 </intent-filter>
176 </activity-alias>
177 <activity-alias
178 android:name=".SplashScreen.LauncherBlue"
179 android:enabled="false"
180 android:icon="@mipmap/ic_launcher_blue"
181 android:label="@string/app_name"
182 android:roundIcon="@mipmap/ic_launcher_blue_round"
183 android:targetActivity=".SplashScreen">
184 <intent-filter>
185 <action android:name="android.intent.action.MAIN" />
186
187 <category android:name="android.intent.category.LAUNCHER" />
188 </intent-filter>
189 </activity-alias>
190
191 <activity
192 android:name=".MainActivity"
193 android:theme="@style/Theme.Earth">
194 <intent-filter>
195 <category android:name="android.intent.category.DEFAULT" />
196 </intent-filter>
197 </activity>
198
199 <provider
200 android:name="androidx.core.content.FileProvider"
201 android:authorities="github.earth.fileprovider"
202 android:exported="false"
203 android:grantUriPermissions="true">
204 <meta-data
205 android:name="android.support.FILE_PROVIDER_PATHS"
206 android:resource="@xml/file_paths" />
207 </provider>
208 </application>
209
210</manifest>