8000 [⏳] NT-890 Syncing Optimizely every 10 minutes by eoji · Pull Request #752 · kickstarter/android-oss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[⏳] NT-890 Syncing Optimizely every 10 minutes #752

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

Merged
merged 2 commits into from 8000
Feb 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions app/src/main/java/com/kickstarter/ApplicationModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import android.content.res.Resources;
import android.util.Log;

import androidx.annotation.NonNull;
import androidx.preference.PreferenceManager;

import com.apollographql.apollo.ApolloClient;
import com.crashlytics.android.Crashlytics;
import com.google.gson.FieldNamingPolicy;
Expand Down Expand Up @@ -90,8 +93,6 @@

import javax.inject.Singleton;

import androidx.annotation.NonNull;
import androidx.preference.PreferenceManager;
import dagger.Module;
import dagger.Provides;
import okhttp3.CookieJar;
Expand Down Expand Up @@ -649,6 +650,8 @@ ExperimentsClientType provideOptimizely(final @ApplicationContext @NonNull Conte

final OptimizelyManager optimizelyManager = OptimizelyManager.builder()
.withSDKKey(optimizelyKey)
.withDatafileDownloadInterval(60L * 10L)
.withEventDispatchInterval(60L)
.build(context);

optimizelyManager.initialize(context, null, optimizely -> {
Expand Down
0