Push Notifications (ii) remote notifications

Source: Internet
Author: User

Remote notification

Notifications from remote servers to clients (requires networking), remote Push service, also known as APNs (Apple push Notification services)

Why do I need remote push notifications?

1. Traditional access to data limitations: As long as the user closes the app, they can't communicate with the app's server and get the latest data content from the server.

2. Remote push notification can solve the above problems: no matter whether users open or close the app, as long as the Internet, can receive the server push remote access, all Apple devices, in the networked state, will be with Apple's server to establish a long connection. Long-Connection: Time calibration, system upgrade, find the benefits of my iphone long connection: Fast data transfer speed, keep up to date status

I. APNs push notifications in detail? Workflow:1. Register APNS message push with program.
2. iOS gets devicetoken from APNs server and receives device token from the program. 3. Use the program to send device token to the program's push server program.
4. The service-side program sends messages to the APNS service.
5. The APNs service sends the message to the iphone application.

Two. Debugging the remote push feature of iOS, prerequisites:

1. Real Machine

2. Debug the required certificate file for push

1> Aps_development.cer: A computer can debug an app's push service

2> Ios_development.cer: The ability to debug a computer with a real machine (commissioning device)

3> iphone5_qq.mobileprovision: A computer can use a device to debug a program

Three. Publish Apps with push service

1. Aps_production.cer: If you publish a program that contains a push service, you must install this certificate

2. Ios_distribution.cer: The ability to publish programs to your computer

3. Qq.mobileprovision: A computer can publish a program

Push Notifications (ii) remote notifications

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.