Android GCM (push notification): device doesn't receive notification if application is stopped

后端 未结 3 888
北恋
北恋 2020-11-30 06:29

I use push notification (GCM) in my Android project.

According to GCM tutorial I implemented broadcast receiver and registered it in AndroidManifest.xml

3条回答
  •  心在旅途
    2020-11-30 07:35

    According to Francesco Nerieri in this android-gcm thread:

    So if you force stop the app, the intended behavior for ICS is for the app to not receive the message. In JB this means that GCM will also unregister the app, this is an unfortunate behavior and we are working to change this (the unregister part in JB).

提交回复
热议问题