sct / overseerr

Request management and media discovery tool for the Plex ecosystem
https://overseerr.dev
MIT License
3.79k stars 439 forks source link

iOS/iPadOS notification prompt for Web Push Notifications #3524

Open tarunkumar519 opened 1 year ago

tarunkumar519 commented 1 year ago

Description

iOS now supports web push notifications starting with iOS 16.4. In iOS settings > Safari> Advanced > Enable Push API and websites now may send notifications. Seems to be working with websites that enabled this (ex: twitter refer : https://www.xda-developers.com/how-enable-safari-notifications-iphone/)

This is working perfectly on iOS 16.4 and newer but notification prompt only occours after some changes are made to any settings in overseerr and inbuilt overseerr notifications arise.

Desired Behavior

When a website like Twitter is added to homescreen on iPhone/iPad twitter asks to allow push notifications using a button. If we click it a regular iOS notification prompt asks if to allow notifications or scheduled or dont allow.

Overseerr should have this button in settings under webpush so users can click on it to activate notification prompt.

Additional Context

No response

Code of Conduct

OwsleyJr commented 1 year ago

Already an open PR for this. #3421

tarunkumar519 commented 1 year ago

I agree with that pull request. But as per overseerr wiki docs, iOS notifications does not work. Since it does now, an update on that and also how to enable it in iOS would be good.

KevinEdry commented 1 year ago

Just popped in to check if there is an open issue for PWA notifications and there is! Waiting for this to be merged :)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mylogon341 commented 7 months ago

It would be great to get some movement on this. Is there anyone that can look at this @tarunkumar519 ?

tarunkumar519 commented 7 months ago

Having a button to prompt would be great. Currently there is no button, but overseerr asks to allow notifications at random time after making app PWA on iOS,iPadOS. I just open the app a few times and this prompt pops up. I have done this for my users. Adding button for this prompt should be easy, i will look into this or maybe someone can help

mylogon341 commented 7 months ago

Oddly, after you wrote that I launched the home screen PWA i'm asked for notification permissions straight away. I've used that link a bunch of times so your "at random time" is certainly true. Shame I know pretty much nothing about this stuff or I'd jump on it as well :/

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.