Hello,
I build the message as following:
UnifiedMessage.withMessage()
.apns().contentAvailable().build()
.userData("message", MessageParser.parseMessageToJSON(inputMessage))
.config().timeToLive(lifetime).message()
.build();
Von: aerogear-users-bounces@lists.jboss.org [mailto:aerogear-users-bounces@lists.jboss.org]
Im Auftrag von Julio Cesar Sanchez Hernandez
Gesendet: Freitag, 29. September 2017 17:59
An: aerogear-users@lists.jboss.org
Betreff: Re: [Aerogear-users] iOS 11 Support
How are you sending the push notifications?
Can you provide a code sample of how do you build silent push payload?
On Fri, Sep 29, 2017 at 10:57 AM, Philipp Koetz, mVISE AG <Philipp.Koetz@mvise.de> wrote:
Forgot to mention that it is about silent notifications (https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CreatingtheNotificationPayload.html)
Von: aerogear-users-bounces@lists.jboss.org [mailto:aerogear-users-bounces@lists.jboss.org] Im Auftrag von Philipp Koetz, mVISE AG
Gesendet: Donnerstag, 28. September 2017 14:51
An: aerogear-users@lists.jboss.org
Betreff: [Aerogear-users] iOS 11 Support
Dear Aerogear Team,
does the 1.2 release works fine for iOS 11? We have right now the problem that messages will be rejected if there is an alert, badge or sound key in the message. In the current version of Aerogear push server we are using (1.1.3) is the alert key everytime attached to the messages json.
Regards,
Philipp Koetz
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users