Commit Graph

8 Commits

Author SHA1 Message Date
Paolo Arena
0e98ac1eaa Show Button, when Upgrade Version is available ! (check from the server, the version number
- for debug: added led button to see when is calling the server and the IndexedDb.
2019-02-22 10:23:00 +01:00
Paolo Arena
ea18c4e5b9 - Fix: choose language : added flags 2019-02-16 02:01:17 +01:00
Paolo Arena
cb941568e2 - add: createPushSubscription :
'Subscribed to FreePlanet.app!',
  'You can now receive Notification and Messages.'
2019-02-05 18:17:36 +01:00
Paolo Arena
b2e760faa9 - fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need.
- fix: modified become FALSE when is sent, otherwise infinite loop...
- fix: created 2 separate tables for POST and PATCH request.
2019-02-04 03:09:15 +01:00
Paolo Arena
3c6b2c7bef - Service Worker
- Indexdb
2019-02-02 20:13:06 +01:00
Paolo Arena
fa7247a338 - Activated Workbox precache PWA !
importScripts('https://storage.googleapis.com/workbox-cdn/releases/3.0.0/workbox-sw.js');

  if (!workbox) {
    workbox = new self.WorkboxSW();
  }

  if (workbox) {
    workbox.core.setCacheNameDetails({prefix: "freeplanet"});

    /**
     * The workboxSW.precacheAndRoute() method efficiently caches and responds to
     * requests for URLs in the manifest.
     * See https://goo.gl/S9QRab
     */
    self.__precacheManifest = [].concat(self.__precacheManifest || []);
    workbox.precaching.suppressWarnings();
    workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

    workbox.routing.registerRoute(/^http/, workbox.strategies.networkFirst(), 'GET');

  }
2019-01-31 13:52:52 +01:00
paolo
ab8e4327f0 Creating GitHub project FreePlanet 2018-12-10 11:38:22 +01:00
paolo
a2673c0502 Primo Committ 2018-10-12 16:42:54 +02:00