简体   繁体   中英

How can I turn off push notifications of other apps when Im using my app

I created an app which receives push notifications from my server. At the same time, if some other app is sending push notifications (for eg, whatsaap, twitter), the notification is getting displayed when I'm using my app. I want to hide all other app's push notifications except my app's push notifications. Can this be done in iOS? I want my app to receive push notifications only from my server but not from the other apps.

Thanks in advance.

Try to think like your customer. Would they like to receive the push notifications of the other apps (whatsapp, twitter, the notification that a very important email just arrived)? Of course they would. Your App is one of many and most probably not the most important one they own.

Let me provide some background first.

Your app can only receive notifications from your service/server.

The user might have apps that are receiving notifications from the respective service/server. eg if the user has FB app, then it would be receiving notification from FB servers.

In the end, you are only responsible for managing your service/server.

There is no way for you to block notifications that are received from other services from your app.

Hope this helps.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM