-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live activities #1096
Live activities #1096
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1096 +/- ##
==========================================
- Coverage 35.70% 35.35% -0.35%
==========================================
Files 132 134 +2
Lines 7605 7732 +127
==========================================
+ Hits 2715 2734 +19
- Misses 4890 4998 +108 ☔ View full report in Codecov by Sentry. |
f026b90
to
4ffa4f5
Compare
@BPerlakiH What you discribe is a very minimal version missing indeed core features... but maybe this is better to start with this and see how people will react. @rgaudin What do you think? |
I think it's a bit the other way around. I see 2 scenarios:
In scenario 1) tapping on the live activity, the user is taken back (where the user left off) and can easily pause / cancel the downloads. So in this case it's a 1 tap difference between having a button on the live activity or not having it. In scenario 2) we need to implement a solution to get the user back to the download section. There's yet another aspect here. We don't have the screen space to display multiple downloads. So in case of 2 or more downloads, we still display 1 item, which summarises the progresses. We can still add the pause / cancel button, but in this case it would pause / cancel all downloads. Furthermore, the live activity is optional (even if supported by the user device), the user needs to opt-in, by agreeing to receive them, and can opt-out any moment (by changing the system settings). For these reasons, I would like to break this feature into 2 parts, one is having the progress displayed for the user (this PR), we can test it and see if it needs more improvements on its own. For example, I am not convinced about the notification frequency (and UI updates), eg. it's not fully consistent between an iPhone and an iPad. In my opinion the stakes are higher than usual in this case. There's one thing to make something look bad within our app by accident, but making something look bad on someone's lock-screen (where users usually have their family photo set as a background) is a whole different user "experience" if not a downright "insult". |
I am fine with the incremental approach ; we need actual tests to understand what could be improved and how |
@BPerlakiH Thx for your last comment. It amkes sense. We can go forward for now with what you have done. |
@BPerlakiH A screencast would have been helpful here in the PR description. I will merge it and please make straight a testfligh release. |
Fixes: #1037
The live activity:
I've tested it on my iPhone, so far it looks good on the Lock Screen, and in (portrait) StandBy mode. Also tested it for both Light and Dark mode.
There are still some rare cases where it stops updating an existing live activity,
worth to test on more devices.