I finally found what was the issue with Xiaomi mobiles. In the case it might help someone who have the same issue, I’ll explain here how to resolve this issue.
There are 3 importants options on MIUI* mobiles which could block you.
MIUI* : Android for Xiaomi mobiles.
The first one is authorization for apps, there is 2 authorizations :
- Agenda acess authorization
- Contacts acess authorization
You have to enable both to use Opensync for syncronization.
After this, the following log :
The second one, is the auto-start options, you have to authorize Opensync to start automatically. You’ll find this option in security options.
Finally there is battery-save restriction, you can enable “no-restrictions” for your app, in the battery save options.
Here, you have to be careful to the sync interval*, it could be dangerous for your battery to disable restrictions if you don’t setup correctly your sync interval.
Sync interval* have to be configured in Opensync Accounts.
I found different solutions on different places and I don’t know if the 3 options are all necessary to get Opensync work correctly.
I advise to look at the 3 options if you really want to be sure the apps will synchronize like it should.