Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[Shmuela Jacobs] Web goes Native: Progressive W...

[Shmuela Jacobs] Web goes Native: Progressive Web Apps with Angular

Presentation from GDG DevFest Ukraine 2017 - the biggest community-driven Google tech conference in the CEE.

Learn more at: https://devfest.gdg.org.ua

Google Developers Group Lviv

October 13, 2017
Tweet

More Decks by Google Developers Group Lviv

Other Decks in Technology

Transcript

  1. Mobile Apps • installable • notifications • device api •

    search in store • not linkable • permissions • updates
  2. Progressive Web Apps • Progressive • Discoverable • Linkable •

    App-like • Responsive • Connectivity-independent • Re-engageable • Installable • Fresh • Safe Reliable Fast Engaging
  3. Demo App song-book-pwa.firebaseapp.com Angular Angular-CLI Angular Material (2) Flex Layout

    @angular/service-worker Firebase: hosting auth DB storage cloud-functions
  4. App Manifest create & configure src/manifest.json add app icons //

    .angular-cli.json "apps": [ { "assets": [ "manifest.json" ], // index.html <link rel="manifest" href="manifest.json"> <meta name="theme-color" content="#8a2be2">
  5. Service Worker add service worker create & configure ngsw-manifest.json https://fluin.io/blog/angular-service-worker

    // .angular-cli.json "apps": [ { "serviceWorker": true OR ng set apps.0.serviceWorker=true npm install -S @angular/service-worker
  6. Progressive Web Apps ✓ Progressive ✓ Discoverable ✓ Linkable ✓

    App-like ✓ Responsive ✓ Connectivity-independent ✓ Re-engageable ✓ Installable ✓ Fresh ✓ Safe
  7. More in PWA & Angular • Angular v5 • Workbox

    2 • Google Cloud Firestore • indexedDB
  8. Recommended Resource Maxim Salnikov @webmaxru bit.ly/join-pwa-slack More in PWA &

    Angular • Angular v5 • Workbox 2 • Google Cloud Firestore • indexedDB