我有一个应用程序,使用 GCM
接收通知。我注册了一个终端:
GCMRegistrar.register(this, SENDER_ID);
为了获得注册 ID,我调用如下代码:
final String regId = GCMRegistrar.getRegistrationId(this);
如果我在不同的应用中使用相同的SENDER_ID和API_KEY,那么每个应用的注册ID是否会不同?
我有一个应用程序,使用 GCM
接收通知。我注册了一个终端:
GCMRegistrar.register(this, SENDER_ID);
final String regId = GCMRegistrar.getRegistrationId(this);