- Forum posts: 1
Feb 23, 2022, 9:35:49 PM via Website
Feb 23, 2022 9:35:49 PM via Website
Im currently working on an app that needs to listen bluetooth devices in background. I implemented bluetooth broadcast receiver that listens bluetooth devices in background but even after turning off battery restrictions for my app, android still keeps deinitializing broadcast receiver and it stops working after some time. I use xiaomi redmi note 7 for testing. Does anyone have any suggestion or solution how to improve my simple broadcast receiver solution and how to prevent android from deinitalizing broadcast receiver.
Thank you.