Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:09:50+00:00 2026-06-18T16:09:50+00:00

In our app I would like to present the user so he can deactivate

  • 0

In our app I would like to present the user so he can deactivate GCM so that no more messages are received.

How can I do that/? I tried calling the
GCMRegistrar.unregister()
but the broadcast receiver still gives me messages.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:09:52+00:00Added an answer on June 18, 2026 at 4:09 pm

    You can do two things. First one is when the user disable the GCM service, the app should send to your server a message to update a true/false field in your DB and when you send a new notification push, you only send the notification token to the devices are enabled.

    Or, I don’t test this solution. When you’ll generate the notification in the device, you’ll check if the user disabled the notification. If the user does, the notification won’t be created (With a if sentence). You should use to save this functionality a shared preference.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to test the logging that happens in our app (an embedded
would like to build an app that can run on any of the new
We are printing up qr-codes for our android app, and would like to have
In our app, the user can navigate between pages using the toolbar, and Page
We would like to distribute our app internally within the company for dogfood testing,
We have data files which are encrypted in our wpf app. We would like
Because our app users report some crashes due to restored activities, I would like
We have a special mobile version of our site that we would like to
We have some drop downs in our app that we can NOT use ng-options
Our app uses a component that requires a license file in the directory with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.