remove foregroundServiceType="phoneCall"

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>
This commit is contained in:
Marcel Hibbe 2024-01-31 11:20:24 +01:00
parent f7be8dd9a9
commit e4a80429d3
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -42,8 +42,7 @@
<service
android:name=".services.firebase.NCFirebaseMessagingService"
android:exported="false"
android:foregroundServiceType="phoneCall">
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>