Hello.
We are developing an Android Push receiving app. Of course, the reception is working well right now... There seems to be the following problems.
Force Kill App, other services push receiver services are also terminated, so more
This is the point where no abnormal reception is received.
Log... 01-16 15:21:33.098 2027-2027/? W/GCM-DMM: broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.techin.pushnext (has extras) }
If you look at other online sources, there are many ways to reinvigorate the service if you force it to terminate it. I don't know if I didn't find it
Even if Gmail app, Whatsapp, and Kakao Talk were forced to shut down, push reception was curtailed.
I would appreciate it if you could give me a guide or a direction.
android forced kill application force-quit
The normal situation that Android intended is not to receive a push when Force Stop is achieved through Android settings. To understand this, prior learning of the stopped state of the Android application is required.
When you install the app from ICS, the application enters the stopped state by default. This is why all broadcast receivers and services will not work unless you manually run the app. This does not receive push or broadcast receivers because it enters the stopped state even when "Set > Forced Shutdown".
In the article you posted, you said that apps like Kakao Talk can receive push well. We need to test it again. This is because there is no way to programically disable the forced shutdown state. For your information, the push is not received on Nexus 6P that I have.
Related information can be found at the link below.
If the app was forced to shut down.If the meaning of this is that you press the Recent Tasks button on the Android (navigation bar) to end the app with a swipe, it is normal to receive a push.
© 2024 OneMinuteCode. All rights reserved.