简体   繁体   English

禁用了推送通知的用户是否可以使用具有内容可用的推送通知?

[英]Do Push Notifications with content-available work for users that have disabled Push Notifications?

I'm looking into reliable ways of updating an iOS app with content of critical importance, when instructed to do so by a server. 在服务器指示的情况下,我正在研究用至关重要的内容更新iOS应用程序的可靠方法。

This would have to trigger regardless of the state of the app (foreground, background, not running, etc). 无论应用程序的状态如何(前景,背景,未运行等),都必须触发该事件。 Most sources seem to indicate that Push Notifications with the content-available: 1 parameter are able of doing this. 大多数消息似乎表明具有content-available: 1参数的Push Notifications能够做到这一点。

My question is, what happens if the user either presses Cancel when prompted to allow the app to receive push notifications, or turns them off afterwards ? 我的问题是,如果用户在提示允许应用程序接收推送通知时按“取消”,或随后将其关闭,会发生什么情况? Is he only not going to receive alerts anymore, or will the push notifications be entirely ignored (including the content update) ? 他是不是仅不再接收警报,还是将完全忽略推送通知(包括内容更新)? And if so, is there any other iOS feature that would reliably allow me to update the app's content (regardless of app state and without the user being able to disable it) ? 如果是这样,是否还有其他iOS功能可以可靠地允许我更新应用程序的内容(无论应用程序状态如何且用户无法禁用它)?

This is about iOS 7 and above. 这是关于iOS 7及更高版本的。

If user disallows the push notifications , you can not send them the notifications forcefully. 如果用户不允许推送通知,则无法强制向他们发送通知。

What kind of data you want to update afterwards? 您之后要更新哪种数据?

Most of the data can be changed dynamically by web services... Web服务可以动态更改大多数数据...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 注册仅适用于内容的推送通知 - Register for content-available push notifications only 在iOS 7推送通知中正确使用“内容可用” - Proper use of “content-available” in iOS 7 Push Notifications 使用解析服务器云代码发送推送通知,使用可用的内容不起作用 - Sending Push Notifications with Parse Server Cloud Code using content-available not working iOS 7.1是否打破了针对非报亭应用的内容可用(又称无声)推送通知? - Did iOS 7.1 break content-available (aka silent) push notifications for non-newsstand apps? 解析并快速处理:didReceiveRemoteNotification未接收到带有“ aps”:{“ content-available”:1}的推送通知 - Parse and Swift: Push notifications with “aps”: {“content-available”: 1} not being received by didReceiveRemoteNotification 我可以使用带有“内容可用”的Azure CustomTemplate Push通知在后台更新iOS应用吗? - Can I use Azure CustomTemplate Push notifications with “content-available” to update iOS app in the background? 推送通知不起作用 - Push notifications do not work 推送通知 Json 中“内容可用”的目的是什么? - The purpose of “Content-available” in Push Notification Json? 有多少用户启用了推送通知? - How many users have push notifications enabled? 当“内容可用”时,iOS远程通知不起作用:1 - iOS Remote Notifications not working when “content-available”: 1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM