IOS push to receive no notification

Source: Internet
Author: User


IOS push to receive no notification



First, the general steps

1, verify that your application has been correctly configured on the Apple Developer website APNs, and download the installation of the APNS certificate;

2, please use the equipment to test push. The simulator is not able to get the device token, so it cannot be bound and, of course, it cannot be pushed. When the above prerequisites are met, check the following steps: 1. Confirm that modifying the Api_key in the registration interface is the correct application; 2. Correctly call Bindchannel, and successfully return AppID, UserID and Channelid, and AppID please confirm that the application is correct;

3, in the management interface of the push settings, successfully uploaded. Pem format APNs Development certificate and Production certificate (only test development version can not require a production certificate, PEM certificate size of about 4K, and fileencoding must be UTF8);

4. Registration interface (+ (void) RegisterChannel: (nsdictionary *) launchoptions apikey: (NSString *) Apikey Pushmode: (bpushmode) mode Withfirstaction: (NSString *) leftaction withsecondaction: (NSString *) rightaction withcategory: (NSString *) category Isdebug: (BOOL) isdebug), if the test development version, please set Bpushmode to Bpushmodedevelopment, the production version set to Bpushmodepruduction;

5, after modifying the configuration, please uninstall the application reinstall;

6, iOS push only to support the notification, and in the push notification, please check correctly the push is the development mode or production mode;

7, if in your application also can not push, please first use the SDK with the demo to debug, reconfirm 1~6 step.


Second, Xcode run the program, the background display has been pushed successfully, but the front-end still did not receive notification.

When the test, if the background display has been pushed but the front end is still not received notice swollen do.

1, the background application configuration set for production status, send notice also select production status;

2, App End Interface registration is also configured into a formal online environment;


You can then receive a notification on the app side.



Reference:

1, Http://push.baidu.com/doc/guide/faq_ios

2, http://blog.csdn.net/yipanbo/article/details/47043779

3, http://www.tz1288.com/tz2012/ServiceCenter/FAQDetails.aspx?id=7059

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.