gauntface/simple-push-demo

Testing on iOS 16.4 ( Safari, Firefox. Chrome)

gedw99 opened this issue · 9 comments

Apple have enabled it 👍

https://techcrunch.com/2023/03/27/apple-releases-ios-16-4-with-new-emojis-web-push-notifications-voice-isolation-for-calls-more/amp/

when I try from my iOS device, the web page’s “enable push notifications “ switch is not enabled.

First clock “share” and “ add to Home Screen”.

IMG_1689

then you can add it:

IMG_1690

got to be on iOS 16.4

IMG_1687

I'll have to give this a try and update the UI as necessary.

We have the comment added by @FluorescentHallucinogen but it might not adopting if it's being overlooked (I really don't want to have to special case safari though).

I also need to improve the A2HS icon.

I got it to work and updated the issue with screen shots to help.

thanks for quick response .

Firefox and chrome on iOS don’t seem to work.

when I use the Share button for them I don’t se the “Add to Home Screen “ Action in the list ..

Firefox team says it should work:

mozilla-mobile/firefox-ios#13281

I raised an issue there …

@gedw99

Adding web apps to home screen has been implemented in Chrome for iOS (see https://crbug.com/1418932 and https://crrev.com/c/4271192). 😉

Could you please check if Chrome Beta 112+ is available in TestFlight?

@gedw99

Firefox team says it should work

They say exactly the opposite. :) See mozilla-mobile/firefox-ios#13281 (reply in thread).

i did test the demo in physical iphone, which work in 16.4, however i have no idea why the service worker can't be register in the ios16.4 simulator

@cycchow

service worker can't be register in the ios16.4 simulator

Are you sure that the problem is with the service worker registration?

As far as I know, the iOS simulator simply doesn't support push notifications, even for native apps.