How to Set Up Push Notifications

Barbermonger has a mobile app! Sort of. Read below to find out how exactly to set up push notifications for chat and the forum on iOS and Android.

What is a PWA?

Barbermonger doesn’t have a mobile app in the true sense of the word… you don’t go on the App Store or Google Play Store to download a stand-alone app like you would for Discord or social media. Yet. Instead, Barbermonger takes advantage of a different kind of mobile application so you can still get push notifications on your phone. It’s called a PWA.

PWA stands for Progressive Web App. PWAs are a type of web/browser-based application that doesn’t require a whole different coding language and maintaining an app on two separate platforms in order to function. PWAs work out of the box on all mobile devices (or any device, really) that you can run a browser on. You can even install Barbermonger as an app on your desktop computer! (We won’t be covering how to do that in this guide though.)

For this guide, we’ll be using Google Chrome as the official PWA installer – do note, however, that you can technically use whatever browser you want. Chrome, Firefox, Safari, Edge, one of the dozens of more niche privacy browsers… if you can visit Barbermonger on it and it looks good and works fine, you can use it for your PWA install. Just note that setting names and options may be different if you’re installing using something other than Chrome.

[!warning] WARNING
Turn off all ad blockers and VPNs on your phone before you download the PWA. These can sometimes interfere with the manifest. You can turn them back on after the app is installed!

Quick Jump

Installing a PWA and setting up the push notifications is a slightly different process depending on if you are on Android or iOS, so we’ve covered each one separately. Scroll down to keep reading, or jump to the sections:

Android

iOS

Android PWA Installation and Push Notification Setup

Installing the PWA

Step 1: go to the forum on your phone, in the browser you want to use for the PWA. Make sure you are on the homepage, don’t navigate elsewhere; wherever you are when you install the PWA becomes your PWA’s homepage.

Step 2: Tap on the three dots next to the address bar to open your page settings. If not on Chrome, this is where you would normally go to do things like add to favorites, get the page link, etc.

Step 3: Look for the options to “Install and Create Shortcut”, or “Add to Phone” and tap it.

Step 4: You should now have a popup asking you what you would like the name of your install to be. Name it “Barbermonger”, or whatever other name you like. Tap Install or Okay.

Step 5: Wait for a minute or two. Speed of install depends on your phone. When completed, you’ll get a notification saying the app has been installed.

And that’s it! You officially have the PWA installed on your phone. You can now proceed to set up your push notifications.

How to Set Up Your Push Notifications

The only real downside to a PWA versus a native Android app is that Android makes setting up the notifications a bit of an involved process. It requires some initial setup to get working. The good news is, it’s a one-time setup. Once you do it once, as long as the PWA is installed on your phone, you’ll never have to do it again.

[!attention] BEFORE YOU DO ANYTHING ELSE!
Completely close the PWA app on your phone (open your app drawer/app tray, swipe up to clear it) and reopen it to restart it. This is like rebooting your PC.

Sometimes, when the app is first installed or when you are reinstalling, the service worker that sets up the push notifications does not turn all the way on the first time. The site will still let you set up, but nothing will happen and you won’t get the confirmation notification.

By closing the app and reopening, you make sure the service worker is turned all the way on so the push notifications can go through.

Part 1: The Forum Setup

The first step is on the forum itself. Open the PWA, and on the menu bar, tap your user icon, then Preferences. Scroll to the right in the Preferences menu and tap on “Notifications”.

The setting you want for your phone is “Live Notifications”. On first time setup, it should say disabled. If you’re coming back to set up your notifications again, or if you’re redoing your notification settings, it may be on a different option.

You have two options here: Enabled will send you push notifications for ANY forum activity that appears on the Notification bell tab. Enabled for chat only means you’ll only get a push notification for anything happening in the chat.

Once you’ve picked either Enabled or Enabled for chat only, scroll all the way down and tap “Save Changes”.

[!tip]
Coming back here because you’ve had an issue with your notifications? Make sure your Live notifications is on DISABLED, hit Save Changes, then select your enable option and hit Save Changes again. Disabling then hitting ‘Save Changes’ before re-enabling resets the notifications on your PWA.

If you successfully enabled push notifications, you should immediately get a test confirmation notification on your phone letting you know the enabling was successful. If that doesn’t appear, try the tip above. Failing that, close the app and reopen and repeat the steps.

Part 2: The PWA Itself

Now that you have the push notifications enabled on the forum, the rest of the changes will be done in your phone’s App Settings.

