Does order of FcmMessageResultItems in the FcmMessageResponse corresponds to the order of registrationIds provided in the constructor of NotificationMulticastMessage

This repository was archived by the owner on Feb 27, 2018. It is now read-only.

This repository was archived by the owner on Feb 27, 2018. It is now read-only.

@yakuninv

Description

@yakuninv

Hello,

As part of error handling when sending NotificationMulticastMessage, I need to map erroneous FcmMessageResultItem to the token that caused an error. Ex: typical use case is to remove not registered tokens from my db.

Can i rely on the order of FcmMessageResultItems in the FcmMessageResponse? Does it correspond to the order of registrationIds provided in the constructor of NotificationMulticastMessage?

If this is not true, how can I do such mapping?

Thanks in advance
Sla

Metadata

Metadata

Labels

Development

No branches or pull requests

Issue actions