Unsubscribe users from notifications when they uninstall Improved Add to Home Screen |
|||
Issue descriptionToday, if a user uninstalls a site they added to home screen via Improved Add to Home Screen, the service can still send users notifications via Chrome. Regardless of the question of whether uninstalling one of these should clear all of a site's storage and state, it seems to me that at minimum it should result in Chrome unsubscribing the user from notifications from that site (not necessarily fully revoking permission, especially if the permission was granted when the user was on the site in Chrome in the first place, but at minimum unsubscribe). From a user's perspective, uninstalling this thing that behaves like an app should result in you no longer getting notifications from that service, especially if you granted the permission from within the WebAPK mode, not within Chrome.
,
Oct 11 2017
Issue 764252 has been merged into this issue.
,
Oct 11 2017
I think peter@ summed up the challenges really well in https://bugs.chromium.org/p/chromium/issues/detail?id=764252#c1. There's a risk of creating an inconsistent experience, and a lot of edge cases. raymes@ - do you have thoughts from the permissions perspective, particularly in the context of how WebAPK/Chrome permissions might overlap?
,
Oct 11 2017
Personally I feel that we need a higher-level vision of the model we want to work toward with Add to Homescreen apps, otherwise we're going keep facing these types of questions with inconsistent answers (should X data be deleted, should Y permission be reset, should Z setting be shared). I can only really see 2 consistent mental models though: 1) Add to homescreen is a shortcut into Chrome and data and settings are shared when the site is opened in Chrome or the App. 2) Add to homescreen is like an Android app and data and settings are not shared with Chrome (1) Seems very preferable to me for many reasons, but it would mean that "uninstalling" the "app" should not revoke anything.
,
Jan 9 2018
It would be great to get agreement on whether we should do this or close as WontFix as per #4.1 . In addition, I note Peter originally left open Issue 764252 , which has since been merged into this issue, to address a specific other use case: "the user *disables* notifications for the WebAPK and then uninstalls it. This will cause notifications to show up again [...] That's definitely not expected" The fix for this use case would presumably be to share the 'blocked' permission with chrome when the user disables notifications for the web apk. (It's complicated by the fact that we don't get a callback when users disable notifications for an app at the system level, so this would actually have to be at the point where we first detect that notifications are off for the web apk.. -I doubt we'd have time to copy over the permission statuses at the point where the web apk is getting uninstalled). Which would mean going down the #4.1 route. Maybe the discussion surrounding #4.1 and #4.2 has moved on since October which would help inform this decision. Does anyone know what the current thinking is? (I seem to remember a design doc floating around chrome-ui-review..)
,
Jan 10 2018
I think we've headed slightly more toward (1) but owencm and sbirch might be able to provide more thoughts on where we're at. Sharing permission between the native app and Chrome might be tricky to get right but could be interesting to explore.
,
Jan 15 2018
Assigning to Owen to advise on next steps here. |
|||
►
Sign in to add a comment |
|||
Comment 1 by benwells@chromium.org
, Oct 11 2017