forked from eleybourn/Book-Catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
executable file
·284 lines (262 loc) · 12.8 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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<?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="com.eleybourn.bookcatalogue"
android:installLocation="auto"
android:versionCode="207"
android:versionName="6.0.7">
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!-- We use android:requestLegacyExternalStorage="true" for Android 10/SDK29 (so WRITE_EXTERNAL_STORAGE works) -->
<application
android:name=".BookCatalogueApp"
android:icon="@drawable/ic_launcher4"
android:label="@string/app_name"
android:logo="@drawable/ic_launcher4"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme">
<!-- Fixed orientation so camera does not mess up -->
<activity
android:name=".scanner.ScannerActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="false"
android:label="@string/title_activity_scanner"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.Fullscreen"
tools:ignore="LockedOrientationActivity" />
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
<provider
android:name=".SearchSuggestionProvider"
android:authorities="com.eleybourn.bookcatalogue.SearchSuggestionProvider" />
<provider
android:name=".utils.GenericFileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
<!-- Not needed until we reinstate GR...which will likely never happen
OR Until we support sync to BC site. Then it needs an update to work as a service -->
<!--<service-->
<!-- android:name=".BcQueueManager"-->
<!-- android:enabled="true" />-->
<activity
android:name=".BookCatalogue"
android:label="@string/app_name"
android:theme="@style/AppTheme"></activity>
<!--
The StartupActivity activity is just a forwarder to the users chosen first screen; does not
rebuild on orientation changes so progress dialogs are easier
-->
<activity
android:name=".StartupActivity"
android:configChanges="orientation|keyboardHidden"
android:exported="true"
android:theme="@style/AppInvisible">
<!--
This used to have noHistory BUT the new backup method has to start a full activity (the google chooser)
which means than the startup activity is deleted. So now we have a real activity with history. This is also
needed so that the activity life-cycle can be monitored (to handle file picker results).
-->
<!-- android:noHistory="true"-->
<!-- android:theme="@style/Invisible">-->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="org.acra.CrashReportDialog"
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Dialog" />
<!--
The StartupActivity activity is just a forwarder to the users chosen first screen, which could
be the MainMenu Activity. So in theory it is OK to make is singleInstance
-->
<activity
android:name=".MainMenu"
android:label="@string/app_name"
android:theme="@style/AppTheme"></activity> <!-- android:launchMode="singleInstance" -->
<activity
android:name=".BookEdit"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".BookISBNSearch"
android:label="@string/title_isbn_search"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".booklist.BooklistPreferencesActivity"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".booklist.BooklistStyleGroupsActivity"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".booklist.BooklistStylePropertiesActivity"
android:theme="@style/AppTheme"
android:windowSoftInputMode="stateHidden"></activity>
<activity
android:name=".booklist.BooklistStylesActivity"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".Bookshelf"
android:label="@string/menu_bookshelf"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".BookshelfEdit"
android:label="@string/title_edit_bs"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".BooksOnBookshelf"
android:exported="false"
android:label="@string/my_books"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<activity
android:name=".AdministrationAbout"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".AdministrationDonate"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".AdministrationFunctions"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".goodreads.GoodreadsRegister"
android:label="@string/goodreads"
android:launchMode="standard"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".goodreads.GoodreadsAuthorizationActivity"
android:exported="true"
android:launchMode="singleInstance"
android:theme="@style/AppTheme">
<!-- RELEASE: Work out which of these filters we dont need! -->
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<category android:name="android.intent.category.LAUNCHER"></category>
<data
android:host="goodreadsauth"
android:scheme="http"></data>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<category android:name="android.intent.category.LAUNCHER"></category>
<data
android:host="goodreadsauth"
android:scheme="com.eleybourn.bookcatalogue"></data>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.BROWSABLE"></category>
<data
android:host="goodreadsauth"
android:scheme="com.eleybourn.bookcatalogue"></data>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
<category android:name="android.intent.category.LAUNCHER"></category>
<data
android:host="goodreadsauth"
android:scheme="com.eleybourn.bookcatalogue"></data>
</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" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
</intent-filter>
<intent-filter>
<category android:name="android.intent.category.BROWSABLE"></category>
<category android:name="android.intent.category.DEFAULT"></category>
</intent-filter>
<intent-filter>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
<category android:name="android.intent.category.DEFAULT"></category>
<category android:name="android.intent.category.BROWSABLE"></category>
</intent-filter>
</activity>
<activity
android:name=".AdministrationLibraryThing"
android:label="@string/library_thing"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".goodreads.GoodreadsSearchCriteria"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".goodreads.GoodreadsSearchResults"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".goodreads.GoodreadsExportFailuresActivity"
android:theme="@style/AppTheme"></activity>
<activity android:name=".SearchCatalogue"></activity>
<activity
android:name=".TaskListActivity"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".Help"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".FieldVisibility"
android:label="@string/menu_manage_fields"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".OtherPreferences"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".EditAuthorList"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".EditSeriesList"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".UpdateFromInternet"
android:label="@string/update_fields"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".cropper.CropCropImage"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".cropper.CropMonitoredActivity"
android:theme="@style/AppTheme"></activity>
<activity
android:name=".filechooser.BackupChooser"
android:theme="@style/AppTheme"></activity>
</application>
</manifest>