Qonversion Release 9.7.0 - #854
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release PR
New
Qonversion.shared.invalidateRemoteConfigsCache()— invalidates the in-memory cache of remote configs so the nextremoteConfig/remoteConfigListcall fetches a fresh targeting evaluation. No network request itself; call it after changing user properties your targeting depends on. Not needed afteridentify— see below (feat: invalidateRemoteConfigsCache() + remote config refetch after same-uid identify (DEV-1236) #853).Improvements & fixes
identify()resolving to the same Qonversion user now invalidates the remote configs cache automatically, so the first login no longer serves the pre-login targeting evaluation for the rest of the process lifetime (feat: invalidateRemoteConfigsCache() + remote config refetch after same-uid identify (DEV-1236) #853).forceSendPropertieslosing the send-scheduled flag after a forced flush, and user property batches now reliably reach the server before a remote config evaluation (fix: unstick property sending flag + invalidate named-key RC cache on attach/detach (DEV-1232) #852).Behavior changes
remoteConfig()request in flight whenidentify()completes resolves after two round trips instead of one (fresh-data-for-latency trade; reliability is not reduced).invalidateRemoteConfigsCache()is a new member of the publicQonversioninterface — custom implementations of the interface must add it.