I have a sensor that communicates via BLE periodically. The intention is for it to be a set it and forget it kind of thing. The user will check the app periodically but won't be doing so frequently. I need the app to be able to still receive the BLE data from the sensor even if it's running in the background so that when the user does check the app, they can see everything that's been happening.
I've read a lot from 2020 - 2021 where it seems many developers are struggling with the same issue.
Is there a supported way to do this now? How to have my app run in the background and still be able to receive BLE data?