是否可以禁用 Android 固件更新通知?
我有一个在手机上运行的应用程序,该应用程序不应以任何方式进行触摸或交互。我希望我的应用程序能够 24/7/365 正确运行。
我遇到的唯一问题是,每隔几周左右,就会弹出一条有关更新设备固件的通知。它不会立即中断应用程序的运行,但几天后没有人接受/拒绝固件下载,应用程序就会崩溃。
有没有什么方法(以编程方式或通过更改手机设置)来禁用这些固件更新弹出窗口,或禁用一般的自动固件更新?
非常感谢!!
I have an application running on phones that aren't meant to be touched or interacted with in any way. I want my application to run correctly 24/7/365.
The only issue I'm having is that every few weeks or so, a notification pops up about updating the firmware on the device. It doesn't immediately interrupt the app running but after a few days of no one accepting/declining the firmware download, the app crashes.
Is there any way (either programatically or by changing phone settings) to disable these firmware update popups, or to disable automated firmware updating in general?
Thank you very much!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
3 个简单步骤:
1.安装免费的系统调谐器
2. 前往初创公司
3.选择Google服务框架
4. 取消选中 SystemUpdateInstallDialog 和 SystemUpdateInstallDownloadDialog
重要提示:您需要 root 设备才能运行此应用程序!
停止系统更新通知的简单方法...
来源:http://forums.androidcentral.com/google-nexus-7-tablet-2012/234006-how-do-i-remove-system-update-notification。 html
3 easy steps:
1. Install free System Tuner
2. Go to Startups
3. Select Google Services Framework
4. Uncheck SystemUpdateInstallDialog and SystemUpdateInstallDownloadDialog
IMPORTANT: You need a rooted device to run this app!
Simple and easy way to stop the system update notification...
Source: http://forums.androidcentral.com/google-nexus-7-tablet-2012/234006-how-do-i-remove-system-update-notification.html
是的,可以
设置
自动下载并安装更新
的直接链接。将其关闭。
第 3 方
您还可以考虑(这是我个人所做的)安装第 3 方软件,例如 NetGuard(例如)并禁用与检查更新的系统进程的互联网连接。如果该软件/应用程序没有互联网连接,它不会向您发送通知。
关闭通知
进入负责更新的应用程序的设置。并关闭所有与通知相关的权限。
您不会被这些通知所困扰。
Yes, it is possible
Settings
Download and install updates automatically
.turn it off.
3rd party
You may also consider (this is what I personally do) installing 3rd party software like NetGuard (for example) and disable internet connection to the system process that checks for updates. If there is no internet connection for the software/app it will not badger you with notifications.
Turn off notifications
Got to the settings of the app responsible for updates. And turn off all permissions related to notifications.
You won't be badgered with the notifications.
为了避免与原始问题混淆,我将首先重复 Alex 的赏金问题:
所有基于 HTTP 的消息(包括推送通知)均通过 Google 的 Firebase Cloud Messaging (FCM) 后端通过服务器端端点
https://fcm.googleapis.com/fcm/send
,如下所示Firebase Cloud Messaging HTTP 协议的参考中进行了描述。客户端端点似乎没有公开记录,但是人们可以认为阻止https://fcm.googleapis.com
应该可以完成这项工作。类似地,所有基于 XMPP 的消息都会通过端点
fcm-xmpp.googleapis.com
,如 Firebase 云消息传递 XMPP 协议。编辑: Alex 发现了另一个有趣的网址,即
notifications-pa.googleapis.com
(请参阅下面他的评论)。To avoid confusion with the original question I'll repeat the Bounty-Question by Alex first:
All HTTP-based messages -- including push notifications -- via Google's Firebase Cloud Messaging (FCM) backend go through the server-side endpoint
https://fcm.googleapis.com/fcm/send
, as described in the reference on the Firebase Cloud Messaging HTTP protocol. The client-side endpoint doesn't seem to be publicly documented, however one can suppose that blockinghttps://fcm.googleapis.com
should do the job.Analogously all XMPP-based messages go through the endpoint
fcm-xmpp.googleapis.com
, as documented in the reference on the Firebase Cloud Messaging XMPP protocol.Edit: Alex found another interesting URL, namely
notifications-pa.googleapis.com
(see his comment below).在 Android 上,您可以在通知栏中长按通知。应该会出现一个信息按钮。当您单击此按钮时,您将获得系统应用程序,该应用程序会创建通知。然后在此应用程序的设置中,您可以阻止每个通知。只是阻止所有。也许你会错过其他重要的通知,我不知道。
on android in the notification bar you can press the notification long time. than an info button should appear. when you click this button you get the system app, which creates the notification. then in the settings of this app you can block every notification. just block all. maybe you will miss other important notifications, i don't know.