为什么谷歌帐户登录所需的GCM工作低于4.0.4 OS设备? [英] Why google Account login is required for GCM to work for devices below 4.0.4 OS?
问题描述
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与播放业务(即通过<一个href="http://developer.android.com/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html"><$c$c>GoogleCloudMessaging.register$c$c>),你不再需要在任何Android版本配置谷歌帐户。如果您使用的是德precated库(<一href="http://developer.android.com/reference/com/google/android/gcm/GCMRegistrar.html"><$c$c>GCMRegistrar.register$c$c>),你仍然需要在pre一个谷歌帐户4.0.4版本。的
更多详情请见<一href="https://groups.google.com/forum/#!topic/android-gcm/ecG-RfH-Aso">https://groups.google.com/forum/#!topic/android-gcm/ecG-RfH-Aso和<一href="http://stackoverflow.com/questions/18444227/get-accounts-permission-while-using-gcm-why-is-this-needed/18444343">GET_ACCOUNTS同时采用GCM许可 - 这是为什么需要
这篇关于为什么谷歌帐户登录所需的GCM工作低于4.0.4 OS设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!