question

felipeclaude avatar image
felipeclaude asked

Send Push to groups

Hello Again.

Is it possible to send "global" pushes or pushes to a group of people say all players in segment or all players in a shared group.? . As an example send to all players in highSpender segment a push notification that a new exclusive item is available.

Looking at Documentation SendPushNotification allows only 1 playerId per call. And iterating over players in a group could (depending in the amount of users) exceed cpu time limit.

regards!

Push Notifications
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

You're also limited to 10 API calls in a Cloud Script execution pass, making that doubly a non-starter (iterating on players to send to). We'll shortly be making available a "bulk action" system which will allow you to do things like send Push Notifications to user segments. We expect to make that available later this quarter.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]