Is there an existing issue for this?
Which plugins are affected?
Remote Config
Which platforms are affected?
iOS
Description
As you can see here, the intended multiplication by 1000 of lastFetchTime is not happening as the factor only applies when config.lastFetchTime is null (which doesn't take effect because of the multiplication with 0).
See relevant line here
"lastFetchTime": Int(config.lastFetchTime?.timeIntervalSince1970 ?? 0 * 1000)
This results in iOS clients receiving a microseconds timestamp which is too small by factor 1000.
Reproducing the issue
- Check
FirebaseRemoteConfig.instance.lastFetchTime on iOS
- Confirm the timestamp is too small by factor 1000
Firebase Core version
4.4.0
Flutter Version
3.38.3
Relevant Log Output
Flutter dependencies
No response
Additional context and comments
No response
Is there an existing issue for this?
Which plugins are affected?
Remote Config
Which platforms are affected?
iOS
Description
As you can see here, the intended multiplication by 1000 of lastFetchTime is not happening as the factor only applies when
config.lastFetchTimeisnull(which doesn't take effect because of the multiplication with0).See relevant line here
"lastFetchTime": Int(config.lastFetchTime?.timeIntervalSince1970 ?? 0 * 1000)This results in iOS clients receiving a microseconds timestamp which is too small by factor 1000.
Reproducing the issue
FirebaseRemoteConfig.instance.lastFetchTimeon iOSFirebase Core version
4.4.0
Flutter Version
3.38.3
Relevant Log Output
Flutter dependencies
No response
Additional context and comments
No response