Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

保活问题 #1

Open
JsonCooler opened this issue Aug 22, 2022 · 1 comment
Open

保活问题 #1

JsonCooler opened this issue Aug 22, 2022 · 1 comment

Comments

@JsonCooler
Copy link

我这边接了一个硬件,然后用了保活部分的module,使用策略用了All或者单独用JobService,当我的应用退到桌面的时候接收不到硬件传递过来的消息,我问硬件对接商说因为是蓝牙的,退到桌面后 无法接收到数据,说需要要么保持app在前台 或者添加前台服务,我单独自己写一个前台服务或用博主的库也没用,不知是否有和解决办法

@ByteYuhb
Copy link
Owner

可以先监听下蓝牙是否断开

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants