-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Misleading or incomplete error message when attempting to enable push notifications while operating as linked device #414
Comments
Do you think it would be clearer to show an error message instead of hiding the unifiedpush option in a linked device? |
Yes, I think so. Popping the warning when selecting a specific method displays to the user a list of methods which are in theory supported, i.e. informs the user they are indeed in the correct place to enable them. And on the dev side it ensures an error message specific to the method. Then the switch could maybe be reworked as "The selected method doesn't support push notifications due to xyz". I'm actually still not clear on the full behavior here, I only used Molly as a linked device for now. Can websocket do locked notifications on primary devices? If the "new activity while locked" toggle is actually a "modification" of the push notification type, then I think it makes sense to place it below the notification method, not into the "Notify when" category. The "Push notifications delivery service" dropdown shows all methods Molly could in theory support. Selecting an unavailable method explains why the method in general is not available in the current configuration. Something like "UnifiedPush is unavailable when Molly is operating as a linked device." When a valid method is selected, but doesn't support background notifications, a specific error message will pop up on tap of the "show notifications while closed" toggle. That error mentions the delivery method by name, and is something like "WebSocket doesn't support running in background when Molly is operating as a linked device." I don't think the dropdown approach is ideal. I think all options should look identical, so the user is informed they can select them and will see something happen (i.e. the warning). But then the user won't know which of the options work until they try them all. Maybe the selection option could be disabled and the reason shown directly inline below the option? The list is likely gonna be small enough, and even if there somehow are 10 unavailable options a scrollable selection dropdown seems like the smallest evil here. The same could also work for background notifications, where somewhere on the "Show notifications while closed" toggle a warning would appear with the toggle being disabled, when the method doesn't support background notifications. That would potentially even allow saving the last state of the setting until a method is selected that does support background notifications. |
I tested Molly as a primary device now and I see that I misunderstood the text I removed in my mockup. In that case the text should remain. I would prefer a toogle for this behavior in its place, but that is for another issue/merge request. |
Guidelines
Bug Description
As addressed in #404, Molly doesn't support UP when operating as a linked device.
When trying to check "New activity while locked", this is communicated as "Sorry, this feature requires push notifications delivered via FCM or UnifiedPush, which are currently unavailable.".
When I came across this message, I interpreted it as Molly not identifying a UP provider on my phone, leading me down a useless path of identifying the issue before I stumbled over the correct answer, which is that Molly doesn't support it internally in my mode of usage.
If the warning were changed to something along "Sorry, no supported push notification provider (FCM or UnifiedPush) found or push notifications not available (e.g. operating as linked device)." that would be a lot less confusing.
Alternatively the error could be split out into two messages, one for notifications being unavailable on Signals side, and one for them being unsupported on the local device due to missing apps etc..
Screenshots
Device Model
Xperia 1 III
Android Version
Android 13, LineageOS 20
App Version
fdroid v7.26.1-1
Link to Debug Log
No response
The text was updated successfully, but these errors were encountered: