### [READ] Step 1: Are you in the right place? yep ### [REQUIRED] Step 2: Describe your environment * Operating System version: Linux 7u 5.3.0-23-generic #25-Ubuntu SMP Tue Nov 12 09:22:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux * Firebase SDK version: 8.8.0 * Firebase Product: messaging * Node.js version: 12.4.0 * NPM version: 6.13.1 ### [REQUIRED] Step 3: Describe the problem `messaging.sendMulticast` does not send `FcmOptions`. `sendAll` works well #### Steps to reproduce: `messaging.sendMulticast` #### Relevant Code: this is current implementation of `sendMulticast`: ``` var messages = copy.tokens.map(function (token) { return { token: token, android: copy.android, apns: copy.apns, data: copy.data, notification: copy.notification, webpush: copy.webpush, }; }); return this.sendAll(messages, dryRun); ``` which obviously does not copy `fcmOptions` property from original message
[READ] Step 1: Are you in the right place?
yep
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
messaging.sendMulticastdoes not sendFcmOptions.sendAllworks wellSteps to reproduce:
messaging.sendMulticastRelevant Code:
this is current implementation of
sendMulticast:which obviously does not copy
fcmOptionsproperty from original message