Giter VIP home page Giter VIP logo

Comments (11)

ikerfah avatar ikerfah commented on July 1, 2024

Hello, Did you add the services to your manifest ? ( you need to two tags , provider and service) , did you ?

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

Yes, everything is there.
When I run it on an emulator (android 4.4.2), I see that synchronization models appear normally.
But when I run it on a phone with the same characteristics as the emulator, I do not get anything.
I tried with 3 different phones with android versions (4.4.2, 7.0), same result.
Thank you

from framework.

ikerfah avatar ikerfah commented on July 1, 2024

Can you post a screenshot for your manifest ? I want to see how did your wrote the provider and service

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

capture1_emulateur

that's the screenshot when the application is running on the emulator.
As you can see, I have the option to check / uncheck.

screenshot_20181102-155046

that's the screenshot when the application runs on my phone (Tecno Camon CM, android 7.0).
As you can see, I have nothing.

Files.zip

There you have the files that you asked me (provider, service, manifest).

from framework.

ikerfah avatar ikerfah commented on July 1, 2024

This can be a issue from your device , you can find sync adapter for other apps ? if your can't, can you please go to "Settings > Apps ... Show System" you should see "Calendar Storage" and must not be disabled.
and then enable it.

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

screenshot_20181102-164847 1

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

I just checked, it's activated, and all seems normal.

from framework.

ikerfah avatar ikerfah commented on July 1, 2024

Right, Can you please add 'syncable' attribute to your provider and set it to true ?
android:syncable="true"

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

Sorry, I can not find the 'syncable' attribute anywhere. Can you guide me further?

from framework.

ikerfah avatar ikerfah commented on July 1, 2024

inside your provider ,
<provider android:name="com.odoo.addons.customers.providers.CustomersSyncProvider" android:authorities="${applicationId}.core.provider.content.sync.res_partner" android:label="@string/sync_label_customers" android:syncable="true" android:multiprocess="true" />

from framework.

developpeurSTS avatar developpeurSTS commented on July 1, 2024

Sorry nothing has changed.

from framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.