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
The command 2 and the frame data length applies to each message. If you send multiple messages in one connection, then for each message: send command 2, the message's frame data length, and the 5 parts (token, payload, id, expiry, priority)