Is it possible to create an app that it's sole purpose is to toggle on/off the facebook push notifications? (like a silence for facebook)?
If you give your app notification-access permissions you should be able to dismiss the notifications as soon as they pop-up, but the user will still get notified (sound or vibrating), although he won't see the notification when the device is unlocked as your app would have dismissed it.
Pushbullet does that.
In any case it's no use, the user can go to the Facebook app details and uncheck the notifications box.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.