Open empowerMax opened 1 year ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Any updates on this? Encountering this issue as well.
I am also facing this issue. Is there any update on this? Firebase version 10.29.0(SPM)
Description
When RemoteConfig's fetchAndActivate's activation succeeds, it only examine the activation error when considering if the fetch status was
FIRRemoteConfigFetchAndActivateStatusSuccessUsingPreFetchedData
orFIRRemoteConfigFetchAndActivateStatusSuccessFetchedFromRemote
.This means whenever we call fetchAndActivate, regardless of the fetch result, we can't distinguish if the data actually from the remote or not.
Reproducing the issue
Hey sorry but I don't want to provide a full example (where I'd need to wire it up to a Firebase project). I guess it'd look something like:
This prints 0 and then 0, whereas I'd expect 0 and then 1 Recall that:
Perhaps I'm holding it wrong! Let me know :)
Firebase SDK Version
10.13.0
Xcode Version
15.0
Installation Method
Swift Package Manager
Firebase Product(s)
Remote Config
Targeted Platforms
iOS, tvOS, watchOS, macOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml Replace this line with the contents of your Podfile.lock! ```