-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
138 lines (114 loc) · 5.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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ratworkshop.taplist"
android:versionCode="1"
android:versionName="1.0.0.1" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- REQUIRED PERMISSIONS (for Urban Airship GCM) -->
<uses-permission android:name="android.permission.VIBRATE" />
<!-- GCM requires a Google account. -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- Keeps the processor from sleeping when a message is received. -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- This app has permission to register with GCM and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="com.ratworkshop.taplist.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.ratworkshop.taplist.permission.C2D_MESSAGE" />
<!-- The two elements above ensure that only this application can receive the messages and registration result -->
<!-- END Urban Airship Required Permissions -->
<!-- OPTIONAL Urban Airship Settings -->
<!-- REQUIRED FOR LOCATION -->
<!-- Use ACCESS_COARSE_LOCATION if GPS access is not necessary -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> -->
<!-- OPTIONAL - This permission is only necessary if your app has multiple processes -->
<!-- <uses-permission android:name="android.permission.BROADCAST_STICKY" /> -->
<!-- END OPTIONAL Urban Airship Settings -->
<application
android:name="com.ratworkshop.taplist.TaplistApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<!-- android:theme="@style/AppTheme" -->
<activity
android:name="com.ratworkshop.taplist.BrewSplashActivity"
android:label="@string/app_name"
android:noHistory="true"
android:theme="@style/BrewSplash" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.ratworkshop.taplist.BrewListActivity"
android:configChanges="orientation|screenSize"
android:label="@string/app_name"
android:theme="@style/TaplistActivtyTheme" >
</activity>
<activity
android:name="com.ratworkshop.taplist.BrewDetailActivity"
android:label="@string/title_brew_detail"
android:parentActivityName="com.ratworkshop.taplist.BrewListActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".BrewListActivity" />
</activity>
<!-- REQUIRED for Urban Airship GCM -->
<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" />
<!-- MODIFICATION REQUIRED - Use your package name as the category -->
<category android:name="com.ratworkshop.taplist" />
</intent-filter>
<!-- REQUIRED for detecting when the application is upgraded so it can request a new GCM ID -->
<intent-filter>
<action android:name="android.intent.action.PACKAGE_REPLACED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<service
android:name="com.urbanairship.push.PushService"
android:label="Push Notification Service" />
<service
android:name="com.urbanairship.analytics.EventService"
android:label="Event Service" />
<!-- This is required for persisting preferences related to push and location -->
<!-- Use your package name + ".urbanairship.provider" in the android:authorities -->
<provider
android:name="com.urbanairship.UrbanAirshipProvider"
android:authorities="com.ratworkshop.taplist.urbanairship.provider"
android:exported="false"
android:multiprocess="true" />
<!-- END OF REQUIRED ITEMS -->
<!-- OPTIONAL (for segments support) -->
<service
android:name="com.urbanairship.location.LocationService"
android:label="Segments Service" />
<!-- OPTIONAL, if you want to receive push, push opened and registration completed intents -->
<!-- Replace the receiver below with your package and class name -->
<receiver android:name="com.ratworkshop.taplist.IntentReceiver" />
<service
android:name="com.ratworkshop.taplist.service.ImageDownloader"
android:exported="false" >
</service>
<service
android:name="com.ratworkshop.taplist.service.FontDownloader"
android:exported="false" >
</service>
<activity
android:name="com.ratworkshop.taplist.BrewSettingsActivity"
android:label="@string/title_activity_brew_settings" >
</activity>
</application>
</manifest>