-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
59 lines (52 loc) · 2.38 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
59 lines (52 loc) · 2.38 KB
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<application>
<activity
android:name="io.getstream.rn.callingx.notifications.NotificationReceiverActivity"
android:excludeFromRecents="true"
android:exported="false"
android:noHistory="true"
android:taskAffinity=""
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<service
android:name="io.getstream.rn.callingx.notifications.NotificationReceiverService"
android:exported="false" />
<service
android:name="io.getstream.rn.callingx.CallService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="phoneCall"
android:stopWithTask="true" />
<service
android:name="io.getstream.rn.callingx.StreamMessagingService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<!-- Action values must match constants in CallingxModuleImpl.kt -->
<receiver
android:name="io.getstream.rn.callingx.CallEventBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="io.getstream.CALL_REGISTERED" />
<action android:name="io.getstream.CALL_REGISTERED_INCOMING" />
<action android:name="io.getstream.CALL_ANSWERED" />
<action android:name="io.getstream.CALL_INACTIVE" />
<action android:name="io.getstream.CALL_ACTIVE" />
<action android:name="io.getstream.CALL_MUTED" />
<action android:name="io.getstream.CALL_AUDIO_ENDPOINTS_CHANGED" />
<action android:name="io.getstream.CALL_END" />
<action android:name="io.getstream.CALL_REGISTRATION_FAILED" />
</intent-filter>
</receiver>
<!-- Remove default FCM service so StreamMessagingService is the single handler -->
<service
android:name="io.invertase.firebase.messaging.ReactNativeFirebaseMessagingService"
tools:node="remove" />
</application>
</manifest>