I'm testing the Physical Activity Recognition Detection Library, and for what I've been reading in the forums, this solution is not based on a static intent filter, meaning that once the service is killed it will no longer receive updates from the api. The solution to this will be creating a foreground service with a partial lock. This means that there is no way to use activity recognition in a service without having a notification in the status bar? Most of the time, the service is just waiting for the api update, is not doing work that justify the notification.
It is possible to use it as a static intent filter, like the "Intercepting SMS" example, or firebasemessaging, which don't required a notification in the status bar, the service is created if needed (when the api updates).
Thanks.
It is possible to use it as a static intent filter, like the "Intercepting SMS" example, or firebasemessaging, which don't required a notification in the status bar, the service is created if needed (when the api updates).
Thanks.