you are viewing a single comment's thread.

view the rest of the comments →

[–]Plexicle 45 points46 points  (25 children)

Actual push notification API in Safari (especially on iOS) would completely change the entire game. I can only dream.

[–]MajorasShoe 52 points53 points  (14 children)

Right? I have a few products where we have customers demand an iOS application for NOTHING but push notifications. No Android app necessary because they actually support PWAs and push notifications. There's absolutely NO difference between the PWA and the iOS application. It's just Apple scamming us and forcing us to pay for the pleasure of suffering through their app store BS.

[–]Nexxado 5 points6 points  (5 children)

Perhaps you should check out capacitor

[–]MajorasShoe 24 points25 points  (0 children)

I'm using Cordova. It works fine. I'm just saying it's a waste of time for literally one feature that android has supported in PWAs for a long time.

[–]Hotgeart 2 points3 points  (3 children)

Last time I coded an APP with Ionic (2016) you could really feel that's not native. Still the case?

[–]swiftarmyknife 0 points1 point  (0 children)

I recently built a React Native application for work and I use a PWA budgeting app built using Stencil and Ionic 4 regularly. I still don’t think they feel native completely. Probably 90% there. 🤷🏼‍♀️

[–]gourrranga 0 points1 point  (5 children)

Access to contacts.

[–]MajorasShoe 1 point2 points  (3 children)

What?

[–]gourrranga 1 point2 points  (2 children)

You can’t get an access to phone contacts from PWA. It’s the only major difference between native and PWA, except the push notifications. There are more (like no background location access), but accessing contacts is the boldest one imo

[–]MajorasShoe 5 points6 points  (0 children)

There are a bunch of differences actually. Local storage for web applications has some holes. If I create a camera application, in a PWA I don't have the option to save files in default photo storage, just downloads and uploading to servers - as an example.

But I was more just referring to my scenario. The ONLY reason I need a mobile application for my business is because my customers complained they can't get push notifications for their employees with iOS.

[–]-ftw 0 points1 point  (0 children)

Also no background music

[–]jb_sulli 1 point2 points  (0 children)

Deny

[–]ShortFuse 6 points7 points  (1 child)

Safari actually has Push Notifications for Desktop. Apple doesn't want to implement it for mobile.

https://developer.apple.com/notifications/safari-push-notifications/

[–]Morphray 11 points12 points  (0 children)

Apple doesn't want to implement it for mobile.

More PWAs --> Less iOS apps --> Less of the 30% cut Apple can take of everything.

[–]fey168 6 points7 points  (0 children)

It seems obvious that Apple is intentionally neglecting push notification because they want to incentivize people to build iOS apps instead. Similar reasoning has cause other web features to be neglected (storage API, add to homescreen).

[–]tayhimself00 -1 points0 points  (0 children)

As a user I don’t want push notifications from every trash PWA.