Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetpack Focus: Disable Local Notifications #19560

Closed
staskus opened this issue Nov 4, 2022 · 1 comment
Closed

Jetpack Focus: Disable Local Notifications #19560

staskus opened this issue Nov 4, 2022 · 1 comment

Comments

@staskus
Copy link
Contributor

staskus commented Nov 4, 2022

Part of #19531

This task can be branched from and merged into #19531 to support disabling both local and remote notifications.

Task

Disable local notifications on the WordPress app when Jetpack is installed and has notifications enabled.

#19531 implements disabling of push notifications using NotificationServiceExtension. However, this extension is only triggered by remote notifications and cannot be used to filter local notifications.

Potential solution

Use wordPressNotificationsEnabled flag created in #19531 and avoid scheduling new WordPress local notifications based on this flag.

This is only a potential solution, any solution that allows to disable local WordPress notifications from Jetpack app and avoid showing already scheduled local notifications is welcome.

@mokagio
Copy link
Contributor

mokagio commented Nov 11, 2022

Pushing to 21.3. See also this comment on the PR linked in the description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants