Giter Club home page Giter Club logo

Comments (5)

jaeopt avatar jaeopt commented on May 22, 2024

@technoir42 Background datafile polling is off by default. To enable it, the polling interval in secs should be set like this:

val optimizelyClient = OptimizelyManager.builder()
.withSDKKey("sdk key")
.withDatafileDownloadInterval(600)
.build(context)
.initialize(context, R.raw.optimizely_data_file)

We'll improve the document to make it more clear.
Let us know if this fixes your issue.

from android-sdk.

technoir42 avatar technoir42 commented on May 22, 2024

Thanks for response.
We are not going to use background datafile polling and the bug is not related to it.
After creating this ticket I found out that the bug exists on Android 10 and doesn't exist on Android 9. Hope this helps.

from android-sdk.

jaeopt avatar jaeopt commented on May 22, 2024

I see. Thanks for your input.
We'll check Android 9 vs 10 here and get you updated.

from android-sdk.

ar-g avatar ar-g commented on May 22, 2024

It's not only related to Android 9 and 10 but to all versions. The data file is updated but we getting cached values until the app restarts. We expect to receive fresh feature flags on the first app start.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

@ar-g we updated the api so that now you can specify if you would like to be updated if a new datafile is downloaded after synch initialization without polling.

from android-sdk.

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.