Hello,

The application I'm working on uses GCM, but if you use the "Clear Data" in 
GSF the application does not receive more GCM, it only goes back to work 
when I force to generate a new token Instance Id and the method "
onTokenRefresh "it is not called at any time.
If you use the command: am startservice -a 
com.google.android.gms.iid.InstanceID --es "CMD" "RST" -n 
packageName/GcmRefreshTokenService
and  the "onTokenRefresh" method is called normally

I was thinking of using instanceId.getToken () from time to time and buy 
with the stored token, but do not know if this can happen any problems.

I would like some idea of what might be doing.
Thanks in advance.
Att:
Maykon da Silva de Siqueira

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/a0a867c6-5eac-4ffa-a8ee-edc5a9c22b45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to