File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ Release Notes
71
71
- Changes
72
72
- General (Android): Update to Firebase Android BoM version 31.1.1.
73
73
- General (iOS): Update to Firebase Cocoapods version 10.3.0.
74
+ - Remote Config: Added ` ConfigSettings.MinimumFetchIntervalInMilliseconds ` ,
75
+ which should be used instead of ` MinimumFetchInternalInMilliseconds ` . The
76
+ old one is considered deprecated, and will be removed with the next major release.
74
77
75
78
### 10.2.0
76
79
- Changes
Original file line number Diff line number Diff line change @@ -30,19 +30,28 @@ public struct ConfigSettings {
30
30
/// @note Fetches less than duration seconds after the last fetch from the
31
31
/// Firebase Remote Config server would use values returned during the last
32
32
/// fetch. Default is 12 hours.
33
- public ulong MinimumFetchInternalInMilliseconds { get ; set ; }
33
+ public ulong MinimumFetchIntervalInMilliseconds { get ; set ; }
34
+
35
+ /// The minimum interval between successive fetch calls.
36
+ ///
37
+ /// @deprecated Use MinimumFetchIntervalInMilliseconds instead. This will be
38
+ /// removed in the next major release.
39
+ public ulong MinimumFetchInternalInMilliseconds {
40
+ get { return MinimumFetchIntervalInMilliseconds ; }
41
+ set { MinimumFetchIntervalInMilliseconds = value ; }
42
+ }
34
43
35
44
internal static ConfigSettings FromInternal ( ConfigSettingsInternal csInternal ) {
36
45
return new ConfigSettings {
37
46
FetchTimeoutInMilliseconds = csInternal . fetch_timeout_in_milliseconds ,
38
- MinimumFetchInternalInMilliseconds = csInternal . minimum_fetch_interval_in_milliseconds
47
+ MinimumFetchIntervalInMilliseconds = csInternal . minimum_fetch_interval_in_milliseconds
39
48
} ;
40
49
}
41
50
42
51
internal static ConfigSettingsInternal ToInternal ( ConfigSettings cs ) {
43
52
ConfigSettingsInternal csInternal = new ConfigSettingsInternal ( ) ;
44
53
csInternal . fetch_timeout_in_milliseconds = cs . FetchTimeoutInMilliseconds ;
45
- csInternal . minimum_fetch_interval_in_milliseconds = cs . MinimumFetchInternalInMilliseconds ;
54
+ csInternal . minimum_fetch_interval_in_milliseconds = cs . MinimumFetchIntervalInMilliseconds ;
46
55
return csInternal ;
47
56
}
48
57
}
You can’t perform that action at this time.
0 commit comments