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

keeplive.stop()无法停止保活,会再次启动 #13

Open
jiangxuwe opened this issue Apr 9, 2020 · 1 comment
Open

keeplive.stop()无法停止保活,会再次启动 #13

jiangxuwe opened this issue Apr 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jiangxuwe
Copy link

使用的XPush版本(必填)
implementation 'com.github.xuexiangjys.XPush:keeplive:1.0.0'

如何重现(必填)
重现的步骤:
退出app调用keeplive.stop()
后台进程会再次被拉起,依次回调为
onStop()
onWorking()
onWorking()
onWorking()

期望的效果
调用keeplive.stop(),则不再保活,即onStop()后不再被拉活

截图

设备信息
请填写一下你运行设备的信息,信息越全越有助于我理解问题

  • 设备名: 华为mate20 pro
  • Android版本: Android 9.0
  • 设备型号 mate20 pro
  • 系统版本 EMUI 9.1.0

附加信息

@jiangxuwe jiangxuwe added the bug Something isn't working label Apr 9, 2020
@MikiHu
Copy link

MikiHu commented Jul 14, 2021

根本就没有KeepLive.stopWork()这个方法,怎么停止保活机制???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants