Web Push Intro

Overview

Push notifications have been lost from the web for a long time. As an important feature of PWA, Web Push allows users to selectively receive the most up-to-date information on the site and allows you to effectively re-engage themwith customized, relevant content. The Push API and Notification API open a whole new set of possibilities for you to re-engage with your users.

Web Push is based on Service Worker, including Push API and Notification API.

For simplicity, we refer to Web Push based on Web Push Protocal as the Standard Web Push, and the Web Push implemented before Chrome 52, we call it GCM Web Push.

Following the Standard Web Push for browsers such as Chrome, Firefox and Opera, UC Browser finally supports standard Web Push in the latest browser (v12.0).

The following figure lists the current Standard Web Push Support:

web push

How to implement Web Push

We can see that Web Push Protocal defines a series of standards from subscription to push, including technical details that are complex and numerous. Taking into account the developer's learning costs and the cost of implementation, UC team introduced a Standard Web Push based called UCCM (UC Cloud Messaging) that made Web Push easy to implement.

Web Push, implemented using the UCCM solution, is also a standard Web Push that runs on a browser that implements standard Web Push (not just UC browsers).

If your site has implemented the Standard Web Push in other browsers, then all you need to do is: Detect if Web Push-related scripts are also running on the latest UC Browser, and test if the functionality is normal. By doing this, your site also has the Push functionality in the latest UC Browser.