Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook 3 hours ago
Tripp★ Posted April 5 Share Posted April 5 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 More sharing options...
Stuart Silvester Posted April 5 Share Posted April 5 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 Tripp★ 1 Link to comment Share on other sites More sharing options...
Tripp★ Posted April 5 Author Share Posted April 5 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". No worries, so I tap on "Permissions": And this is where I am stumped again. Tapping on this takes me to my notification settings for the site: Where everything is set to allowed. And yet: Link to comment Share on other sites More sharing options...
Randy Calvert Posted April 5 Share Posted April 5 It sounds like you have them specifically disabled on your device. https://browserhow.com/how-to-enable-or-disable-browser-notification-on-android/ Link to comment Share on other sites More sharing options...
Tripp★ Posted April 5 Author Share Posted April 5 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 More sharing options...
Stuart Silvester Posted April 5 Share Posted April 5 Do you use Google Workspaces? "Managed by" suggests that your device could have a policy on it set by your organization to block web push notifications. Link to comment Share on other sites More sharing options...
Tripp★ Posted April 5 Author Share Posted April 5 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 More sharing options...
Tripp★ Posted April 5 Author Share Posted April 5 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 More sharing options...
Recommended Posts