urbanairship / java-library

Java client library for the Urban Airship API
Other
33 stars 40 forks source link

batch push seems missing #14

Closed lpiccoli closed 7 years ago

lpiccoli commented 10 years ago

trying to batch push multiple notifiacitons to different devices are per the V3 migration guide. http://docs.urbanairship.com/reference/api/v3/api-v3-migration-guide.html#api-push

but the client only allows a single PushPayload in the push method. i was expecting something like apiClient.push(payload1, payload2, payload3, payload4)

is that correct or have i messed up?

pdxmele commented 10 years ago

Sorry, this has not yet been implemented in the Java library, though it is possible with API v3 in general by putting a number of payloads in an array: http://docs.urbanairship.com/reference/api/v3/push.html#push.

Pull requests welcome! http://urbanairship.com/legal/contribution-agreement