diff --git a/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt b/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt index 048cdc3a..f50425f5 100644 --- a/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt +++ b/src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt @@ -3,7 +3,10 @@ package fr.shikkanime.utils import com.google.auth.oauth2.GoogleCredentials import com.google.firebase.FirebaseApp import com.google.firebase.FirebaseOptions -import com.google.firebase.messaging.* +import com.google.firebase.messaging.AndroidConfig +import com.google.firebase.messaging.FirebaseMessaging +import com.google.firebase.messaging.Message +import com.google.firebase.messaging.Notification import fr.shikkanime.dtos.EpisodeDto import java.io.File import java.io.FileInputStream @@ -43,11 +46,6 @@ object FirebaseNotification { .setPriority(AndroidConfig.Priority.HIGH) .build() ) - .setApnsConfig( - ApnsConfig.builder() - .putHeader("apns-priority", "5") - .build() - ) .setTopic("global") .build() )