[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Config returns outdated values for deleted config keys #3745

Closed
GoodBadVlad opened this issue Sep 2, 2019 · 3 comments
Closed

Remote Config returns outdated values for deleted config keys #3745

GoodBadVlad opened this issue Sep 2, 2019 · 3 comments

Comments

@GoodBadVlad
Copy link

[READ] Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository
    file a Github issue.
    • If this is a feature request make sure the issue title starts with "FR:".
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Xcode version: Xcode 11 beta 7
  • Firebase SDK version: 6.7.0
  • Firebase Component: Remote Config
  • Component version: 4.3.0

[REQUIRED] Step 3: Describe the problem

When I delete a config key/value from the console, the app keeps on getting the deleted value for that key, instead of the default one.

Steps to reproduce:

  1. The app supplies a config key "testKey" with default value "local". That key is not yet defined in Firebase console. Next time the app fetches and activates the remote config, it gets value "local" for key "testKey".

  2. Add the config key "testKey" to the RemoteConfig console with value "remote" and publish the changes. Next time the app fetches and activates the remote config, it gets value "remote".

  3. Delete the key "testKey" from the Firebase console by tapping on "testKey" and then tapping on the trash bin icon. Publish the changes. Next time the app fetches and activates the remote config, it gets value "local", as expected.

  4. Without making any changes in the Firebase console, start the app again and let it fetch and activate the config. This time the app gets value "remote" for key "testKey", although this value has been deleted. The expected config value is "local", as in step 3.

@google-oss-bot

This comment has been minimized.

@dmandar
Copy link
Contributor
dmandar commented Sep 3, 2019

Thanks for reporting. We will try to repro and fix as appropriate.

@dmandar
Copy link
Contributor
dmandar commented Oct 1, 2019

Fixed in #3926 and available in the next release.

@dmandar dmandar closed this as completed Oct 1, 2019
@firebase firebase locked and limited conversation to collaborators Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants