News for hackers. Stuff that matters.
Re:Start with a Website, Not a Mobile App by have_faith on Friday January 04, 2019 @12:01PM (#18825558)
> With a progressive web app if they like your app they can add it to their device home screen

Does anyone even know they can do that? I've never seen anyone do it "in the wild". Would love to see any stats around usage of pwa's added to home screen.

Re:Start with a Website, Not a Mobile App by freehunter on Friday January 04, 2019 @12:17PM (#18825715)
I run a website where I get asked quite often to make it into a mobile app, and I reply by showing how to add it to the device's homescreen and not need an app. Never ever ever in the few dozen times I've had this conversation has anyone ever actually done it. In fact most responses to that suggestion have been overwhelmingly negative. They want an app, even though it'd just be a wrapper around the site with no added features, they want an app.
Re:Start with a Website, Not a Mobile App by mountainofdeath on Friday January 04, 2019 @01:07PM (#18826183)
Bingo. That's exactly what end-consumers want. If you have a good enough PWA, you can wrap it in a single webview and push it to the appstore/play market. The presence is the important part, the actual implementation does not matter.
Re:Start with a Website, Not a Mobile App by mikece on Friday January 04, 2019 @03:49PM (#18827463)
Why not just add the ability to list a PWA in the app store? At that point the installation is intentional and the overhead on Apple/Google is minimal... and Apple still gets their $99/year to allow making it easy to put your app's icon on a user's home screen.
Re:Start with a Website, Not a Mobile App by kyle-rb on Friday January 04, 2019 @04:25PM (#18827785)
On one hand I can see rational reasons for them not allowing it; Apple doesn't control when you push updates to your PWA, so they don't want to give their seal of approval by listing it in the app store.

But on the other hand, it's pretty depressing to give up the dream of instant app updates, by wrapping your shiny PWA in Cordova and promising to never execute external JavaScript.

Re:Start with a Website, Not a Mobile App by mikece on Friday January 04, 2019 @06:02PM (#18828574)
Pushing updates without going through the app store has been allowed by Apple as long as the assets being updated are not binary code; specifically CSS, HTML, and JavaScript are okay (I wonder whether WebAssembly will be considered "binary" or not... will be interesting to see). I convinced a former employer to abandon their Xamarin-built app and switch to Ionic (Cordova with nice, fancy UI additions) specifically because they could push updates to the app without going through the app store. Officially (unless things changed?) the Google Play store says this isn't allowed but there is no review process with Google Play so publishing a new app and then pushing an update for the previous version won't likely get you in trouble. If someone HAS been busted by the Google Play cops for this it would be news to me.
Re:Start with a Website, Not a Mobile App by yesimahuman on Friday January 04, 2019 @08:12PM (#18829224)
Ionic CEO here - have seen no issues with anyone using our deploy (web-content remote update) feature on either platform to date
Re:Start with a Website, Not a Mobile App by freehunter on Friday January 04, 2019 @04:52PM (#18828009)
I recently picked up app development and I went for React Native + Expo. I was shocked that I could push OTA updates without going through the store. Basically if my app was approved once, I can make huge sweeping fundamental changes to the app without running it past Apple again. Basically the only things you can't change are the permissions. Anything else is fair game. And with Expo it was basically trivial to get an app up and working (don't take this as biased praise in favor of RN or Expo, I still have serious dissatisfaction with both technologies, but this particular part was shockingly seamless).

So I guess moral of the story, wrap your PWA in an Expo app and update as often as you want without having to resubmit.

Re:Start with a Website, Not a Mobile App by kyle-rb on Friday January 04, 2019 @05:29PM (#18828326)
Oh, cool. I think I was confused about Apple's rules on this. I guess you are allowed to push minor updates to your app, as long as it's JavaScript being executed by their JavaScript engine/WebKit.

But apparently there is (or at one point was) a restriction that says you're not supposed to add new features via remote executable code pushes [0] (although I'm not sure if they'd notice).

[0] https://rollout.io/blog/updating-apps-without-app-store/

Re:Start with a Website, Not a Mobile App by pjmlp on Sunday January 06, 2019 @10:52AM (#18838875)
Microsoft does this on UWP.
Re:Start with a Website, Not a Mobile App by disiplus on Friday January 04, 2019 @04:20PM (#18827739)
well i had a different experience. we dong have a native app, but some of our b2b customers wanted an "app" to use on mobile. The app is responsive so we show them how to add it to homescreen and that's it.
Re:Start with a Website, Not a Mobile App by freehunter on Friday January 04, 2019 @04:53PM (#18828020)
It might be business customers are more willing to jump through hoops. My website is targeted at the general public in a small midwestern town, where technology is a four letter word.
Re:Start with a Website, Not a Mobile App by zapzupnz on Friday January 04, 2019 @07:45PM (#18829104)
Indeed. Business customers aren't representative of the greater public because they tend to take their issues directly to IT support, they get it sorted, and don't think about it again. Your every day average user doesn't have an IT support department to which to go. They do, however, have the App Store/Play Store.
Re:Start with a Website, Not a Mobile App by timdavila on Friday January 04, 2019 @12:08PM (#18825626)
I run a PWA and can track this based on the "standalone" property. But what's more telling is customer requests. It's a confusing request that it seems like many potential customers haven't seen before. Lots of people ask me to "just put it in the app store" despite having an FAQ with instructions on how to add to the home screen. Many more say they will become customers "when you have an app"

Because of this, I'm working on making my UI more app like and using Cordova to publish it to app stores.

edit: My app is still pretty small but the percentage of logged in users who have ever loaded from the PWA is < 5%

Re:Start with a Website, Not a Mobile App by TomK32 on Friday January 04, 2019 @01:42PM (#18826513)
Users always have to be educated, whether it's PWA or how to pronounce the @ symbol a mere 20 years ago.
Re:Start with a Website, Not a Mobile App by tenaciousDaniel on Friday January 04, 2019 @12:24PM (#18825779)
My guess is that it's rare. Hell, I didn't even know I could do it until I was developing a PWA. I've never seen a website that offers it.

It would be very nice if phones put that feature front-and-center. My guess is that they sideline it so the web can't compete with their native apps.

Re:Start with a Website, Not a Mobile App by zanny on Friday January 04, 2019 @12:52PM (#18826043)
It really reeks of the same kind of anticompetitive behavior that got MS in trouble twenty years ago.

Apple is way worse in this regard, but Google is still incentivized to keep at least PWAs from being first class citizens on Android because they don't get their app store sales cuts or microtransaction money from them. And at least on Android you can install other browsers.

People consider the hegemony of Chrome to be the premier threat to the open web but I keep feeling iOS Safari is the real drag. Apple is so heavily incentivized to sabotage web tech that could encroach on their app store revenue.

Re:Start with a Website, Not a Mobile App by tenaciousDaniel on Friday January 04, 2019 @02:55PM (#18827122)
I wonder if there is anything like a PWA store?
Re:Start with a Website, Not a Mobile App by int_19h on Saturday January 05, 2019 @01:58AM (#18830390)
Win10 store allows PWAs, and even automatically lists the ones it finds online (via Bing crawler).

https://developer.microsoft.com/en-us/windows/pwa

I find it all oddly ironic. Remember back in late 90s - early 00s, Microsoft was generally hostile towards open web and the (then only just appearing) web apps, because that undermined its desktop app monopoly? Here we are 20 years later, and now it's Apple and Google protecting their turf on mobile, while Microsoft is promoting PWAs to entice the mobile devs into supporting Win10.

Re:Start with a Website, Not a Mobile App by pjmlp on Friday January 04, 2019 @01:45PM (#18826539)
They do it on ChromeOS though, so I guess it is politics as usual.
Re:Start with a Website, Not a Mobile App by spunker540 on Friday January 04, 2019 @02:35PM (#18826989)
You can use browsers other than Safari on iOS.
Re:Start with a Website, Not a Mobile App by kyle-rb on Friday January 04, 2019 @04:34PM (#18827850)
All browsers on iOS are essentially wrappers for Safari. They all have to use the built-in iOS WebView; per Apple's rules you're not allowed to execute JS or anything like that on your own.
Re:Start with a Website, Not a Mobile App by the_gipsy on Saturday January 05, 2019 @07:19AM (#18831285)
Which means no extensions for iOS Firefox nor Chrome.

I can’t install any adblockers on my iPhone, the best is Safari which has some built in anti-tracking but that’s it.

Re:Start with a Website, Not a Mobile App by plexicle on Friday January 04, 2019 @12:12PM (#18825657)
Chrome on Android will show a banner to add it to your home screen.
Re:Start with a Website, Not a Mobile App by timdavila on Friday January 04, 2019 @12:13PM (#18825672)
True, the situation on Android is much better than iOS. Also after you do this, you get an icon in your app drawer and not just the homescreen.
Re:Start with a Website, Not a Mobile App by Ajedi32 on Friday January 04, 2019 @12:56PM (#18826084)
It also shows up as an app in the system menu, with natively controlled permissions, notifications, battery restrictions, etc.
Re:Start with a Website, Not a Mobile App by saagarjha on Friday January 04, 2019 @12:38PM (#18825906)
iOS doesn’t have an app drawer, so I’m not quite sure where you’re going with your comparison…
Re:Start with a Website, Not a Mobile App by timdavila on Friday January 04, 2019 @03:48PM (#18827457)
Yep, sorry that was confusing. I was comparing to previous versions of Android. It's relatively new that it's added to the app drawer.
Re:Start with a Website, Not a Mobile App by slimshady94 on Friday January 04, 2019 @12:34PM (#18825865)
I have a HN bookmark/icon on my home screen.
Re:Start with a Website, Not a Mobile App by NightlyDev on Friday January 04, 2019 @12:47PM (#18825990)
Yes. Most of my users are using the page as an app and the usage has only increased the last year's.