...
Proposed Solution for the problem
...
Create a custom cordova plugin Cordova plugin which will isolate all sync processes and use a separate DB instance for persistence. This will be natively handled, as a result, the app performance will increase and loosely coupled.
Plugin method init()
Code Block | ||
---|---|---|
| ||
init: function(configurations: SyncConfiguration[], success, error) { exec(success, error, PLUGIN_NAME, "init", [configurations]) } |
...