Skip to content
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

Add an "autoHide" option to disable automatically hiding notification #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stephent92
Copy link
Contributor

  • Defaults to true (preserves existing functionality)
  • When set to false notifications received in the foreground will not
    be automatically hidden after three seconds

  - Defaults to true (preserves existing functionality)
  - When set to false notifications received in the foreground will not
    be automatically hidden after three seconds
@chemerisuk
Copy link
Owner

@stephent92 hm, can you describe your use case in more details?

@stephent92
Copy link
Contributor Author

@chemerisuk I work on an application that sends a push notification for new/removed assignments to a user, which will usually be received when they aren't in the activity that displays these assignments. Keeping the notification beyond the three second window allows the user to check it when they're ready (not all devices display a heads up notification by default so it ends up being hidden before they even see it)

@chemerisuk
Copy link
Owner

@stephent92

not all devices display a heads up notification by default so it ends up being hidden before they even see it

Check the latest version. Notifications for Android O+ now displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants