Title: SwPush.messages and SwPush.notificationClicks don't work properly on iOS · Issue #54014 · angular/angular · GitHub
Open Graph Title: SwPush.messages and SwPush.notificationClicks don't work properly on iOS · Issue #54014 · angular/angular
X Title: SwPush.messages and SwPush.notificationClicks don't work properly on iOS · Issue #54014 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? service-worker Is this a regression? No Description The messages Observable from SwPush doesn't seem to emit anything when using Push API on iOS. The notifications are correctly set ...
Open Graph Description: Which @angular/* package(s) are the source of the bug? service-worker Is this a regression? No Description The messages Observable from SwPush doesn't seem to emit anything when using Push API on i...
X Description: Which @angular/* package(s) are the source of the bug? service-worker Is this a regression? No Description The messages Observable from SwPush doesn't seem to emit anything when using Push API ...
Opengraph URL: https://github.com/angular/angular/issues/54014
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SwPush.messages and SwPush.notificationClicks don't work properly on iOS","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\nservice-worker\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nThe `messages` Observable from `SwPush` doesn't seem to emit anything when using Push API on iOS. The notifications are correctly set up (and they work) but comparing Windows, Android and iOS side by side shows that only iOS doesn't receive updates on `SwPush.messages`.\r\n`SwPush.notificationClicks` does work but only when the app is closed and you swipe right on the notification to activate the \"open\" option. Tapping on the notification (or swiping right) while the client app is actively running doesn't make `notificationClicks` to emit.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://github.com/StefanNedelchev/ng-web-push\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nNo errors are being thrown in the process.\r\n```\r\n\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\nAngular CLI: 17.2.0\r\nNode: 20.11.1\r\nPackage Manager: npm 10.4.0\r\nOS: linux x64\r\n\r\nAngular: 17.2.1\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... platform-browser, platform-browser-dynamic, router\r\n... service-worker\r\n\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1702.0\r\n@angular-devkit/build-angular 17.2.0\r\n@angular-devkit/core 17.2.0\r\n@angular-devkit/schematics 17.2.0\r\n@angular/cli 17.2.0\r\n@schematics/angular 17.2.0\r\nrxjs 7.8.1\r\ntypescript 5.3.3\r\nzone.js 0.14.4\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\nThe repo for reproduction is also deployed here https://ng-web-push-example.netlify.app for testing (check the readme for explanation). I'm testing this on a real iPhone with iOS v17.2.1 (latest at the moment)","author":{"url":"https://github.com/StefanNedelchev","@type":"Person","name":"StefanNedelchev"},"datePublished":"2024-01-21T22:38:45Z","url":"https://github.com/angular/angular/issues/54014"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a64ea8a0-4e28-2800-1d40-3ef4a6254f23 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB4A:1EC9BC:DBBD79:1190685:6B01077C |
| html-safe-nonce | ecca6a02bfb3187104b176423a0c3edc68b232c43932d9194cfc8115c358009c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjRBOjFFQzlCQzpEQkJENzk6MTE5MDY4NTo2QjAxMDc3QyIsInZpc2l0b3JfaWQiOiI1NTMzNDEyMjg3MTQ0MDY4OTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 56210818173107ffd688bdf52c167aefe9d1d7ce60b85c3b480d617a6146cf0f |
| hovercard-subject-tag | issue:2092814292 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/54014/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5ce6287ad20a0326f7c9a7de458a7884f033e608cf7ee9f343546a6b330f6023/angular/angular/issues/54014 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ce6287ad20a0326f7c9a7de458a7884f033e608cf7ee9f343546a6b330f6023/angular/angular/issues/54014 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? service-worker Is this a regression? No Description The messages Observable from SwPush doesn't seem to emit anything when using Push API on i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StefanNedelchev |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width