Flutter Building for iOS with Firebase device token error
To solve it add following to AppDelegate
override func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
Messaging.messaging().apnsToken = deviceToken
print("X__APNS: \(String(describing: deviceToken))")
super.application(application, didRegisterForRemoteNotificationsWithDeviceToken: deviceToken)
}