Export Profile
1 Prepare -> Settings
Turn Supervision ON
Continue reading “Export Profile from Apple Configurator and Sign” »
sskaje's blog, study & research on technology
Turn Supervision ON
Continue reading “Export Profile from Apple Configurator and Sign” »
You are not authorised to read all content in this post.
Please login…
For some reasons, I analyze the redeem protocol again.
Last time I looked into it about 18 months ago, there were two requests after entering code and pressing Redeem button on its landing page.
Code can be found here: /sskaje/code/itunes/auto_redeemer.php
1 Submit an html form to an address like ‘/WebObjects/MZFinance.woa/wo/1.2.3.4’ with the redeem code.
2 If the redeem code is not usable, error message will be displayed; otherwise iTunes would prompt a login dialog to ask your password.
3 After being re-authenticated, a second request would be sent, which performed a real redeem action.
Continue reading “Something Changed about AppStore’s Redeem Protocol” »
源码在:https://github.com/sskaje/apns
协议消息体使用的是APNS的简版消息结构,暂不支持Enhanced notification format,即不支持identifier和expiry,省了8个字节,不过稍后有空会加上。
大致的数据逻辑是:
1 |
Application --> Queue --> Daemon |
走了个异步队列。应用将推送数据按公用结构(适配非APNS的推送需求)带上推送的目标设备类型+客户端标识(支持同平台下多款应用的推送)所用的队列;后端程序阻塞或非阻塞的模式从队列里取数据,然后根据数据信息写APNS或者其他类型终端(例如Android)的推送服务。
开发过程中遇到的最大问题主要在 stream_socket_client() 的 STREAM_CLIENT_PERSISTENT 使用上:
Continue reading “PHP Client for Apple Push Notification Service” »
功能页面:http://sskaje.me/sskaje/appstore2appshopper/ (执行速度很慢,建议下载源码自己跑CLI)。
页面源码 http://sskaje.me/sskaje/appstore2appshopper/?s ,各路代码在 https://github.com/sskaje/appstore 。
以前写的iTunes Gift Card AutoRedeemer在 /index.php/2012/03/itunes-gift-card-autoredeemer/,这个版本把代码集成进去了,但是没测能不能用,因为现在自己没需求了。
iTunes Appstore这边没啥可说的,抓包就是了。
关于Appshopper,一开始的实现方案是使用他家的iOS App,用Charles Proxy抓包拿到完整https的协议(关于Charles Proxy的破解点这里),前一天晚上看了下他家网站提交数据的参数。发现如果需要把某个App添加到wishlist/myapp里,app id能直接拿到,但是还需要查到一个updateid。这个updateid从他家网页实在不好查,虽然可以匹配,但是流程会很麻烦,好在他家iOS App有个detail的接口,能拿到包括 updateid, wantit, ownit 这样的字段。这样实现起来,就逐个app地去查updateid和是否已经添加到wishlist/myapp,若未添加则执行添加。效率堪忧。
Continue reading “AppShopper 导入Appstore 历史购买记录” »