Join Slack
Powered by
Hi, I got that warning on my androidmanifest for a...
# compose-wear
f
florent
07/18/2023, 8:31 PM
Hi, I got that warning on my androidmanifest for all wear os activities 'set taskAffinity for wear activities to make them appear correctly in recents' is there for information about this?
y
yschimke
07/18/2023, 9:10 PM
https://developer.android.com/training/wearables/apps/launcher#assign
yschimke
07/18/2023, 9:11 PM
A more general one
https://developer.android.com/guide/components/activities/tasks-and-back-stack
yschimke
07/18/2023, 9:12 PM
If you just have one or more activities that are essentially part of the same task. Then ".main" or similar would probably do.
yschimke
07/19/2023, 6:57 AM
Question for you, since this is somewhat redundant for a single activity. Do you have more than one activity, if so what are they for?
f
florent
07/19/2023, 7:07 AM
Yes I have multiple activities, I do one per screen. It makes maintenance easier and I can quickly start only what's needed
y
yschimke
07/19/2023, 7:11 AM
Yep, so you'll want to set the affinity correctly, otherwise recents may confuse users.
365
Views
Open in Slack
Previous
Next