feat(gelderlander): hide notification nags (suggestions and prompts) #38
Labels
No labels
area/architecture
area/build-ci
area/bytecode
area/code-quality
area/docs
area/extension
area/fingerprint
area/security
area/tests
Bug report
Feature request
review
sev/low
sev/medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
midas/midas-patches#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #16.
Feature description
De Gelderlander promotes notifications in several ways:
Hide the unsolicited ones. Keep the notification settings screen and explicit follow actions working.
Findings (9.21.1, obfuscated: use the anchors)
Feed
NotificationSuggestionsTeaser(TeaserTypepushCategories) is rendered bysx9.h(NotificationSuggestionsTeaser, sectionKey, ...).Article
PushCategoriesComponentmaps ing20.atoi30.j0.Runtime pre-prompt
wy9= PushPermissionManager (anchor"com.kubusapp.push.PushPermissionManager$areNotificationsEnabledFLow$1").f(Activity)shows its own AlertDialogs (k()/i(), stringsnotification_suggestion_permission_dialog_*) and then sets the requestPushPermission state.jc7mainStategetRequestPushPermission()and callsMainActivity.p2(), which launchesPOST_NOTIFICATIONS.Onboarding
com.kubusapp.onboarding.ais the flow controller. Steps: CONFIG, PRIVACY, LOGIN_SEDUCTION, LOGIN, PUSH_NOTIFICATION, REGION_SELECTION, REGIONAL_FOLLOWABLE.OnBoardingPushNotificationActivity:U()checksFEATURE_DISPLAY_PUSH_NOTIFICATIONS_IN_ONBOARDING;V()requests the permission.FollowablePushActivityis regional push. It is an explicit choice; keep it.Approach
NotificationSuggestionsTeaserandPushCategoriesComponentvia #18.FEATURE_DISPLAY_PUSH_NOTIFICATIONS_IN_ONBOARDINGoff via #17. Verify that the onboarding flow skips the step cleanly.wy9.f, find which triggers call it. Suppress only the automatic triggers, not the settings screen.Done when
docs/apps/gelderlander.md.Midas Settings
hide_push_suggestions), category "Pop-ups en meldingen", default on. Same key as de Volkskrant.