Implementation for {“mdm”:“<PushMagic>”} using javapns

流过昼夜 提交于 2019-12-12 09:08:38

问题


I am using javapns to develop apple push notification mdm server. There is a package "javapns.notification.management" I could not find an api to send {"mdm":""} to apple.

I want to implement MDM solution using javapns. I have installed the mobileConfig and have the deviceToken and pushMagic String. Next I want to send {"mdm":""} and then the other commands.

Is this possible using javapns and if yes - is there a sample or some inputs of how to do it?

Issue #37 in javapns says it is possible to send mdm payloads but I could not figure how.

I really appreciate any help on this.


回答1:


Not sure about the javapns implementation, but I have implemented 2 solutions using the java-apns library (https://github.com/notnoop/java-apns) that send across the MDM payload.




回答2:


As Abstractec mentioned you can use notnoop library. It works for MDM push notifications.



来源:https://stackoverflow.com/questions/8933985/implementation-for-mdmpushmagic-using-javapns

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!