Skip to content

Commit

Permalink
Remove APNS config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziedelth committed Mar 29, 2024
1 parent b359e32 commit c12f584
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/kotlin/fr/shikkanime/utils/FirebaseNotification.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -43,11 +46,6 @@ object FirebaseNotification {
.setPriority(AndroidConfig.Priority.HIGH)
.build()
)
.setApnsConfig(
ApnsConfig.builder()
.putHeader("apns-priority", "5")
.build()
)
.setTopic("global")
.build()
)
Expand Down

0 comments on commit c12f584

Please sign in to comment.