-
-
Notifications
You must be signed in to change notification settings - Fork 349
/
AndroidManifest.xml
116 lines (109 loc) · 5.73 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="de.westnordost.streetcomplete"
android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.WAKE_LOCK" android:maxSdkVersion="22" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.screen.portrait" />
<!-- measuring distances with ARCore -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<!-- Sceneform requires OpenGL ES 3 or later but this is actually checked at runtime and only
needed to access measuring with ARCore.
Tangram-ES on the other hand needs at least OpenGL ES 2.0, without it, the app is not
usable. -->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<queries>
<!-- open location in another app -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="geo" />
</intent>
</queries>
<application
android:name="de.westnordost.streetcomplete.StreetCompleteApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:supportsRtl="true">
<meta-data android:name="com.google.ar.core" android:value="optional" />
<activity
android:windowSoftInputMode="adjustResize"
android:name="de.westnordost.streetcomplete.screens.MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="geo" />
</intent-filter>
</activity>
<activity
android:name="de.westnordost.streetcomplete.screens.settings.SettingsActivity"
android:label="@string/action_settings"
android:parentActivityName="de.westnordost.streetcomplete.screens.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="de.westnordost.streetcomplete.screens.measure.MeasureActivity"
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity" />
<activity android:name="de.westnordost.streetcomplete.screens.FragmentContainerActivity" />
<activity android:name="de.westnordost.streetcomplete.screens.about.AboutActivity" />
<activity
android:name="de.westnordost.streetcomplete.screens.settings.debug.ShowQuestFormsActivity"
android:configChanges="orientation|screenSize|uiMode" />
<activity
android:name="de.westnordost.streetcomplete.screens.settings.debug.ShowLinksActivity"
android:configChanges="orientation|screenSize|uiMode" />
<activity
android:name="de.westnordost.streetcomplete.screens.user.UserActivity"
android:screenOrientation="portrait"
tools:ignore="LockedOrientationActivity" />
<service
android:name="de.westnordost.streetcomplete.data.download.DownloadService"
android:foregroundServiceType="dataSync" />
<service
android:name="de.westnordost.streetcomplete.data.upload.UploadService"
android:foregroundServiceType="dataSync" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="@string/fileprovider_authority"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
<!-- Disable the Andriod WorkManager in favour of the org.koin.androidx.workmanager.koin.workManagerFactory -->
<!-- As per the Koin Work Manager instructions https://insert-koin.io/docs/reference/koin-android/workmanager -->
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
android:exported="false"
tools:node="merge">
<!-- If you are using androidx.startup to initialize other components -->
<meta-data
android:name="androidx.work.WorkManagerInitializer"
android:value="androidx.startup"
tools:node="remove" />
</provider>
</application>
</manifest>