android - Use a common database for Sqlite -
i using apache cordova visual studio 2015 mobile app development. using genymotion emulator , sqlite database.
i noticed, if use 2 different devices(merchant pov & consumer pov) demonstrate app, database using not synced database due being 2 different devices.
is there way can make sure both devices using synced database?
you need custom sync api synchronize data that. if in stage of testing local database, can make script loads sample data wich executed on opening of app. way device run same script , have same sample data.
but if want insert data on device , have same data on another, have sync api.
hope helps
Comments
Post a Comment