forked from WhiteHouse/wh-app-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
82 lines (74 loc) · 4.11 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="gov.whitehouse"
android:versionCode="3"
android:versionName="2.0.1" >
<!--
The package name MUST be changed if you intend to fork and customize this app. The most
efficient way to do this is to use an IDE with refactoring support to rename the entire
package in all places and move the files into the new package directory.
-->
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<!-- permissions needed for Urban Airship -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- custom permission for Urban Airship -->
<permission android:name="gov.whitehouse.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="gov.whitehouse.permission.C2D_MESSAGE" />
<application android:name=".ui.WhiteHouseApplication"
android:icon="@drawable/ic_launcher"
android:theme="@style/Theme.WhiteHouse"
android:label="@string/app_name">
<activity android:name=".ui.activities.app.HomeActivity" android:label="Your App Label">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ui.activities.app.ArticleListActivity" />
<activity android:name=".ui.activities.app.PhotoGalleryActivity" />
<activity android:name=".ui.activities.app.VideoGalleryActivity" />
<activity android:name=".ui.activities.app.LiveFeedActivity" />
<activity android:name=".ui.activities.app.FavoritesActivity" />
<activity android:name=".ui.activities.app.ArticleViewerActivity" />
<activity android:name=".ui.activities.app.VideoPlayerActivity"
android:screenOrientation="landscape" />
<activity android:name=".ui.activities.app.WHPreferencesActivity" />
<receiver android:name=".receivers.BootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
</intent-filter>
</receiver>
<receiver android:name=".receivers.PushReceiver"></receiver>
<service android:name=".services.FeedService" />
<service android:name=".services.LiveService" />
<!-- Urban Airship receivers/services -->
<receiver android:name="com.urbanairship.CoreReceiver" />
<receiver android:name="com.urbanairship.push.GCMPushReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="gov.whitehouse" />
</intent-filter>
</receiver>
<service android:name="com.urbanairship.push.PushService"
android:label="Push Notification Service"/>
<service android:name="com.urbanairship.push.PushWorkerService"
android:label="Push Notification Worker Service"/>
<service android:name="com.urbanairship.analytics.EventService"
android:label="Event Service"/>
<provider android:name="com.urbanairship.UrbanAirshipProvider"
android:authorities="gov.whitehouse.urbanairship.provider"
android:exported="false"
android:multiprocess="true" />
</application>
</manifest>