KT Walrus Posted March 27 Share Posted March 27 (edited) Updated to iOS 16.4. Enabled push notifications in Invision Community web app. Received a notification about a new topic in a forum I follow. Tapped on the iOS notification on the lock screen on my iPhone. This opened the PWA but didn’t redirect to the new topic like tapping on the notification in the notifications list. The last page I had viewed before was still being shown. Is this a bug? Edited March 27 by KT Walrus Link to comment Share on other sites More sharing options...
Marc Stridgen Posted March 28 Share Posted March 28 Im not seeing any issues on my end, and have actually been using them all day Link to comment Share on other sites More sharing options...
KT Walrus Posted March 28 Author Share Posted March 28 So, you are saying when you tap a notification for a new topic, the PWA opens the topic? Maybe my issue was only for followed forum notifications? Or, maybe since I was in the PWA just minutes before receiving the push notification and the PWA was still running in the background, that it didn’t process a redirect to the new content? It definitely didn’t work as I expected. I’ve only had that 1 push notification so not sure if this issue is just a one time glitch. Link to comment Share on other sites More sharing options...
KT Walrus Posted March 28 Author Share Posted March 28 So, you are saying when you tap a notification for a new topic, the PWA opens the topic? Maybe my issue was only for followed forum notifications? Or, maybe since I was in the PWA just minutes before receiving the push notification and the PWA was still running in the background, that it didn’t process a redirect to the new content? It definitely didn’t work as I expected. I’ve only had that 1 push notification so not sure if this issue is just a one time glitch. Just noticed the setting for one email a day was checked so maybe the notification was for a digest email and not an immediate notification? Maybe need to link the iOS notification to the first topic in a digest email notification if digest is for only 1 topic? Link to comment Share on other sites More sharing options...
Marc Stridgen Posted March 29 Share Posted March 29 Digests are unrelated in any way to email, so you can safely exclude that one. I would need an example notification, what it did lead to etc. Link to comment Share on other sites More sharing options...
Daniel F Posted March 29 Share Posted March 29 This seems to be a bug in iOS. SeNioR- 1 Link to comment Share on other sites More sharing options...
Daniel F Posted March 29 Share Posted March 29 @Stuart Silvester found this this in the webkit bugtracker https://bugs.webkit.org/show_bug.cgi?id=252544#c18 SeNioR- 1 Link to comment Share on other sites More sharing options...
KT Walrus Posted March 29 Author Share Posted March 29 Changing setting to from once a day email to immediate didn’t do anything. When I tap an iOS Invision Community notification, it doesn’t redirect to the new topic. Am I the only one seeing this behavior? Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted March 29 Share Posted March 29 No, see Daniel's post above yours. It appears to be a Webkit bug. SeNioR- 1 Link to comment Share on other sites More sharing options...
KT Walrus Posted March 30 Author Share Posted March 30 On 3/29/2023 at 12:38 PM, Ryan Ashbrook said: No, see Daniel's post above yours. It appears to be a Webkit bug. This appears to be working now. Did you fix anything on your side? Maybe it is working now for me since I was in the PWA a few minutes before tapping on the iOS notification. Not sure what will happen if I don’t use the PWA for a couple days and then tap an iOS notification. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted March 31 Share Posted March 31 We havent changed anything our end Link to comment Share on other sites More sharing options...
KT Walrus Posted March 31 Author Share Posted March 31 It didn’t work this morning. Looks like if you have recently been using the PWA, it works and if you haven’t it doesn’t work. So, an iOS bug. Do you know how to report bugs to Apple? Link to comment Share on other sites More sharing options...
Marc Stridgen Posted March 31 Share Posted March 31 8 minutes ago, KT Walrus said: Do you know how to report bugs to Apple? https://developer.apple.com/bug-reporting/ SeNioR- 1 Link to comment Share on other sites More sharing options...
KT Walrus Posted March 31 Author Share Posted March 31 I didn’t work just now with the notification of your reply. So, I don’t know why the links worked yesterday and not today. 7 minutes ago, Marc Stridgen said: https://developer.apple.com/bug-reporting/ I think you will have to submit bug reports for your PWA. I’m not an Apple developer. Link to comment Share on other sites More sharing options...
KT Walrus Posted March 31 Author Share Posted March 31 Is it possible that this is a bug in the Service Worker in the app and not a bug in iOS? I don’t understand why it sometimes works and most times it doesn’t work. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted April 3 Share Posted April 3 As mentioned by my colleague, this is an bug in webkit, so its actually in neither the service worker, nor iOS Link to comment Share on other sites More sharing options...
Solution KT Walrus Posted April 16 Author Solution Share Posted April 16 Found this thread on the topic. One developer posted a work-around by using event.notification.tag in the notification click handler. https://developer.apple.com/forums/thread/726793 Link to comment Share on other sites More sharing options...
Daniel F Posted May 7 Share Posted May 7 It seems this was fixed for an upcoming release https://github.com/WebKit/WebKit/pull/11848 Link to comment Share on other sites More sharing options...
Recommended Posts