| commit | 7ccb06a0d539d2e647e0cb1590f417fbd62ee239 | [log] [tgz] |
|---|---|---|
| author | Benjamin Williams <bwwilliams@google.com> | Fri Sep 20 21:13:49 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 20 21:13:49 2024 |
| tree | 01a8d6e49d82811e67d2327fe963f8143ee9a1ca | |
| parent | 0c503dbda099e21739a28b4e6d2bd536a8026410 [diff] |
[iOS] Decouple push notification feature enabling from provisional auth This CL introduces a new argument, featureEnabledForProvisional, to the enrollUserToProvisionalNotificationsForClientIds: method. This argument allows push notification clients to decouple the enabling of a feature from the granting of provisional push notification authorization. Previously, enabling provisional notifications for a feature also implicitly enabled the feature itself. This change allows for more granular control, enabling clients to request provisional authorization without necessarily turning the feature on. This is useful in cases where clients want to prompt the user for provisional notifications before they explicitly enable the feature, allowing for a smoother onboarding experience. Change-Id: Ie56040f482834557db61209dbcfa1d8324fb4b8b Fixed: 368639856 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5879016 Reviewed-by: Adam Arcaro <adamta@google.com> Commit-Queue: Guillem Perez <guiperez@google.com> Reviewed-by: Guillem Perez <guiperez@google.com> Auto-Submit: Benjamin Williams <bwwilliams@google.com> Cr-Commit-Position: refs/heads/main@{#1358377}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.