Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用“ReadSmsManager.StartConsentAsync”,它工作正常。但是我有一个问题:官方文档说:“启用阅读短信服务,直到获得符合规则的短信或服务超时(超时时间为5分钟)”。我可以以编程方式停止此服务吗?
ReadSmsManager
ReadSmsManager.start(this)
基于以上三点,如果您的应用不想接收来自HMS Core apk的短信广播,您可以取消注册广播接收器或使用代码实现应用即使收到广播也不做任何处理。