isRegisteredOnServer ()Checks if the device was successfully registered on the server side
isRegisteredOnServer ()
Checks if the device was successfully registered on the server side
Does the new GCM isRegisteredOnServer()check if the application is registered in GCM or on a third-party server? What is the difference between isRegistered()and isRegisteredOnServer()?
isRegisteredOnServer()
isRegistered()
If it isRegisteredOnServer()checks a third-party server, how will it work on a third-party server? Is there any specific function that will be implemented on a third-party server?
isRegistered() returns whether a pair of applications / devices is registered in GCM.
isRegisteredOnServer()returns whether the registration id has sent you to your server. He knows this because after that you will call setRegisteredOnServer().
setRegisteredOnServer()
GCMRegistrar.setRegisteredOnServer(context, true), Google, ( Google)
GCMRegistrar.setRegisteredOnServer(context, true)
GCMRegistrar.setRegisteredOnServer(context, false), .
GCMRegistrar.setRegisteredOnServer(context, false)
isRegisteredOnServer() .
.