Skip to content

Prevent receiving notification in forenground - android #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jhonytaveira opened this issue Jun 23, 2017 · 5 comments
Closed

Prevent receiving notification in forenground - android #80

jhonytaveira opened this issue Jun 23, 2017 · 5 comments

Comments

@jhonytaveira
Copy link

No description provided.

@jhonytaveira jhonytaveira changed the title Prevent receiving notification in forenground. Prevent receiving notification in forenground - android Jun 23, 2017
@lidanh lidanh self-assigned this Aug 17, 2017
@jklemmack
Copy link

@jhonytaveira Can you update the name of this issue to spell "foreground" correctly? It doesn't show up in searches.

@ddxxtony
Copy link

Try using this line, it works perfectly for me

protected Notification.Builder getNotificationBuilder(PendingIntent intent) {
...
if(super.mAppLifecycleFacade.isAppVisible()) return new Notification.Builder(mContext);
...
}

@stale
Copy link

stale bot commented Jul 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

@stale stale bot added the 🏚 stale label Jul 24, 2019
@stale
Copy link

stale bot commented Jul 31, 2019

The issue has been closed for inactivity.

@stale stale bot closed this as completed Jul 31, 2019
@dehypnosis
Copy link

hope this can be configurable

@0x2539 0x2539 mentioned this issue Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants