HI? I have issue with android target 34: <https://...
# compose-wear
l
HI? I have issue with android target 34: https://github.com/android/health-samples/issues/276 any suggest for me? i try:
Copy code
<service
        android:name=".service.ExerciseService"
        android:enabled="true"
        android:exported="true"
        android:foregroundServiceType="health"
        android:permission="android.permission.FOREGROUND_SERVICE_HEALTH" />
but same issue. Thank you.
y
I'll follow up on the docs, I think they are lacking. Try this https://github.com/android/health-samples/pull/277
🙌 1
l
same issue: https://issuetracker.google.com/issues/307329994: i meet issue on samsung 4 and samsung 4 classic.
y
Ahhh, ok. I reproduced your error on Wear 5 emulator, made the changes in the PR and then it passed.
l
oh, thank you. i will double check it.
Why don’t you use worker manager?
1
i have a solution for this, you can try, it work for me.