-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(local-notifications): Adding check for
new Notification
support (…
…#295) * Adding check to see if `new Notification` is supported * Adding additional check to prevent test from sending empty notification on supported browsers * switching to `('Notification' in window)` for consistency * Renaming `checkNotificationSupport` to `hasNotificationSupport` Co-authored-by: jcesarmobile <jcesarmobile@gmail.com>
- Loading branch information
1 parent
72be326
commit a806f22
Showing
1 changed file
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters