Alternadiv
Well-known member
Need someone to give me a notification so I can test this bad boy
There you go buddy.Need someone to give me a notification so I can test this bad boy
Thanks.There you go buddy.
As an extension to this, if XenForo is in PWA mode and push notifications haven't been set either way, maybe give a more prominent alert about asking the user if they want push notifications?Another thing that would make onboarding have a little less friction is if you were able to pass in thexf_user
cookie to the PWA somehow. The app is installed, but now we aren't even logged in to the app. So now we have to install it, then log-in, maybe do 2FA and finally we can enable push.
Maybe set the PWA app URL's start_url_pwa
value with something that could log the user in (a hashed token that would log the user in automatically with that URL within an hour or something)? If it's past an hour (just use the URL normally and ignore the "auto-login token").
XF.alert('Yo, do you want push notifications in this fancy app? [Yes/No]', '', 'Push notifications available')
I think the choppiness feeling comes from the PWA not doing the over-scrolling thing that Safari does.One thing I’m noticing is that the site is kind of choppy in the PWA whereas everything is smooth as normal in Safari.
Are you getting the badge app without clicking going into the site first? Best way to check is when you first see the notification on your iPhone, go and look at the badge before launching. So far this has not worked for me on any site.Thanks.
Notification banners and app badges are working for me as well. It’s awesome that Apple is finally letting us kind of do this.
One thing I’m noticing is that the site is kind of choppy in the PWA whereas everything is smooth as normal in Safari.
We’ve disabled over scrolling on the PWA in order to enable pull down to refresh.I think the choppiness feeling comes from the PWA not doing the over-scrolling thing that Safari does.
Alert me again so I can check.Are you getting the badge app without clicking going into the site first? Best way to check is when you first see the notification on your iPhone, go and look at the badge before launching. So far this has not worked for me on any site.
It does.Can you confirm if you keep trying to scroll it indicates it will refresh the page?
Same as you — badge count doesn’t update without opening the PWA and refreshing the page first.Are you getting the badge app without clicking going into the site first? Best way to check is when you first see the notification on your iPhone, go and look at the badge before launching. So far this has not worked for me on any site.
As happy as I am to finally have some type of push notifications for my own site, everything else about PWA has always sucked. And I don’t feel like people are putting websites on their home screen (if they even realize they can) because just using Safari (or your iOS browser of choice) is better in every way, in my opinion (except for push notifications).maybe just a limitation of PWA
I had that exact issue about a year and a half ago. It has to do with the sync between your Mac and the iPhone. The solution to fix stuff like that while working was to do a completely clean disconnect of iCloud on ALL iCloud devices, and then clear cookies, cache, etc. on each one while you turn it back on.My phone is, unfortunately, completely messed up when it comes to anything JavaScript based on this site.
We added pull to refresh to the iOS PWA because it’s absent for reasons no one understands but it doesn’t actually work on my phone. It’s like the code doesn’t exist.
I still have issues in the editor that were fixed upwards of a few years ago.
I don’t usually swear on here but what the ****!
I just signed out of iCloud and everything that wasn’t working is now working.
The editor problem that I think has existed since 2021 has gone. The changes I rolled out here today are now working.
I expect logging back in might bring the issues back but at least I have something to work with now. Thank you!!
Tons of weird iCloud stuff like this in the last few years. And unacceptable iOS bugs. Apple don't have the attention to detail they had when Steve was there.I just signed out of iCloud and everything that wasn’t working is now working.
We use essential cookies to make this site work, and optional cookies to enhance your experience.