iphone 4s(运行ios 8.3)在优惠券传递添加到存折后不会调用RegisterPass请求。
通过书可以找到 http://home.shortkut.co/api/public/PassbookCoupon2/1054将我的通行证添加到iphone 4s设备上的存折时,我只看到...... 在我的日志中,我只看到了。 GET / api / public / PassbookCoupon2 / 1054 --- 200 OK
而不是后续的注册消息。
然而,在iphone 5s上,我明白了 GET / api / public / PassbookCoupon2 / 1054 --- 200 OK
POST /api/v1/devices/xxxxxxxxxxxxxxxxxxxxx/registrations/pass.co.shortkut.home/01927847623423234234 --- 200 OK
GET /api/v1/devices/xxxxxxxxxxxxxxxxxxxxx/registrations/pass.co.shortkut.home --- 200 OK
我是否需要iphone 4s的任何专属
答案 0 :(得分:0)
问题是我们使用http url作为存折属性,WebServiceUrl和iphone 5设备启用了开发,但iphone 4并不是。
一旦我们将WebServiceUrl变为https,它就可以在所有设备上运行。