我需要通过MDM命令推送应用程序。使用.net安装应用程序时,MDM命令为
<key>RequestType</key>
<string>InstallApplication</string>
<key>ManifestURL</key>
<string>https://domain//static/z21e6gwewUJSflzPFAAFCYQIF6iv0eOtiM5AjiCzE3k3S7Xc2AinK1ONm1jJ3h0O7CiDRNu23V0l_equal_l/ARG/ApplicationRepository/app-102/iPad/1.0.0/manifest.plist</ string>
<key>ManagementFlags</key>
<integer>1</integer> 要删除应用程序,对应的MDM命令为
<key>RequestType</key>
<string>RemoveApplication</string>
<key>Identifier</key>
<string>domainSomething.safespace</string>如何用node-apn模块实现同样的功能?如何构建命令?它应该是XML格式还是JSON格式
谢谢,普雷文
发布于 2015-11-18 22:11:26
Apple没有公开提供MDM的文档。您需要参考他们提供的文档。我的怀疑是,如果他们给出XML示例,那么您应该始终发送XML。
https://stackoverflow.com/questions/33781850
复制相似问题