Commit Graph

59 Commits

Author SHA1 Message Date
Paolo Arena
cd0ec40441 Corrected some logic problems...
4 storing:
  - Array in Memory Global state.todos
  - Array temporary filtered arr_todos
  - IndexedDb
  - Database
2019-02-15 01:25:44 +01:00
Paolo Arena
6931d57005 Fix: Todo Multi refresh ...
fix some promises problem
2019-02-14 18:38:23 +01:00
Paolo Arena
4d5cea1c17 - Manage multiple login, in different browsers... Multi Token...
- visualization of the Connection State (Online, Offline) using fetch.
2019-02-09 18:04:49 +01:00
Paolo Arena
b65d0a2386 - creating Alternative to SyncManager
- fix: refreshing with FF now it works!
2019-02-08 17:10:25 +01:00
Paolo Arena
5ee0d8e171 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-07 00:53:10 +01:00
Paolo Arena
cb62d46048 - updated SendReq
- If Server Down the login msg error corrected.
2019-02-06 18:47:54 +01:00
Paolo Arena
a66d83cb23 - add: perimssion and Send Notification to a Service Worker... -> and finally to the App 2019-02-04 16:47: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