diff --git a/config.xml b/config.xml index f783b068f..ed5414b61 100755 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + RADAR Questionnaire An application that collects active data for research. RADAR-Base diff --git a/src/app/core/services/config/remote-config.service.ts b/src/app/core/services/config/remote-config.service.ts index ec648f773..5ab60a148 100644 --- a/src/app/core/services/config/remote-config.service.ts +++ b/src/app/core/services/config/remote-config.service.ts @@ -106,6 +106,7 @@ class FirebaseRemoteConfig implements RemoteConfig { export class FirebaseRemoteConfigService extends RemoteConfigService { private readonly configSubject: BehaviorSubject private FETCH_TIMEOUT_SECONDS = 20 + private MINIMUM_FETCH_INTERVAL_SECONDS = 21600 // 6 hours constructor( private firebase: FirebaseX, @@ -116,7 +117,7 @@ export class FirebaseRemoteConfigService extends RemoteConfigService { super(storage) this.configSubject = new BehaviorSubject(new EmptyRemoteConfig()) this.platform.ready().then(() => { - FirebasePlugin.setConfigSettings(this.FETCH_TIMEOUT_SECONDS, null) + FirebasePlugin.setConfigSettings(this.FETCH_TIMEOUT_SECONDS, this.MINIMUM_FETCH_INTERVAL_SECONDS) }) } diff --git a/src/assets/data/defaultConfig.ts b/src/assets/data/defaultConfig.ts index 7f3e0e992..2ffb21383 100755 --- a/src/assets/data/defaultConfig.ts +++ b/src/assets/data/defaultConfig.ts @@ -16,7 +16,7 @@ import { Localisations } from './localisations' export const DefaultPlatformInstance = 'RADAR-CNS' // *Default app version -export const DefaultAppVersion = '2.6.1-alpha' +export const DefaultAppVersion = '2.6.3-alpha' // *Default Android package name export const DefaultPackageName = 'org.phidatalab.radar_armt'