When targeting android 14, we should provide at least one foregroundServiceType for each service in manifest - https://developer.android.com/about/versions/14/behavior-changes-14#fgs-types
Which foregroundServiceType should be used for ActivityRecognition?
Should I use "location" or "health"?
Here is my service:
<service
android:name=".tracking.monitor.BackgroundDetectedActivitiesService"
android:enabled="true"
android:exported="false"
android:permission="com.google.android.gms.permission.ACTIVITY_RECOGNITION" />