FCM RemoteMessage.getMessageId() — the transport-layer id assigned by Firebase. May be null for synthetic / test pushes (Swan.handleFcmDataForTests) where no real RemoteMessage exists.
RemoteMessage.getMessageId()
null
Swan.handleFcmDataForTests