synchronizationnativescriptnativescript-angularofflineappsoffline-mode

Nativescript angular offline app tutorial


do you know where can I get full tutorial on building an android app using nativescript angular which is offline-first and could sync with remote server (rest api) using mysql database?

This is my first time to learn how to build an android app using nativescript angular and I need to learn how to build an offline-first app which could sync everything that change on local to remote server(mysql). I do have a rest api built with laravel. Could you guide me please?


Solution

  • I can just highlight some of the key points to you, don't have any tutorial ...

    You need to store data locally :

    You need to architecture your app logically in layers :

    You need to detect online/offline :

    If you have massive i/o, :

    Then you'll need to code your own synchronisation logic ;)

    Good luck