Allow user to send data-only or custom notification payload#54
Allow user to send data-only or custom notification payload#54onmyway133 merged 1 commit intoonmyway133:masterfrom
Conversation
|
Hi @namnm Have you done manual testing of the updated logic? |
|
Hi @Ariandr I tested a bit with the new logic. Look at the code, it would only affect if the json user put it has If the json has no |
|
Okay @namnm, but at the moment I cannot test Android notifications personally. If @onmyway133 approves, we will deliver it. Hi @onmyway133 |
|
Hi @onmyway133 If you approve, I will create a release. |
|
Published new release https://github.com/onmyway133/PushNotifications/releases/tag/1.7.9 |
If payload.data or payload.notification is present, we merge the whole payload to the fcm message object.
This will solve the case user need to send data-only or custom notification payload
For eg: