How to send an apple mdm push notification with plain php?
i've done a apple-mdm-ota-server for IOS so far. The devices deliver me following things to the server (in form of a plist/xml): -Push Magic Token -Device Token (in b64 format oO) -PN-Topic (com.apple.mgmt.xxx) -UDID (in hexcode) -UnlockToken (a very long b64 encoded thing) I need to send the following content to the push notification thing from apple: {"mdm":"pushMagic"} Pushmagic = the Push Magic Token How I need to compose the data I need to write into the apns socket? I tried the one that works for other push notifications, but for this it doesn't. There is happening just nothing :-(.