forked from owntracks/android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
190 lines (169 loc) · 8.28 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.owntracks.android"
android:versionCode="0517"
android:versionName="0.5.17" >
<meta-data
android:name="com.crashlytics.ApiKey"
android:value="d0b0c708e43f69036ebedad1766ad086074d30f6" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" /> <!-- To access the network -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- To handle connectivity changes and reconnect -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <!-- For Google Maps caching -->
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <!-- To access Google Play Services -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <!-- To locate the device -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <!-- To locate the device -->
<uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- To prevent the device from sleeping while handling MQTT traffic -->
<uses-permission android:name="android.permission.READ_CONTACTS" /> <!-- To read linked contacts (Custom IM type Owntracks with IM name set to the topic) -->
<uses-permission android:name="android.permission.WRITE_CONTACTS" /> <!-- To save contact links -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <!-- To autostart the app once the device boots -->
<uses-permission android:name="android.permission.BLUETOOTH" /> <!-- For BLE beacon detection -->
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <!-- For BLE beacon detection -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> <!-- For BLE beacon detection -->
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="18" /> <!-- For config import/export -->
<uses-permission android:name="android.permission.VIBRATE" /> <!-- For notifications -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- To trigger waypoints when entering a WIFI network -->
<application
android:name=".App"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Owntracks" >
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="@string/GOOGLE_MAPS_API_KEY" />
<meta-data
android:name="com.crashlytics.ApiKey"
android:value="d0b0c708e43f69036ebedad1766ad086074d30f6" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name=".activities.ActivityLauncher"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name"
android:noHistory="true"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".activities.ActivityMain" >
</activity>
<activity
android:name=".activities.ActivityWaypoints"
android:label="@string/waypoints" >
</activity>
<activity
android:name=".activities.ActivityWaypoint"
android:label="Waypoint"
android:parentActivityName=".activities.ActivityWaypoints" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.ActivityWaypoints" />
</activity>
<activity
android:name=".activities.ActivityMessages"
android:label="@string/pager" >
</activity>
<activity
android:name=".activities.ActivityPreferences"
android:configChanges="orientation"
android:label="Preferences"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".activities.ActivityPreferencesConnection"
android:configChanges="orientation"
android:label="@string/preferencesServer"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".activities.ActivityExport"
android:configChanges="orientation"
android:label="@string/export" >
</activity>
<activity
android:name=".activities.ActivityImport"
android:configChanges="orientation"
android:label="@string/app_name" >
<!-- Support two dots in file name: -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\..*\\.otrc"
android:scheme="content" />
</intent-filter>
<!-- Support three dots in file name: -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:host="*"
android:mimeType="*/*"
android:pathPattern=".*\\..*\\..*\\.otrc"
android:scheme="content" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/otrc" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/octet-stream" />
</intent-filter>
</activity>
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true" >
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
<service
android:name=".services.ServiceProxy"
android:enabled="true"
android:exported="false" >
</service>
<receiver
android:name=".support.receiver.BootCompleteReceiver"
android:enabled="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver
android:name=".support.receiver.ReceiverProxy"
android:enabled="true" >
<intent-filter>
<action android:name="org.owntracks.android.RECEIVER_ACTION_RECONNECT" />
<action android:name="org.owntracks.android.RECEIVER_ACTION_PING" />
<action android:name="org.owntracks.android.RECEIVER_ACTION_GEOFENCE_TRANSITION" />
<action android:name="org.owntracks.android.RECEIVER_ACTION_PUBLISH_LASTKNOWN" />
</intent-filter>
</receiver>
<activity
android:name=".activities.ActivityStatistics"
android:label="@string/title_activity_activity_statistics" >
</activity>
</application>
</manifest>