Matters Neeeding Attention When Test The App Push Service
本文由发表于3年前 | 移动开发 | 暂无评论 |  被围观 1,554 views+

For JPush, when get the app test package, you neet to confirm that the app is using appKey of test version.

Otherwise, the push service will not receive notification, cause the server is using a test appKey and the app is using a online appKey.

Secondly, ensure that the app use the test environment interface of subscription. you can use the HTTP monitor software such as charles to validate it.

In addition, we use a push system written by ourselves called "mofang". Make sure the tokens to push is using the test certificate(online environment is corresponding to the online certificate), or push will have a problem. And DBAs will imported push online data into the test library regularly, such import token can not be push successful. So, TRUNCATE TABLE, and subscribe to push again for testing.

When the iOS app is open, it can not receive the push message. Close the application UI, and it will receive the push.

The message shows at the top, if you do not click after a period of time, then disappear automatically. If clicked, jump to message content. Under the condition of the lock screen, received notification will be displayed on screen, and click on it, after unlocking, the screen will automatically jump to the message content.

To ensure delivery system access token interface of the callback is set correctly, otherwise, is also unable to push notification correctly. Make sure that the push system is normal travel.

关键字: ,
arthinking Java技术交流群:280755654,入门群:428693174 more
2014 10/10

随机文章 本月热门 热评
1 Java基础笔记 – 枚举类型的使用介绍和静态导入 2011/10/31
2 Javascript中加号运算符的二义性注意事项 2012/4/28
3 开发者不容错过的12款开源JavaScript库 2014/1/26
4 Hibernate的框架结构及其工作流程 2011/5/27
5 设计模式笔记 – Decorator 装饰模式 (Design Pattern) 及其在JavaIO流系统中的运用 2011/10/22
6 Java基础笔记 – hashCode()与equals()方法的介绍和使用场合 2011/10/11
友情推荐 更多
破博客 文官洗碗安天下,武将打怪定乾坤。多么美好的年代,思之令人泪落。
Mr.5's Life 白天是一名程序员,晚上就是个有抱负的探索者
行知-追寻技术之美 关注大数据,分布式系统
我爱编程 编程成长轨迹
Cynthia's Blog 学习笔记 知识总结 思考感悟
欢迎关注我的公众号 IT宅
关于IT宅 文章归档

IT宅中的文章除了标题注明转载或有特别说明的文章,均为IT宅的技术知识总结,学习笔记或随笔。如果喜欢,请使用文章下面提供的分享组件。转载请注明出处并加入文章的原链接。 感谢大家的支持。


Theme by arthinking. Copyright © 2011-2015 IT宅.com 保留所有权利.