<div dir="ltr"><div>Hi all,</div><div><br></div><div>As we discussed previously, Firefox already supports sending push message data to browser if it will be encrypted. Since version 50, Google Chrome also support it [1]. But it requires for UPS to store &quot;public key&quot; and &quot;auth secret&quot; for each Installation [2]. See current example of sending push notifications with a payload[3].</div><div><br></div><div>Storing of two additional fields is not a big deal. But we also have to refactor PushNotificationSender [4], because it consumes a collection of device tokens as a param instead of a collection of installations.</div><div><br></div><div>Any thoughts about how we can implement it with minimal changes?</div><div><br></div><div>[1] <a href="https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData">https://developer.mozilla.org/en-US/docs/Web/API/PushMessageData</a></div><div>[2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/Installation.java">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/api/src/main/java/org/jboss/aerogear/unifiedpush/api/Installation.java</a></div><div>[3] <a href="https://serviceworke.rs/push-payload_index_doc.html">https://serviceworke.rs/push-payload_index_doc.html</a></div><div>[4] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/PushNotificationSender.java">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/PushNotificationSender.java</a></div><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Best regards,<div>Idel Pivnitskiy</div><div>--<br></div><div>Twitter: <a href="https://twitter.com/idelpivnitskiy" target="_blank">@idelpivnitskiy</a></div><div>GitHub: <a href="https://github.com/idelpivnitskiy" target="_blank">@idelpivnitskiy</a></div></div></div></div></div></div></div></div></div>
</div>