none isomorphic data sync and error in datasources.local.js
Hello!
I need a offline data sync to use in an ionic app so i need it to be none isomorphic. This loopback example is broken for me. Every time i use to different browsers on my local machine to make changes it make conflicts that cannot me resolved.
Trying to resolve result in this:
Error: Duplicate entry for LocalTodo.id
Also i had to update:
module.exports = {
remote: {
url: GLOBAL_CONFIG.restApiUrl
}
};
To
module.exports = {
remote: {
url: 'http://localhost:3000'+GLOBAL_CONFIG.restApiUrl
}
};
For it just to semi work with server sync.
Is there anyone who got a working example of loopback offline sync with none isomorphic code?
Hi, could you please fetch the latest version from github and try again?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.