Fixed bug in the serialization of the FCMMessage Priority property. This enum was serializing to an integer value, but the Firebase documentation says this should be a string with a value of either 'normal' or 'high'. Setting the Priority to FCMMessagePriority.high serialized the value as 1 in the JSON sent to Firebase, which led to a bug in which notifications were only being delivered in the foreground on iOS.
Fixed bug in the serialization of the FCMMessage Priority property. This enum was serializing to an integer value, but the Firebase documentation says this should be a string with a value of either 'normal' or 'high'. Setting the Priority to FCMMessagePriority.high serialized the value as 1 in the JSON sent to Firebase, which led to a bug in which notifications were only being delivered in the foreground on iOS.

tiagomtotti/firebaseNet