Skip to content

Commit

Permalink
Remove duplicate apnsToken set to FCM (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Aug 1, 2020
1 parent 2ba2432 commit 0730c87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion HomeAssistant/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
tokenType = .sandbox
}

Messaging.messaging().apnsToken = deviceToken
Messaging.messaging().setAPNSToken(deviceToken, type: tokenType)
}

Expand Down

0 comments on commit 0730c87

Please sign in to comment.