简体   繁体   中英

Aerogear - How to send data in push notification from Java to Web

I am implementing web push notification using Aerogear JS Cookbook's Chrome Push API with AeroGear Unified Push Demo. In that after implementing I am getting the notification but only with static data. I don't know how should pass actual dynamic data in notification. Can anyone explain how can i achieve it. Thanks

I am facing the same problem, I am only receiving a null message, you have to implement an API in order to get the message on the website. Although, I found two issues created by jboss on Aug 2018 ( https://issues.jboss.org/browse/AEROGEAR-7861 and https://issues.jboss.org/browse/AEROGEAR-7862 . It seems that in a near future we will have the variant Push Notifications to Web working on UPS with a message. As you can see on github they were testing issue 7861, although it was rejected ( https://github.com/aerogear/aerogear-unifiedpush-server/pull/1007 )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM