47 lines
2 KiB
XML
47 lines
2 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"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<application>
|
|
<receiver
|
|
android:name=".VectorUnifiedPushMessagingReceiver"
|
|
android:enabled="true"
|
|
android:exported="true"
|
|
tools:ignore="ExportedReceiver">
|
|
<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>
|