mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-12-16 05:31:44 +03:00
e4a80429d3
for NCFirebaseMessagingService Using a foregroundServiceType for firebase is not recommended: https://firebase.google.com/docs/cloud-messaging/android/client#manifest and it would violate android14 terms: https://developer.android.com/about/versions/14/changes/fgs-types-required tested and notifications still work as expected Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
52 lines
2.1 KiB
XML
52 lines
2.1 KiB
XML
<!--
|
|
~ Nextcloud Talk application
|
|
~
|
|
~ @author Mario Danic
|
|
~ @author Tim Krüger
|
|
~ Copyright (C) 2022 Tim Krüger <t@timkrueger.me>
|
|
~ Copyright (C) 2017-2019 Mario Danic <mario@lovelyhq.com>
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" />
|
|
|
|
<application
|
|
android:name=".application.NextcloudTalkApplication"
|
|
android:allowBackup="true"
|
|
android:fullBackupContent="@xml/backup_config"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:label="@string/nc_app_name"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/AppTheme.Launcher"
|
|
tools:replace="label, icon, theme, name, allowBackup"
|
|
tools:ignore="UnusedAttribute, ExportedService">
|
|
|
|
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
|
|
<meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
|
|
|
|
<service
|
|
android:name=".services.firebase.NCFirebaseMessagingService"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
|
</intent-filter>
|
|
</service>
|
|
|
|
</application>
|
|
</manifest>
|