New Command 2 Apple Push Notification Not sending multiple alerts
问题 I am trying to implement the new 'Command 2' push notification in Java and cannot have it push multiple alerts. First alert is pushed successfully. Please help if you can spot any issue on this code Apple specs https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW1 for (DeviceApps deviceApps : deviceAppsList) { outputStream.write(getByteArray(deviceApps, pushAlert));