How did you get push notifications to work?

For those of you that have push notifications working. How did you get them to work?

I’ve browsed the community and it appears the feature was launched 18 months ago and has been in and out of preview/beta. People appear to have had varying success with it over the last 18 months.

If they’re working for you please shed some insight on how you were able to get them to work. If you had issues that were solved, please share any insights on troubleshooting solutions.

I don’t have anything to add here, I have commented on threads like this a lot of times to say that to my knowledge, push notifications has never been out of beta. It’s too unreliable and it might not fully be in Glide’s control, devices’ OS may play a role here.

I don’t buy that it’s the operating system. There are several PWA push notification test services to see if PWA notifications work on your device, and they all work seamless. I’ve tried several including progressier.com, they have a PWA demo app you can add to home screen, and their push notifications work flawlessly on my phone, they have the same settings as my Glide app.

It has to be a Glide issue or a service partner issue. iOS enabled web push notifications over 18 months ago, it’s no longer in it’s infancy stage. Many service providers have figured out how to get it to work seamlessly on all devices consistently.

@NoCodeAndy Do you have any insights on push notifications recently? What’s Glide’s stance on this?

I use push notifications in several of my client’s apps and they work great. A few tricks I’ve picked up along the way:

  • Make sure you’re using a booelan column on the users profile table to store their “Request to allow push notifications” response. Also, make sure it’s an actual value saved with that user vs. making the column “user-specific”.
  • Ensure that any of your actions that “Send” notifications are conditional to the signed-in user’s preference.
  • If a user isn’t receiving notifications, there could be several factors affecting delivery. If user has signed in/out of different accounts on the installed app, or previously disabled notifications, then PN tend to fail. Here are the steps I’ve found to “restore” push notification functionality to any given user:
  • Delete the installed app
  • Clear browsing history
  • If your “Request to allow push notifications ” action is conditional to only run when the user hasn’t allowed them yet, then make sure to clear that column (reset their settings).
  • Re-install the app & sign back in.
8 Likes

Looking forward to this response. They’ve been available for 18 months I’d hope they’re inching toward a consistent solution. Many other PWAs utilize push notifications seamlessly for all devices.

Thank you for the thoughtful response. I would pay you to help me get this sorted, do you offer consulting calls?

1 Like