"Go" mobile app why did you quit and receive a push message?

Source: Internet
Author: User

Why does the mobile app have to quit and receive a push message? Is it like a computer that some residual programs do not close after the app exits? How do I close the residue program completely?

For andriod users often have this kind of trouble, out of your phone, into the application management, kill all applications, and then go to brew a cup of tea, come back to see your mobile phone you will magically find, just kill the application many of their own resurrection, one of the still alive, and occasionally to you push a few messages. In fact, there are several ways to revive Andriod applications:


Monitoring System events: The Android system has a broadcast mechanism that notifies all applications that need to know about it when something happens to the system. This set of mechanisms for the conscience of the application, it can be based on the current state of the system to give users a better experience. However, for some of the application of ulterior motives, it used this mechanism, drilling a small loophole, clearly the user has exited it, it still woke himself, quietly lying in the background.

Daemon Wake up: Most of the resurrection applications have only learned the first style, there is another way is: Many applications in the start, will also create a daemon, like the beginning of the love form, the middle need to have a matchmaker, occasionally asked how you get along, there is no contradiction, If there is any problem, he will give you the solution and coordination, to restore your relationship.

Most of the resurrection is almost the first form of adoption, but different message push technology is not the same, among them about the message push to do a better friend Alliance push, our app is now using the Friend Alliance push, his stability and arrival rate is still very good.

In iOS, there is no relationship between the push messages you receive and whether the application is closed. If you do not want to receive the app's push message, just go to the settings in the notification, find the app, Cancel to accept his notification.

The notification system in iOS is sent to an iOS device by Apple's server, and if you agree to accept the notification the first time you open the app, Apple will register the notification ID for the device on the server and the app's server will receive the notification ID. When the app wants to send a notification, the app's server sends a message to the Apple server, and then the Apple server sends a message to the device, and it doesn't matter whether your app is turned on or not.

iOS another notification is a local notification, that is, the server does not need to send messages, but local according to the application set conditions to send you a notification, the most common is when you do not open the app for a few days, give you a notice to say what I want you to open and so on.

In Android, there are also iOS-like push systems. But Android apps have a lot more permissions than iOS, and there are some rogue apps that you can't shut down, and only use some third-party anti-rogue apps to deal with rogue apps. However, the ability to rogue application of anti-rogue application is actually more rogue ... The so-called "rogue will martial arts, no one can stop" ... from:https://www.zhihu.com/question/20366585from:https://www.zhihu.com/question/24938934/answer/79382621

"Go" mobile app why did you quit and receive a push message?

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.