64 lines
2.5 KiB
XML
64 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (c) 2023 New Vector Ltd
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
<application>
|
|
|
|
<!-- Firebase components -->
|
|
<meta-data
|
|
android:name="firebase_analytics_collection_deactivated"
|
|
android:value="true" />
|
|
|
|
<service
|
|
android:name="VectorFirebaseMessagingService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
<!-- UnifiedPush -->
|
|
<receiver
|
|
android:name="VectorUnifiedPushMessagingReceiver"
|
|
android:enabled="true"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="org.unifiedpush.android.connector.MESSAGE" />
|
|
<action android:name="org.unifiedpush.android.connector.UNREGISTERED" />
|
|
<action android:name="org.unifiedpush.android.connector.NEW_ENDPOINT" />
|
|
<action android:name="org.unifiedpush.android.connector.REGISTRATION_FAILED" />
|
|
<action android:name="org.unifiedpush.android.connector.REGISTRATION_REFUSED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<receiver
|
|
android:name="KeepInternalDistributor"
|
|
android:enabled="true"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<!--
|
|
This action is checked to track installed and uninstalled distributors.
|
|
We declare it to keep the background sync as an internal
|
|
unifiedpush distributor.
|
|
-->
|
|
<action android:name="org.unifiedpush.android.distributor.REGISTER" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
</manifest>
|