Disable "show notification on lock screen" for all apps

lsegura
New Contributor II

Does anyone know how to unchecked all of the "Show Notifications on Lock Screen" option for all the apps using an script?

2 REPLIES 2

thejenbot
Contributor III

Or maybe all except certain ones (like notifications from LMS or other school-related apps)?

garybidwell
Contributor III

https://github.com/matt4836/modifyNotificationCenter