New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync not working on Android API level 15 (4.0.3) #165
Comments
I had some research regarding above
Above all comes together in one |
I've tried android-odoo-contacts-2016 to find out whether sync is working or not. but, it's working fine on Android 4.0.3 than why @dpr-odoo Please, fix this bug ASAP. |
I am learning by myself so do not know if it is irrelevant, but in my app I could not sync from device to server (sync only worked from server to device). It is rare because it was working fine the sync all the time for me, but I found that the problem is that I add some new OColumns that does not let me sync correctly. So, in my case, the sync does not work because of a few new columns in the database. |
@YPerezM Thanks for the update. |
@YPerezM @kasim1011 auto sync still doesn't work :/ |
@kasim1011 can you check it with latest update? |
@dpr-odoo Let's take on model
After solving the Issue the code was look like.
Now, in 2nd code snippet the
So, Both 2nd & 3rd is working. This thing makes me confuse which snippet to use for better practice. We want some words from @dpr-odoo on this? |
When dealing with Sync Service you need to take care of following things: For sync service with sync adapter you need four components:
In all these component Also when user start sync from settings->account android will trigger
If you are using custom authority, you have to pass it to Hope this will help to understand the working of sync service with sync-adapter and authority. |
I've prepare demo for performing
sync
operation here. which works perfectly on Android Emulator (Android 6.0) as well as my device Moto E XT1022 (Android 5.0.2) but, it doesn't work on Sony Tablet S (Android 4.0.3). It gets force stop with followingerrors
. Any kind of help or suggestions will be appreciated. Thanks in advanced.The text was updated successfully, but these errors were encountered: