On Mon, Aug 6, 2012 at 7:14 AM, Mario Bat <[email protected]> wrote: > Ok...the problem is that if I unregister from GCM the app will still receive > notifications until GCM sets it to unregistered that can wait for 2-3 days. > Thats what i heard at least... > The only way I see here is to write it to a file if its registered or not, > and when the push comes check in the file if it is registered. You have any > other suggestions?
Your data needs to be persistent. Whether you use a file, SharedPreferences, or a database, is up to you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.0 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

