为什么谷歌帐户登录所需的GCM工作低于4.0.4 OS设备?所需、帐户、设备、工作

2023-09-05 00:27:35 作者:╰让自己笑的、更灿烂╰╮

Android开发者文档说:

Android developer documentation says :

它使用谷歌服务的现有连接。对于pre-3.0的设备,这需要用户建立自己的谷歌账户在移动设备上。一位谷歌帐户不是在运行Android 4.0.4或设备的要求较高。

It uses an existing connection for Google services. For pre-3.0 devices, this requires users to set up their Google account on their mobile devices. A Google account is not a requirement on devices running Android 4.0.4 or higher.

为什么该帐户登录是必需的。如何谷歌已经删除了必要的设备> 4.0.4?

Why that account login is required . How google has removed that necessity for devices > 4.0.4 ?

推荐答案

谷歌帐户登录,不再需要GCM工作。它曾经被要求进行登记GCM,但使用甚至升级Froyo和姜饼的谷歌帐户最近的播放服务的更新停止。

Google account login is no longer needed for GCM to work. It used to be required for registration to GCM, but a recent Play Services update stopped using the Google account even on Froyo and Gingerbread.

如果要注册到GCM与播放业务(即通过GoogleCloudMessaging.register),你不再需要在任何Android版本配置谷歌帐户。如果您使用的是德precated库(GCMRegistrar.register),你仍然需要在pre一个谷歌帐户4.0.4版本。的

更多详情请见https://groups.google.com/forum/#!topic/android-gcm/ecG-RfH-Aso和GET_ACCOUNTS同时采用GCM许可 - 这是为什么需要