aneonex / BitcoinChecker

Bitcoin Checker data module (v2)
MIT License
67 stars 23 forks source link

Bitcoin checker won't continuously run in background #204

Open Jgoynes123 opened 2 years ago

Jgoynes123 commented 2 years ago

Bitcoin checker won't stay running even with battery optimization off and background activity allowed. This is on a OnePlus 9

aneonex commented 2 years ago

I'm assuming this is a specific issue for OnePlus 9. Check the next threads: 1) https://forums.oneplus.com/threads/oneplus-9-cant-handle-background-apps.1477819/ 2) https://dontkillmyapp.com/oneplus

Jgoynes123 commented 2 years ago

Well it definitely worked fine before the recent android update bout 6 months ago. Been having this issue since then I use BTC checked for trading haven't been able to say trade since.

Jgoynes123 commented 2 years ago

I'm assuming this is a specific issue for OnePlus 9. Check the next threads:

  1. https://forums.oneplus.com/threads/oneplus-9-cant-handle-background-apps.1477819/
  2. https://dontkillmyapp.com/oneplus

So I've given permission to run in background, no restrictions on battery use, locked the app in multitasking and even left the app open in front of me and it stops running usually 5/10 times after 2 mins. It just doesn't update the price you have to close the app and restart it to get it to work again.

aneonex commented 2 years ago

A few additional questions: 1) How many price checkers have you created? 2) What update interval are you using? 3) Which exchange did you choose?

Jgoynes123 commented 2 years ago

It does the same thing with 2 or 4 different coins at a time. 10 second update. A bunch of different exchanges they all do the same.

Jgoynes123 commented 2 years ago

Here is an example of the issue. I have global update setting to 10 secs. Screenshot_2022-05-23-00-25-21-93_b783bf344239542886fee7b48fa4b892