{.toc}
- Notifications are not showing up on my website
- No notifications in Google Chrome (desktop)
- No notifications in Google Chrome (mobile)
- No notifications in Mozilla Firefox
- Resetting notification permissions and cleaning cache
- Notification icons are not showing up in Apple Safari
{#notifications-are-not-showing-on-website}
Notimatica’s SDK prints handy error messages on the Developer Tools Console if it works in a debug-mode. You can switch it on by adding debug: true parameter to init() just like this:
{.line-numbers}
var Notimatica = Notimatica || [];
Notimatica.push(['init', {
project: 'PROJECT_ID',
subdomain: 'SUBDOMAIN',
debug: true
}]);Checkout our comprehensive documentation on JavaScript SDK with complete list of options.
To access Developer Tools Console:
Chrome: Right click on the page, click Inspect, and click the Console tab.
Firefox: Right click on the page, click Inspect element, and click the Console tab.
Safari: Go to Safari → Preferences → Advanced and make sure Show Develop menu in menu bar is checked. Then right click on the page, click Inspect element, and click the Console.
Chrome Android: Debugging on Chrome on Android requires a USB-cable to connect Android device to a computer. Please follow the Guide for remote debugging in Chrome
Firefox Android: Debugging on Firefox on Android requires a USB-cable to connect Android device to a computer. Please follow the Guide for remote debugging in Firefox
-
Make sure you are using a supported browser.
-
Check whether you’re not in Private Browsing mode, Incognito mode, Guest browsing mode or using Full-screen mode.
-
Check whether the following URLs are accessible:
https://site.com/manifest.jsonhttps://site.com/notimatica-sw.js
-
Make sure
notimatica-sw.jsis served from the same domain the visitor is currently on and it is not served by a redirect.
{#no-notifications-in-desktop-chrome}
-
Check whether you’re using modern version of Chrome v48+.
-
Check whether you’re not in Incognito mode, Guest browsing mode. Push notifications are not working in these modes.
-
Check whether you’re not in Full-screen mode. Chrome hides notifications in Full-screen mode.
-
Tap the ‘⋮’ menu, Settings → Advanced → Site settings → Notifications, make sure it's set to "Ask before sending (recommended)". On the same menu, go to "All sites", find your site and make sure notifications aren't blocked.
{#no-notifications-in-mobile-chrome}
If you're using an iOS device:
Currently Apple does not support web push notifications, only native app notifications.
If you're using an Android device:
-
Check whether you’re using modern version of Chrome v42+.
-
Check whether you’re not in Incognito mode or Guest browsing mode. Web push notifications do not work in Incognito and Guest browsing modes.
-
Tap the ‘⋮’ menu, Settings → Advanced → Site settings → Notifications, make sure it's set to "Ask before sending (recommended)". On the same menu, go to "All sites", find your site and make sure notifications aren't blocked.
{#no-notifications-in-desktop-firefox}
-
Check whether you’re using modern version of Firefox v44+.
-
Check whether you’re not in Private Browsing mode. Web push notifications are not working in Private Browsing.
-
Check whether you’re not in Full-screen mode. Firefox hides notifications in Full-screen mode.
{#resetting-notifications-permissions}
If you still can’t get push notifications work then follow these ultimate guide to reset permissions and remove Notimatica’s background worker. Even if all settings are correct at the moment, they could be incorrect in the past and this may affect notifications now.
-
Click the icon next your site’s URL.
-
Go to Permission → Notifications and make sure it is "Use global default (Ask)".
{.img-responsive .center-block}
- Clear site data - Go to Cookies and click on "Show cookies and site data" (Windows) or "# from this site" (Mac). Select all the entries at once and click "Remove". No entries should be left.
{.img-responsive .center-block}
{.img-responsive .center-block}
-
If you have HTTP website go to
https://your-subdomain.notimatica.ioand repeat steps 1-2 for your subdomain URL. -
Close all tabs and windows with your website or
https://your-subdomain.notimatica.io. -
Open a new tab with chrome://serviceworker-internals/ and press "Stop" and "Unregister" under all Scopes that contain your website domain or
https://your-subdomain.notimatica.io. If you have troubles with removing them, check whether all tabs and windows with your website are closed.
{.img-responsive .center-block}
- Congratulations, you've nailed it! Now open a new tab with your website.
-
Click the icon next your website’s URL.
-
Find notification permissions and change them from "Allow" to "Always Ask".
{.img-responsive .center-block}
- Then on the same dialog, click ">"" and then "More Information".
{.img-responsive .center-block}
{.img-responsive .center-block}
- In the popup appeared go to Permissions → Maintain Offline Storage and click ‘Clear Storage’.
{.img-responsive .center-block}
Well done! Now open close the popup and open new tab with your website.
On the top menu, go to Safari → Preferences → Notifications and remove your website from the list there. Then open a new tab with your website and subscribe to notifications once again. Safari will re-downloaded icons to your system and they will show up in notification prompt.
