Slashdot Mirror


Google Is Integrating Progressive Web Apps Deeper Into Android (chromium.org)

Yaron Friedman, a software engineer at Google, writes on Chromium blog: In 2015, we added a new feature to Chrome for Android that allows developers to prompt users to add their site to the Home screen for fast and convenient access. That feature uses an Android shortcut, which means that web apps don't show up throughout Android in the same way as installed native apps. In the next few weeks we'll be rolling out a new version of this experience in Chrome beta. With this new version, once a user adds a Progressive Web App to their Home screen, Chrome will integrate it into Android in a much deeper way than before. For example, Progressive Web Apps will now appear in the app drawer section of the launcher and in Android Settings, and will be able to receive incoming intents from other apps. Long presses on their notifications will also reveal the normal Android notification management controls rather than the notification management controls for Chrome.

46 comments

  1. i predict msma.sh will post a story at 15:40 by Anonymous Coward · · Score: 0

    nailed it, choads

  2. Progressive Apps? by rossdee · · Score: 1

    I am sure this will be popular in California and NYC, but I don't think The GOP and the Donald will be very happy.

    1. Re:Progressive Apps? by Anonymous Coward · · Score: 0

      My thought too. These apps will probably take money from your bank account and send it to someone else without your permission.

  3. All your Android are belong to us! by mmell · · Score: 1

    Looks like they're setting us up the bomb. For greater glory! Launch all apps!

  4. As long as Verizon does not break it. by TheHawke · · Score: 1

    You know how nasty they can get with built-in stuff.

    --
    First rule of holes; When in one, stop digging.
    1. Re:As long as Verizon does not break it. by Penguinisto · · Score: 1

      Dude, AT&T ain't much better.

      This is gonna be a real nasty turnoff if they expect me to stay with Android (that, or drive me towards rooting the thing from now on...)

      First off, I do not need or want *any* app digging deeper into the phone OS (where it can siphon off even more of my personal meta-info to sell). Oh, and imagine, if you will, your little built-in alarm clock app going off in the morning, then showing you a stupid advertisement as you reach for the thing. No frickin' thanks.

      Second, More nagging... yay? Bad enough that some apps flip their shit when you don't rate them on Google Play.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    2. Re:As long as Verizon does not break it. by JohnFen · · Score: 1

      I agree with you, but I'm not terribly upset by this move on Google's part. I don't have to use any of the PWAs, and have no intention of starting.

  5. Well there goes that business model by Anonymous Coward · · Score: 0

    There goes getting paid to load up Android Studio and creating a project that is just one activity with a webview at to the companies URL.

  6. This has a few reasons ... by Qbertino · · Score: 5, Informative

    I was at the last two Google Polymer Summits and last years definitely saw a push towards PWAs. One of the reasons Google want's to push these is that it bridges the gap between complex web apps, mobile capable websites and mobile apps. Another quite simple reason is the app-bloat we're alle experiencing on our cellphones. Apps clocking in at 40+ MB and weighing down on Smartphones budgeted memory and storage are a big problem, as are mobile performance hogs that only run satisfyingly on the most modern 1st world smartphones. Many updates people can't make, because the vendors apps are simply growing to big. PWAs are supposed to tackle this problem aswell.

    PWAs is Googles attempt to leverage the ubiquity of the open web and offer mechanisms to integrate it further into native plattforms. It's actually quite a stunt, because libs like Polymer try to square the circle in offering web toolkits that are easy to use, mobile ready, powerfull, cross-plattform and still somehow don't weigh down to much on end-user systems. You can imagine what bucketload of work that is and what stunts the developers come up with to tackle this problem, but the crews at Google have come up with some really impressive stuff. Such as storage worker components that stabilise mobile webapps with flaky online uplink. These are basically websites that mask as mobile apps and behave offline just as well as they do online, syncing your stuff only when they have a chance too. There is some quite cool stuff out there in PWA space.

    It's all quite some magic, but probably is also an attempt to counterbalance the fragmentation happening in the android space. Build once, run everywhere (iOS, Android, Chrome, Desktop OS, etc. ...) is actually not that far away with PWAs.

    I'm experimenting with PWAs, and while they do have a point, they also have the usual problems of squaring the circle. Tricky stuff and once again a scenario that proves building modern feasible non-trivial web-apps actually is quite a serious development task, requireing carefull planning and big, complex pipelines akin to those in regular x-plattform development.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:This has a few reasons ... by TheCastro1689 · · Score: 1

      Wasn't web apps a thing that apple tried to push before with first iphone? https://9to5mac.com/2011/10/21... Yea Steve Jobs said it.

    2. Re:This has a few reasons ... by The-Ixian · · Score: 1

      Another quite simple reason is the app-bloat we're alle experiencing on our cellphones

      Well maybe not everyone. I have 64GB of internal storage (no sd card slot) and have 67% free space currently. I have roughly 120 apps total on the phone (when looking at the apps storage page in settings). The major users of space are the NES roms, podcasts and photos.

      I am sure others use their phone way more than I do though. Mine is usually on the charger.

      This whole PWA thing just sounds like a reason not to use Chrome to me. It sounds intrusive as well as a security hole. A web browser that can reach into my device at a low level? I am a little uncomfortable with that.

      --
      My eyes reflect the stars and a smile lights up my face.
    3. Re:This has a few reasons ... by spire3661 · · Score: 1

      So when Android asked me to add a weather shortcut to my screen, is that a PWA?

      --
      Good-bye
    4. Re:This has a few reasons ... by dinfinity · · Score: 1

      Indeed. The storage space argument is absolute nonsense. Technically, 64GB of mobile storage isn't that much nowadays: https://www.newegg.com/Product...

      "Apps clocking in at 40+MB" equates to 1600 apps. I did not do an extensive search, but users have rougly 30 to 100 apps installed according to these sources:
      - https://www.quora.com/How-many...
      - https://thenextweb.com/apps/20...

      No, storage space on average mobiles is gobbled up by (UHD) self shot videos and years of videos received with Whatsapp (and the like) stored on the device.

    5. Re:This has a few reasons ... by sexconker · · Score: 1

      The major users of space are the NES roms

      There are less than 900 NES games (licensed and unlicensed). Call is 1024.
      The ROMS are measured in dozens to hundreds of KBs. Call it 256 KB on average.

      If you had every game, it would be about 256 MB. Emulators incorporate automatic zip decompression, though I do not know if this is a thing on Android NES emulators.

    6. Re:This has a few reasons ... by Anonymous Coward · · Score: 0

      The major users of space are the NES roms

      There are less than 900 NES games (licensed and unlicensed). Call is 1024.
      The ROMS are measured in dozens to hundreds of KBs. Call it 256 KB on average.

      If you had every game, it would be about 256 MB. Emulators incorporate automatic zip decompression, though I do not know if this is a thing on Android NES emulators.

      Isn't it illegal?

    7. Re:This has a few reasons ... by Anonymous Coward · · Score: 0

      https://www.nintendo.com/corp/legal.jsp#roms

    8. Re:This has a few reasons ... by Gavagai80 · · Score: 1

      The storage space argument is absolute nonsense.

      If your only target audience is the wealthy. If you're trying to reach the general public, storage space is very important. My phone has 1.27 GB, and that's more than any of my previous phones had. I always have to delete an app to install a new app.

      --
      This space intentionally left blank
    9. Re:This has a few reasons ... by Anonymous Coward · · Score: 0

      Apps clocking in at 40+ MB and weighing down on Smartphones budgeted memory and storage are a big problem

      So now, instead of a native app, the phone will have to run a bunch of JS and HTML in a browser engine, and to run offline it will have to download that? I don't see how that would save either CPU or storage.

      What I do see is a new vector to deliver malware, as the PWA that behaves today can silently upgrade to misbehave tomorrow.

      Reminds me of Win98 and its Active Desktop widgets (which also quickly became a big security hole).

    10. Re:This has a few reasons ... by Blaskowicz · · Score: 1

      So, the last tiny remnants of Firefox OS died out for good a few days ago and Google's announcing it's copying Firefox OS?

      dammit.

    11. Re:This has a few reasons ... by Blaskowicz · · Score: 1

      I believe most new phones have 16GB.
      Android 5.1 very common as well although 6.0 is decently common.

  7. Lol by sunking2 · · Score: 1

    The things this generation deems as important.

  8. More stuff to undo, if possible by xeno · · Score: 4, Insightful

    I can't express how much I don't want these features. Intents? Unseen data sharing? Unwanted desktop links? More "apps" that are just PII-leaking bookmarks? Blurring every border? Solutions to 9000+ problems I don't have. Ffs Chrome is like Benjamin Button progressing backward in time to the bad old days of giant local applications engorged with ole and directory services and odbc and the kitchen sink, with so many attack surfaces that they become legion. I just want a damn browser not a Gitmo feeding tube.

    --
    I think not...(*poof*)
    1. Re:More stuff to undo, if possible by Anonymous Coward · · Score: 0

      One of the reasons I enable the developer menu is to turn animation off, and with root, turn on firewalling so some fleshlight app I downloaded doesn't phone home without permission and dump everything under the sun it can get ahold of to some site overseas.

      Do I need more transient apps or more notifications? I have enough apps whining for reviews every time I tap them. Save notifications for things that matter, not the fact that Spatula City has a sale, guaranteed 100% happy or no money back. If I wanted to be notified multiple times a second for tons of drivel, I'd install an AlienVault appliance and configure SMS.

      How about some real functionality in Android:

      1: A filesystem that has encryption native, similar to Apple's APFS so md-crypt isn't needed, and multiple VMs can use the same drive, but see different views of files depending on the key used to mount it (think PhonebookFS, except on the block level.)

      2: A real backup mechanism. Look at Borg Backup, with the ability to compress, deduplicate, and encrypt. Look at Titanium Backup with the ability to archive apps, like that old copy of Chaos Rings that you might want to play in the future now that all character pairs are level 100, but you need the space free on your phone.

      3: An update system that allows for sector diffs, as well as files, so /system can be modified without bringing down the house.

      4: The ability to actually back up and restore everything. Not just /data, but every other partition. This way, if I'm well out somewhere and I got my phone stuck in a bootloop, I can boot to the bootloader, pull a recovery and my last working /system, /data, and other partitions, and be in business.

      5: VMs or containers. It would be nice to keep my work stuff separate from home stuff, and both separate from stuff that I work on with a client. Not just in different directories, but in different filesystems so there is little chance of contamination in case one of the VMs gets compromised.

      6: Limits on phoning home. DroidWall or a successor should be an option in the developer menu.

      7: Some security features like the old Blackberry had. For example, if the phone doesn't see a network in "x" amount of time, it auto-erases.

    2. Re:More stuff to undo, if possible by Anonymous Coward · · Score: 0

      You have a fleshlight on your phone? Is it IP58? Is it "tight"?

  9. Progressive? by Anonymous Coward · · Score: 0

    For example, Progressive Web Apps will now appear in the app drawer section of the launcher and in Android Settings, and will be able to receive incoming intents from other apps.

    Thinking out load here as I didn't RTFA. If a financial app has an intent of showing you stock prices and company news, does the "Progressive" app receive that intent and change it to show how you're white and privileged? Do they receive intent from social media and display which victim class you fall into? :-)

  10. Buzzword bingo by Anonymous Coward · · Score: 0

    Can we stuff this into a "does not program in annoying fad Web APIs" translator?

  11. Deja Vu by Thelasko · · Score: 1

    I get the feeling I've seen this feature before...

    Dear Google,

    Good luck defending this to the European Commission.

    Thelasko

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
  12. Applets for a new age by SuperKendall · · Score: 1

    Convince me these are not destined for a similar fate as Java applets - Go.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Applets for a new age by Anonymous Coward · · Score: 0

      Nah, it'll be way more like Java Web Start.

  13. Is it really that big of deal? by randomErr · · Score: 1

    It just sounds like it lets you make a 'Web App Manifest'. So you package a directory on an SSL enabled web server as an application. Everything else seems like web good design.

    By definition with this being a 'Progressive' web app you have to have workarounds incase the targeted platform doesn't support X feature. So.. are things like Service Workers, that might not work, really a big deal?

    --
    You say things that offend me and I can deal with it. Can you?
  14. Maybe I'm getting old by Anonymous Coward · · Score: 0

    But it reminds me of that goofy windows active desktop stuff back in line 98 or so. What could possibly go wrong?

  15. I hope you're enjoying your new phone by raymorris · · Score: 1

    > I have 64GB of internal storage (no sd card slot) and have 67% free space currently

    In hope you're enjoying your brand new phone. ;)

  16. Don't need progressive apps in Texas, but safe spa by raymorris · · Score: 1

    We don't need no damn progressive apps in Texas!

    They keep showing up, saying they know we have jobs for them here, so we set up a safe space for them, called Austin.

  17. Oh Mr. Page, what big lips you've got! by jenningsthecat · · Score: 1

    All the better to suck up every last bit of privacy you possess, my dear!

    --
    'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
    1. Re:Oh Mr. Page, what big lips you've got! by CrashNBrn · · Score: 1

      I see. So what privacy has been taken from you?

  18. If you don't have your own domain, get one. by Anonymous Coward · · Score: 0

    If you don't have your own domain to use in email addresses, so that you can change email providers when they pull stuff like this on you, get one now. It's cheap, it looks more professional than a freemail address and it gives you more control.

  19. SJW PWA FTW LOL by Anonymous Coward · · Score: 0

    LMAOLAMF AFAICT IANAL /. ABBR

  20. Wait - are they deeply integrating a web browser? by MerlynEmrys67 · · Score: 1, Interesting

    Into the operating system?

    I thought that was considered Illegal

    --
    I have mod points and I am not afraid to use them
  21. Free software and cooperation with other browsers by tepples · · Score: 1

    The facts in this case differ substantially from the facts in the case of IE. First, practically everything in Chrome except Adobe Flash and Widevine digital restrictions management comes from Chromium, which is free software. Second, Google works with W3C to encourage the other browser publishers (Mozilla, Apple, and Microsoft) to implement the same "progressive" APIs.

  22. AOSP and Chromium are free software by tepples · · Score: 1

    AOSP and Chromium are both free software. So other browser publishers can see what Android APIs Google is using to make web apps feel native and use them as well.

  23. More SJW discriminatory practices by Anonymous Coward · · Score: 0

    Google Is Integrating Progressive Web Apps Deeper Into Android. Where does that leave our Alt-Right Web Apps? Second class citizens in our own country?