我已经在我的 nexus 7 上安装了新版本的 android 4.1.2。现在我所有使用旧 c2dm 系统的应用程序根本没有收到任何通知。
是否需要更改为新的 gcm 系统以支持 android 4.1.2 设备上的云消息传递?
我已经在我的 nexus 7 上安装了新版本的 android 4.1.2。现在我所有使用旧 c2dm 系统的应用程序根本没有收到任何通知。
是否需要更改为新的 gcm 系统以支持 android 4.1.2 设备上的云消息传递?
Short answer is YES.
Important: C2DM has been officially deprecated as of June 26, 2012. This means that C2DM has stopped accepting new users and quota requests. No new features will be added to C2DM. However, apps using C2DM will continue to work. Existing C2DM developers are encouraged to migrate to the new version of C2DM, called Google Cloud Messaging for Android (GCM). See the C2DM-to-GCM Migration document for more information. Developers must use GCM for new development.
see my answer how to integrate to GCM.