Go to the App Settings for the Barbermonger PWA on your phone. How you do this depends on what kind of phone you have, but should generally be the same if you’re on the same version of Android. The below screenshots are all from a Google Pixel 9XL running on Android 17.

Once you’re in the App Info/App Settings, first tap on “Notifications” and make sure Notifications are enabled. At the same time, make sure any kind of Notification organizer your phone may have is turned off; Android in particular will treat the notifications as “low priority” and try to silence them:

Next, go back to the App Info/App Settings and find the App Battery Usage setting and tap on it. You want background usage to be turned ON at minimum:

If you find you’re having issues getting notifications still, tap on the background usage settings and set the Barbermonger app to be “unrestricted”. Why? Optimized can sometimes still put the PWA to sleep in the background despite what you just set above, and you won’t get notifications until you open the PWA again. Then you’ll suddenly get all your notifications at once.

Finally, the last step: go back to App Info/App Settings again and find the Unused App settings. If you want to ensure you continue to receive notifications even if you aren’t actively using the PWA anymore, set “manage app if unused” to OFF:

And that’s it! You should now receive all notifications you’ve set to have on for the forum and the chat. :araragi_dance:

IOS PWA Installation and Push Notification Setup

Installing the PWA

[!note]
The below screenshots were taken using Safari… you can do this on Chrome on iOS, but the version of Chrome available on the phone used for the screenshots didn’t have it. If your browser doesn’t: Safari always works, and the PWA will work the same either way.

Step 1: go to the forum on your phone, in the browser you want to use for the PWA. Make sure you are on the homepage, don’t navigate elsewhere; wherever you are when you install the PWA becomes your PWA’s homepage.

Step 2: Tap on the three dots on the bottom right to open your page settings. If not on Chrome, this is where you would normally go to do things like add to favorites, get the page link, etc.

Step 3: On Safari, it’s multiple steps: from the three dots, you hit ‘Share’ and then ‘Add to Home Screen’:

Step 4: You should now have a popup asking you what you would like the name of your install to be. Name it “Barbermonger”, or whatever other name you like. Make SURE the setting ‘Open as Web App’ is ON. This is how you get the PWA! Tap on ‘Add’ or ‘Install’.

And that’s it! You officially have the PWA installed on your phone. You can now proceed to set up your push notifications.

Push Notifications on iOS devices

The only real downside to a PWA versus a native iOS app is that iOS makes setting up the notifications a bit of an involved process. It requires some initial setup to get working. The good news is, it’s a one-time setup. Once you do it once, as long as the PWA is installed on your phone, you’ll never have to do it again.

[!attention] BEFORE YOU DO ANYTHING ELSE!
Completely close the PWA app on your phone (open your app drawer/app tray, swipe up to clear it) and reopen it to restart it. This is like rebooting your PC.

Sometimes, when the app is first installed or when you are reinstalling, the service worker that sets up the push notifications does not turn all the way on the first time. The site will still let you set up, but nothing will happen and you won’t get the confirmation notification.

By closing the app and reopening, you make sure the service worker is turned all the way on so the push notifications can go through.

[!tip]
iOS users setting up their notifications for the first time get a handy ‘Enable Notifications’ banner they can click through. This guide will cover the manual process, but you can also use that banner!

The Forum Setup

Open the PWA, and on the menu bar, tap your user icon, then Preferences. Scroll to the right in the Preferences menu and tap on “Notifications”.

The setting you want for your phone is “Live Notifications”. On first time setup, it should say disabled. If you’re coming back to set up your notifications again, or if you’re redoing your notification settings, it may be on a different option.

You have two options here: Enabled will send you push notifications for ANY forum activity that appears on the Notification bell tab. Enabled for chat only means you’ll only get a push notification for anything happening in the chat.

Once you’ve picked either Enabled or Enabled for chat only, for iOS users, you’ll immediately get a request to Allow notifications. You will only get this prompt ONCE as long as the PWA is installed on your phone. If you tap ‘don’t allow’, you’ll have to fix it in Settings → Notifications → Barbermonger.

[!tip]
Coming back here because you’ve had an issue with your notifications? Make sure your Live notifications is on DISABLED, hit Save Changes, then select your enable option and hit Save Changes again. Disabling then hitting ‘Save Changes’ before re-enabling resets the notifications on your PWA.

If you successfully enabled push notifications, you should immediately get a test confirmation notification on your phone letting you know the enabling was successful. If that doesn’t appear, try the tip above. Failing that, close the app and reopen and repeat the steps.

Now, unlike with Android, once you’ve done the ‘Allow’ prompt… you’re done! You should now receive all notifications you’ve set to have on for the forum and the chat. :araragi_dance: