I’m creating a Cordova ionic app for Android/iOS/Windows. I want to sync data between the SQLite & MySQL when user logins. There are around 15 master tables in MySQL which I need to sync with SQLite. But for that I don’t want to use Native Code like Background Services/Broadcast receivers for Android because I don’t want use separate code for all three platforms otherwise it will be hectic to manage code for each platform. Can anyone please let me know how I can sync data easily using AngularJS so that it won’t affect app performance.
I referred other forums related to this but could not find any solution.
Any help would be appreciated.