【问题标题】:Firebase | Getting error on fetching RemoteConfig values on functions.pubsub.schedule onRun火力基地 |在functions.pubsub.schedule onRun上获取RemoteConfig值时出错
【发布时间】:2021-07-09 14:44:35
【问题描述】:

通常我们可以在 Firestore 文档触发器中正常从 RemoteConfig 获取数据,但在 Pubsub 调度侦听器中,下面的代码会出错:

让配置 = admin.remoteConfig(); const 模板 = 等待 config.getTemplate();

错误:版本更新时间必须是有效的日期字符串

【问题讨论】:

    标签: firebase google-cloud-pubsub firebase-remote-config


    【解决方案1】:

    firebase-admin 9.6.0 以上版本已解决。

    【讨论】:

      猜你喜欢
      • 2016-10-16
      • 2016-09-17
      • 2021-05-04
      • 2018-10-27
      • 1970-01-01
      • 2017-07-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多