do-not-disturb - Is there a way to check the status of "do not disturb" setting in iphone or android app?
问题描述
Currently I'm building ios and android apps on top of react native. I hope to check the status of "do not disturb" in phone settings so we can suggest user to turn it on if it's off. My question is: is there any way to check the status of "do not disturb" settings programmatically? Thanks!
解决方案
推荐阅读
- powershell - 在 PowerShell 中调用 API
- php - PHP 验证 .m3u 文件中的 file_exists
- sql - 行级安全谓词过滤器
- java - 无法在活动中将数据获取到 textView
- git - Git 是否有可能仅从 .git 文件夹中恢复删除文件?
- c - 返回局部变量地址的函数在不同版本的 gcc 中的行为不同?
- javascript - 如何将 iframe 源基于两个下拉列表的值?
- .net - 什么正则表达式可以匹配一个单词,但前提是该单词不是点分隔的单词链的一部分?
- qt - Qtwayland eglfs输入在没有root的情况下不起作用
- dialogflow-es - Dialog dialogflow @sys.date 返回日期和默认时间