-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: remote_configtype: bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues.
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.lastFetchTimeon 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs AttentionThis issue needs maintainer attention.This issue needs maintainer attention.platform: iosIssues / PRs which are specifically for iOS.Issues / PRs which are specifically for iOS.plugin: remote_configtype: bugSomething isn't workingSomething isn't working