6 ms·
iOS 12.2 Beta: Progressive Web App Capabilities
- reichardt 8y ago"2) State is maintained if it goes in the background. A bit buggy though, but promising" So happy about that! I almost thought Apple would deliberay cripple the PWA experience on iOS just enough in order to not be competitive to native apps. This is a huge step towards PWAs becoming a real contender in the app space. Starbucks and Twitter PWAs show what's already possible. Very bullish on this development.
- pjmlp 8y agoMe too, I do favour native over Web, but there are a good set of applications that can be made good enough with Web stack, without any FFI or build tooling headaches.
- miki123211 8y agonice. Still no push notifications which is a huge no for me when it comes to PWAs at this stage. I know there's pushover but their licensing sucks, not every user can and wants to buy it.
- arjunbajaj 8y agoI agree. If Apple would support push notifications for PWAs, it would almost level the playground for most kinds of apps.
- kyriakos 8y agoThat is precisely the reason they are not going to be supported.
- untog 8y agoI'm not so sure. The Push API and Notification API are two separate things on the web, and one and the same on iOS. It wouldn't be immediately straightforward to wake up a service worker in response to a push event on iOS, so I can believe they are trying to find the optimal way of doing it. (I also believe it's not a huge priority)
- kyriakos 8y agoI understand that push notifications are being abused by many sites who just try to spam users but a good number of potential PWA's will become possible of push notifications become available. On the other hand I see Apple being worries about losing control over their walled garden if they give too much freedom to the browser.
- untog 8y agoI will never understand why push notification permission wasn't put behind click activation like many others are. The span of that permission prompt is very annoying.
- gnhrgkai 8y agoThank God for no push notifications on Safari.
- AckSyn 8y agoI'll add my opinion in the form of humor joan Eddit Izzard would say it: I like my phone like my women. small, and without constantly interrupting me. So yes. The lack of push notifications via safari is most welcome.
- menckenjr 8y agoGreat. Now we can have app lookalikes built with someone's pet JS framework contaminating our iPhones.
- reichardt 8y ago"contaminating"? PWAs are contained a whole lot stricter than native apps. Specifically on Android I would worry a lot less about adding a PWA to the home screen than installing a native app. Do you speak out against implementing apps in JavaScript or is your criticism pointed at PWAs specifically?
- mosselman 8y agoIn my experience, the Android and iOS app stores differ a lot in general quality, with the iOS apps being the better ones. Partially, I theorise, is due to it being harder to publish on the App Store than on the Google Play Store. This means that lesser developers and companies will publish more poorly made apps for Android than they will for iOS. Now, with PWAs, it will become a lot easier to 'publish' 'apps' for iOS, which means that even crappier icons will find their way to your homescreen than would have if all of Android's apps were available for iOS. That is how I understand 'contaminating' at least. Some background: I used to have an Android phone and for the last 4-5 years I've had an iPhone. Sadly I still need to help lots of family and friends with Android phones when they are having problems, so I am still familiar with the apps for Android.
- coldtea 8y ago>"contaminating"? PWAs are contained a whole lot stricter than native apps. Contaminating as in "with their mere presence", doesn't have to be an exploit...
- deleted 8y ago[deleted]
- tyingq 8y agoI agree that webapps aren't currently on par with native apps. However, it seems somewhat inevitable that things will go that way. We're just stuck in the ugly transition period. Sadly, the turning point will probably be when browsers and/or WASM add enough DRM type functionality.
- reichardt 8y agoWithout fanboying to much, I want to add how important PWAs are to breaking the walled gardens of the App Store and Play Store. Apple and Google can and will stop your app from distributing via their stores if they see fit, but they can't stop users from adding a PWA to their home screen. This is great for user rights and moves the needle more towards a decentralized and open ecosystem, while maintaining strong security guarantees to the end-user.
- codesternews 8y agoThere are several restrictions in iOS. You can not use much. You might be able to track some users but nothing much you can do without native app.
- reichardt 8y agoYes, that's true. However after using the Twitter PWA for some time, I believe there's a whole segment of native apps which could run just as well as PWAs. My biggest gripe was the Twitter PWA losing state while multitasking. This now seems to be resolved somewhat. In addition PWAs will only become more capable. WASM will have direct access to the web apis and opens the door to implementing PWAs without JavaScript. I'm keeping my eyes on WebGPU, which I believe could deliver huge performance benefits to webapps. At this point having no support for push notifications is probably the biggest holdback for PWAs.
- gok 8y agoWhich webapps are being held back by their ability to quickly dispatch instructions to the GPU?
- reichardt 8y agoI believe it's less than people would think but from previous discussions on PWAs it seems to me, that mobile developers just dislike JavaScript and it's ecosystem, rather than PWAs in general. And fair enough, I'm all for developers not being tied to a single language to develope apps. If my understanding is correct than WASM and WebGPU will allow for development of apps with any language of your liking and performance will only depend on how close to metal you can develop with said language. I'm more of a JavaScript developer but I would be very interested in how developing web apps with Rust and WebGL would look like.
- ksec 8y agoI guess Services Worker is fine on iOS and iPhone. Because you rarely have Safari opening all the time. On macOS it is god damn awful. [1] I am also a little uneasy with PWA, on quality, safety and without some sort of App Store firewall guarding it. But then I also don't see the point of KFC, McDonald, or every restaurant / services sector require an App for their business. When it could be on the Web or as Web App. [1] https://twitter.com/gruber/status/1083810719009787904 https://twitter.com/gruber/status/1083810719009787904
- reichardt 8y agoYeah, agreed. User permissions need to become more granular. A web app should not be able to use all CPU power for prolonged amounts of time. Instead the browser should drastically limit computing usage of a web app, till the user gives the explicit permission for more. That way web apps can gain more capabilities but only with the users permission. On your second point I wholy agree that not every fast food chain or coffee shop needs a native app on their customers phone. Starbucks PWA shows the way.
- aaaaaaaaaab 8y agoGood. Hopefully this will kill crap like React Native and “embedded webview”-type apps for good.
- lettergram 8y agoIt really bothers me that “Progressive Web Apps” are a thing. If Apple and Google allowed it, there’s no need for a new paradigm - just let the browser handle it. The same way slack sends notifications over the browser on desktop, we could make use of. Instead they want to control the interface, likely for their own gain, but also som added security. So, I get it. However, the whole buzz word and excitement is good, but it’s annoyingly stifled to begin with
- zozbot123 8y agoProgressive Web Apps are handled by the browser. The main difference wrt. "web apps" is that they're not presented to the user with a "web-site" UX. See https://xkcd.com/1367/ https://xkcd.com/1367/ for a summary of why that's a good thing.
- IvanK_net 8y agoWeb Apps are handled by browsers. But it is mentioned as iOS update, because the only allowed browser in iOS is Safari, so only Apple is able to control, how good web browsing in iOS is. All other iOS "browsers" as Chrome, Firefox or Edge, are just wrappers around Safari.
- IfOnlyYouKnew 8y agoI don’t quite getting what you are objecting to. Slack cannot send you notifications when you’re not on the website, unless they have access to one of the APIs commonly bundled under the PWA umbrella. Is it just the name you’re objecting to? Do you believe it’s a bad idea to strive for feature parity between native apps and the web? I seriously can’t tell.
- lettergram 8y agoTwo things: 1. Apple and google are going to set a new set of APIs. And likely edge out the importance of other browsers. 2. They went the app route to begin with... they could have always gone the PWA route (especially the last few years). I don’t know why I have to have a native app if the entire web is now mobile friendly.
- IvanK_net 8y agoI developed a web-app photo editor https://www.Photopea.com https://www.Photopea.com, that is used on 100 000 iOS devices at least once a month. I am very happy, that I never had to go through the pain of submitting my "app" to Apple store or paying any fee. I never even owned any iOS device.
- kop316 8y agoThat is a really cool app! I bookmarked and I will definitely check it out later.
- bitL 8y agoYou still can't save local files with PWA...
- Illniyar 8y agosure you can, but the user must choose where to put it, no arbitrary saves. https://github.com/eligrey/FileSaver.js https://github.com/eligrey/FileSaver.js
- bitL 8y agohttps://github.com/eligrey/FileSaver.js/issues https://github.com/eligrey/FileSaver.js/issues Doesn't seem to be working well. A few people I know got burned trying to use it and expecting universal functionality across all browsers.
- Illniyar 8y agoSeems like regular browser compatability issues to me. Specific safari not working, a few edge cases here and there. You have that in all cross browser libraries.
- bitL 8y agoWith save the specific problem is that Mozilla guys wanted to move all save capability to local DB + download, and to never allow writes to arbitrary local files, treating it as a security issue, which obviously is a problem for any sort of web apps running locally. Google tried to standardize FileWriter API that never made it outside Chrome, then later dropped it due to aforementioned issue.
- neya 8y agoBuried in that thread are some key details: Apps may not use their own mechanisms to unlock content or functionality, such as license keys, augmented reality markers, QR codes, etc. Basically, forcing native apps to use their in-app purchases. Won't this trigger anti-trust laws?
- delinka 8y agoThey've always forced native apps to use IAP (or no purchase on the device at all; go buy an eBook on Amazon's web site, and you can read it fine in Kindle on iOS) for digital goods. Forcing web app IAP? I don't see them pulling that off successfully.
- blumomo 8y agoA dream of Steve Jobs is coming closer to his fulfillment. When presenting iOS, he said that people will run web apps (in the browser).
- reichardt 8y agoI'm in favor of PWAs but I never understood why Jobs originally planed to distribute apps in such a open way. He must have known that this would drastically limit Apple's power to decide what runs on customers devices. Do you have more information on this? Anyway, Apple seems to have changed their mind rather quickly after releasing the App Store.
- amluto 8y agoIs there a real primary source for this? I’d like to know whether PWA developers need to register as developers with Apple. Hopefully not, although I don’t see how Apple wants to prevent the use of third-party payment systems without forcing everyone to get their apps signed.
- bellerose 8y agoThe resuming state after leaving the PWA is awesome. My hobby project is a PWA but has a bug now since the beta where all user interaction is lost when resuming the state. I have a hunch it has to do with google maps and it's fun trying to figure it out right now.
- mcintyre1994 8y agoI wonder whether there’s a difficulty in Apple about how much power to give web apps in light of their privacy play. The browser isolates permissions - Facebook can let me upload a picture in a chat without giving them permission to all my pictures, their app can’t or at least doesn’t. If they had notifications working for PWAs I’d probably drop Facebook Messenger for example.