You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @Aminoid!
I am currently struggling to get the activity recognition to work.
Starting the ActivityRecognition seems to work. I can see the native logs in adb logcat. But the subscribe callback is never called. Also the native logs in the ActivityDetectionBroadcastReceiver.onReceive method are never triggered. It looks like there is never an activity event fired.
I tried it in the Android Emulator as well as on a real device (Oneplus 5t).
Any ideas what the issue could be
Hello @Aminoid!
I am currently struggling to get the activity recognition to work.
Starting the ActivityRecognition seems to work. I can see the native logs in
adb logcat
. But the subscribe callback is never called. Also the native logs in theActivityDetectionBroadcastReceiver.onReceive
method are never triggered. It looks like there is never an activity event fired.I tried it in the Android Emulator as well as on a real device (Oneplus 5t).
Any ideas what the issue could be
My code looks like this:
Setup:
I had version conflicts so I had to set the following in
app/build.gradle
Do you have any idea what could cause these issues? Help is very welcome since I desperately need this functionality :)
Thanks!
The text was updated successfully, but these errors were encountered: