In RNIntentHandler documentation, it's say that getBundleFromIntent "should return the bundle data that will be serialized to the 'notification.data'" but in fact Bundle returned become the object sent to the onNotification() handler. So if no "data" bundle key is present, no data block is created as suggested in documentation.
Is it the expected behavior or there is something missing ?
Example of bundle returned in getBundleFromIntent in my case:
Bundle[{google.delivered_priority=high, google.sent_time=1662137474741, google.ttl=2419200, google.original_priority=high, msg=Test PUSH, from=123456789, title=Test PUSH , google.message_id=0:112345667, customId=abcd, com.batch={"r":{"dmi":60,"dma":3600,"m":1},"t":"t","od":{"di":"a-b-c-d","ak":"ANDROID","n":"e-f-g-h"},"i":"something","l":"deep://link"}, google.c.sender.id=123456789, android.support.content.wakelockid=2, collapse_key=default}]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
In RNIntentHandler documentation, it's say that
getBundleFromIntent
"should return the bundle data that will be serialized to the 'notification.data'" but in fact Bundle returned become the object sent to theonNotification()
handler. So if no "data" bundle key is present, nodata
block is created as suggested in documentation.Is it the expected behavior or there is something missing ?
Example of bundle returned in
getBundleFromIntent
in my case:Bundle[{google.delivered_priority=high, google.sent_time=1662137474741, google.ttl=2419200, google.original_priority=high, msg=Test PUSH, from=123456789, title=Test PUSH , google.message_id=0:112345667, customId=abcd, com.batch={"r":{"dmi":60,"dma":3600,"m":1},"t":"t","od":{"di":"a-b-c-d","ak":"ANDROID","n":"e-f-g-h"},"i":"something","l":"deep://link"}, google.c.sender.id=123456789, android.support.content.wakelockid=2, collapse_key=default}]