Before, some students in the group asked me some questions about push. After answering them, I think this topic is quite useful, because almost most people will encounter this problem, so I will write an article to summarize it for you.

1. Why push?

Push function can be said to be a necessary function of any App nowadays, because it can push messages every day, improve daily life ah, users have not opened for a long time, push a message to recall the user ah.


Generally speaking, the push is done by the system. For example, the push of iOS is done by Apple itself at the system level and can be pushed to users at any time.


As for Android push, Google has its own push service, which is also system-level, called GCM, Google Cloud Messaging. However, as we all know, Google’s service cannot be used at all in China, which means that we have to use third-party push service.

2. Why use third-party push service?

Because of the restriction of GCM in China, this is also an opportunity. Therefore, many push service companies have been derived in China.


, most companies will choose to use third-party recommendation for push this matter myself do it is quite troublesome, need to server resources, the development and the backstage management, statistics, etc., for some big company itself has the resources to do this thing, and because of security concerns give priority to their own doing, but most of the small and medium-sized companies is not in the waste of resources, especially start-ups, It is more urgent to focus resources on their core business, so most small and medium-sized Internet companies will choose third-party push services.

3. What third party services are available?

At present, the better push services probably include Xiaomi push, Tencent pigeon push, Baidu push, aurora push, Umeng push and so on. Most of these push services have the following characteristics:


Of course, some companies also charge for their apps, which claim to be more stable and have higher delivery rates, but most of them still use the free version.


The service will be killed

Due to the mechanism of Android system, background push Service will be killed by various active or passive behaviors, and once the Service is killed, it means that it cannot receive push messages.


Multiple apps share a push channel

What does that mean? If multiple apps use the same push service, they share the same message channel. Even if your app push service is killed, your app push can receive messages as long as the user opens other apps that integrate this push service.

4. Which tweet is better?

Every push service claims to push the arrival rate is very high, as our home delivery service are less likely to be killed, which own push more stable and more assured, however, I would say that’s about the same, technically you can achieve, others can realize, arrival rate is about the same, according to my observation, on average, push arrival rate can reach 70% are good, So how to choose?


What’s a little bit special about this? Some push services have their own home brand mobile phones, such as Xiaomi has its own mobile phones, and on MIUI system, Xiaomi push is a system-level service and will not be killed. After all, a family is not stupid enough to kill its own home service, right? So that’s a huge advantage. Similar Huawei push services will not be killed on your home phone system.


Major mobile phone manufacturers all advertise their own mobile phone market share first, but I would like to say that Android phones in the market today are only divided into Xiaomi phones and other phones, what does that mean? That is, Xiaomi phones are the first in the market share, and far ahead of other phones, which can be seen from the data of our own app. Here is an active ranking data of Android devices released by Umeng, and the address is here: http://www.umindex.com/


For your convenience, I have taken a screenshot:



As can be seen from the figure above, 7 of the top 10 are Xiaomi phones, and the overall market share of Xiaomi phones is indeed the first, followed by Samsung and Huawei, followed by Oppo, Vivo and Meizu.


Therefore, the market share of Xiaomi mobile phone and the feature that Xiaomi push can not be killed on MIUI make it the first choice to choose Xiaomi push.

5. To summarize

Therefore, if your app wants to save trouble, it is recommended to integrate xiaomi push directly.

If your app wants to optimize push, you can integrate multiple push services and use different push services for different channels, such as Xiaomi push, Huawei push, carrier pigeon push, etc., but this is also more troublesome, how to do it depends on your own trade-offs.

PS: I guarantee to my stormzhang handsome, this article will definitely not be charged any advertising fees, all are their own practice down conscience recommendation!

This article is originally published in wechat public number “Googdev”, not only is the Android original dry goods to share, perhaps the most humane technology public number, reproduced please be sure to indicate the source!