简体   繁体   English

带命名空间的Firebase远程配置

[英]Firebase Remote Config with Namespace

The Firebase API for RemoteConfig has several methods for assigning config values by namespace, eg ( setDefaults(R.xml.rc_defaults, "Namespace") ). RemoteConfig的Firebase API有几种按命名空间分配配置值的方法,例如( setDefaults(R.xml.rc_defaults, "Namespace") )。 I've got this to work in terms of separating config values by namespace on Android, but how to do I set those values by namespace on the Firebase Console for remote updating? 我已经通过Android上的命名空间分离配置值,但是如何在Firebase控制台上按命名空间设置这些值以进行远程更新?

指定的命名空间在哪里?

I experienced the same problem with you. 我遇到了同样的问题。 So, I asked google Firebase team. 所以,我问了谷歌Firebase团队。

Here's the reply mail. 这是回复邮件。


Hi there, Sorry for the late reply. 你好,很抱歉迟到的回复。 Currently we don't have any custom namespace feature available. 目前,我们没有任何自定义命名空间功能。 However, we are aware of the use case and we are actively working on it but I can't share any timelines at the moment. 但是,我们知道用例,我们正在积极努力,但目前我无法分享任何时间表。

Keep an eye out on our release notes for any further updates. 如有任何进一步的更新,请留意我们的发行说明。

Let me know if you have any other questions. 如果您有任何其他问题,请告诉我。

Thanks 谢谢


I hope this answer is little helpful to you :) 我希望这个答案对你有所帮助:)

I work on Firebase Remote Config team. 我在Firebase远程配置团队工作。

As Safa mentioned, Namespaces were only designed for internal usage & are not meant for setting user assigned values. 正如Safa所提到的,命名空间仅用于内部使用,并不用于设置用户指定的值。 We have begun the process of deprecating the namespace usage from the SDK. 我们已经开始从SDK中弃用命名空间使用。 Hence I would request not to use them in production code. 因此,我会要求不要在生产代码中使用它们。

We are working on introducing namespaces via another mechanism. 我们正在通过其他机制引入名称空间。 Will update this thread once that's ready. 一旦准备就绪,将更新此线程。

Thanks! 谢谢!

Namespaces are intended for introducing future Google services that leverage Remote Config to provide a feature. 命名空间旨在介绍利用远程配置提供功能的未来Google服务。 They are not meant for setting user assigned values. 它们不用于设置用户指定的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM