Jump to content

Push Notification for Google Chrome, Android: "Permission was denied in this browser"


Recommended Posts

Greetings,

I'm facing a frustrating issue with my phone when I try to enable push notifications on my site. It just reads: "Permission was denied in this browser." I was wondering if there's a way to troubleshoot this problem. It seems that my notifications are not disabled, and Google Chrome suggests that they are "Managed by the site." Additionally, there are no indications in my phone's notification settings that they're turned off.

This situation makes me suspect that something has gone wrong, and I'd be happy to provide more details upon request.

I've tried clearing my cache, deleting all data made by my browser, and even uninstalling the app as best as I can and reinstalling it, which triggered the need to re-sign in, so cookies were deleted too. But I still get the same error.

Thanks in advance.

Link to comment
Share on other sites

8 minutes ago, Stuart Silvester said:

Tap on the padlock/i icon in the address bar and then tap on permissions. This should let you change your device settings to allow notifications

Yeah, so this is where things get dicey. Apparently according to Chrome notifications are indeed "Blocked". 

Could contain: Text, Electronics, Mobile Phone, Phone, Page

No worries, so I tap on "Permissions": 

Could contain: Text

And this is where I am stumped again. Tapping on this takes me to my notification settings for the site:
Could contain: Electronics, Mobile Phone, Phone, Text

Where everything is set to allowed. And yet:

Could contain: Text

Link to comment
Share on other sites

Hi there Randy. I thought this as well, initially and I had a look through it all but it's all allowed. 

The menu was a little different as I'm on Android 13/One UI version 5.1 but under the Apps setting Chrome and my PWA site app show as allowed and again under notifications, it's allowed.

Link to comment
Share on other sites

Not as far as I am aware, no. The managed by thing says my website name which I censored because it's NSFW. For the record, I did try doing it here (For invisioncommunity.com) too, but I had the same issues.

I will look into this Google Workspaces thing - but as far as I am aware, I have not set it up nor do I even know what it is.

Update: Yeah, no. I don't have this set up. I've never used it and have no need for it.

Link to comment
Share on other sites

Update II: So, I went to https://simple-push-demo.vercel.app/ to debug it and it accepted it, and I was able to send a push notification to my phone. I go back to my site, and the option to enable push notifications appeared again, so I enabled it.

Lo-and-behold, it now JustWorks™️

I have no idea why. I have not even an inkling. But there we go. Problem solved.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...