-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAndroidManifestBadminton.xml
175 lines (149 loc) · 9.63 KB
/
AndroidManifestBadminton.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
<?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.doubleyellow.badminton" -->
<!-- PlayStoreID=4974076001360456618 -->
<!-- auto added by ?? so specifically remove it -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
<!--
<uses-feature android:name="android.permission.SEND_SMS" android:required="false" />
<uses-feature android:name="android.permission.INTERNET" android:required="true" />
-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!--<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />-->
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.VIBRATE"/>
<!-- to autocomplete player names from contact list -->
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<!-- for import/export functionality -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- bluetooth (Legacy up to Android 11) -->
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <!-- for initiating and cancelling device discovery, and initiating connections -->
<!-- bluetooth (Android 12 upwards) -->
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<!--<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />-->
<!-- android 9 casting -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <!-- FOREGROUND_SERVICE is a normal permission, so the system automatically grants it to the requesting app. -->
<!--
<uses-feature android:name="android.permission.ACCESS_NETWORK_STATE" android:required="true" />
-->
<!-- added for BLE -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!--<uses-feature android:name="android.hardware.type.watch" android:required="false"/>-->
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<uses-feature android:name="android.hardware.audio.output" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
<!--
<supports-screens
android:anyDensity="true"
android:xlargeScreens="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
-->
<queries>
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
</queries>
<application
android:theme="@style/Theme.App.Starting_Badminton"
android:allowBackup="true"
android:usesCleartextTraffic="true"
android:label="@string/app_name_short_brand__Badminton"
android:icon="@drawable/logo_brand_badminton">
<!--
For ChromeCast (new)
-->
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME"
android:value="com.doubleyellow.scoreboard.cast.framework.CastOptionsProvider" />
<!-- only for shared libraries, mine is not -->
<!--<uses-library android:name="com.doubleyellow.android"/>-->
<!-- Splash screen -->
<!--
<activity android:name="com.doubleyellow.scoreboard.activity.SplashScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
-->
<activity android:name="com.doubleyellow.scoreboard.main.ScoreBoard" android:label="@string/app_name_short_brand__Badminton" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<!--
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED" />
</intent-filter>
-->
<!--
<meta-data android:name="android.nfc.action.TECH_DISCOVERED" android:resource="@xml/filter_nfc" />
-->
<intent-filter> <data android:scheme="https" android:host="badminton.double-yellow.be" android:pathPattern="/.*20.*" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter>
<intent-filter> <data android:scheme="https" android:host="badminton.double-yellow.be" android:pathPattern="/uploads/.*.zip" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> </intent-filter>
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT"/>
<!-- mimetype must match the mimetype as passed from com.doubleyellow.scoreboard.main.ScoreBoard.createNdefMessage() -->
<!--
<data android:mimeType="application/com.doubleyellow.scoreboard"/>
-->
<data android:mimeType="application/json"/>
</intent-filter>
<!--
<intent-filter>
<data android:scheme="http" android:host="squore.double-yellow.be"/>
<action android:name="android.intent.category.DEFAULT" />
</intent-filter>
-->
</activity>
<activity android:name="com.doubleyellow.scoreboard.match.Match" android:label="@string/sb_new_match">
<!--<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />-->
</activity>
<activity android:name="com.doubleyellow.scoreboard.match.MatchTabbed" android:label="@string/sb_new_match">
<!--<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />-->
</activity>
<activity android:name="com.doubleyellow.scoreboard.archive.ArchiveTabbed" android:label="@string/Archive">
<!--<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />-->
</activity>
<activity android:name="com.doubleyellow.scoreboard.feed.FeedFeedSelector" android:label="@string/add_new_feed">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.match.MatchTabbed" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.history.MatchHistory" android:label="@string/sb_score_details">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.activity.ScoreSheetOnline" android:label="@string/sb_score_details">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.activity.ConductInfo" android:label="@string/sb_possible_conducts">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.activity.Feedback" android:label="@string/cmd_feedback">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.bluetooth_le.selectdevice.BLEActivity" android:label="@string/ble_devices">
<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />
</activity>
<activity android:name="com.doubleyellow.scoreboard.prefs.Preferences" android:label="@string/sb_preferences" android:theme="@style/SBPreferencesTheme">
<!--<meta-data android:name="android.support.PARENT_ACTIVITY" android:value="com.doubleyellow.scoreboard.main.ScoreBoard" />-->
</activity>
<!--
If using pusher, and notifications even need to be received if app is in the background, we need a service
-->
<service android:name="com.doubleyellow.scoreboard.firebase.PusherMessagingService" android:enabled="true" android:exported="false"
android:description="@string/FCM_Info">
<intent-filter android:priority="1">
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
</application>
</manifest>