Closed nick433 closed 6 years ago
Perhaps start_sticky will be the savior. Not sure what causes the service and the app to just stop without it being a crash. But there was no crash, I confirmed on fabric.io and there was no crash message to my phone
Persistence is related to https://github.com/jimdc/TradeTracker/issues/94, but that issue deals more with restarting after a crash, instead of after (maybe) the Android OS kills the service thread.
start_sticky fixed this problem
Steps to reproduce the bug:
What you expected to see: Scan is still running and stocks are still there.
What you saw instead:
So the same problem I mentioned Sunday. I added stocks to confirm that indeed the scan wasn't running.