当应用程序未运行时,小米没有收到通知 [英] Xiaomi does not receive notification when application is not running

查看:163
本文介绍了当应用程序未运行时,小米没有收到通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google推送通知的应用程序。应用程序在小米手机中运行时会收到通知,否则当它被杀时不会收到通知。

如果我们想要在应用程序被杀时收到通知,那么我们需要允许从xiaomi的安全应用程序手动启动自动重启应用程序。我希望有任何技巧可以在不询问用户的情况下以编程方式执有没有办法做到这一点?





http ://en.miui.com/thread-33826-1-1.html

解决方案

MIUI 6 &安培; 7:

MIUI省电模式默认设置为标准(后台访问位置服务和网络将受到限制)

在哪里设置:

设置 - >其他设置 - >电池&性能 - >管理应用程序的电池使用情况 - >省电模式 - > 设置为关闭(MIUI不会限制后台活动)

I am working on an application where I am using Google Push Notification. Application receives notification when it is running in Xiaomi phone otherwise when it's killed it does not receive notification.

If we want to receive notification if application is killed then we need to allow auto restart app manually from security app of xiaomi. I want any trick to do this programmatically without asking user. Is there any way to do this ?

http://en.miui.com/thread-33826-1-1.html

解决方案

After MIUI 6 & 7:

MIUI power saving mode is default set to "Standard" (Background access to the location services and the network will be restricted)

Where to set:

Settings -> Additional settings -> Battery & performance -> Manage apps battery usage -> Power Saving Modes -> Set to Off (MIUI won't restrict background activities)

这篇关于当应用程序未运行时,小米没有收到通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