You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

iOS应用Firebase Dynamic Links无法生成链接求助

问题说明

iOS应用使用Firebase Dynamic Links实现内容分享,未修改代码的情况下,控制台输出以下错误:

Error Domain=com.firebase.durabledeeplink Code=0 "We could not match param 'https://www.example.com/post?postId=hy48ndmFLMdxydT7mGPq' with whitelisted URL patterns in this Google project. [https://support.google.com/firebase/answer/9021429] [https://support.google.com/firebase/answer/9021429]" UserInfo={remoteStatus=INVALID_ARGUMENT, NSLocalizedFailureReason=We could not match param 'https://www.example.com/post?postId=hy48ndmFLMdxydT7mGPq' with whitelisted URL patterns in this Google project. [https://support.google.com/firebase/answer/9021429] [https://support.google.com/firebase/answer/9021429], remoteErrorCode=400}

相关配置截图:
Firebase Dynamic Links 配置截图

解决步骤

  • 登录Firebase控制台,打开对应项目
  • 进入Dynamic Links模块的设置页面
  • 找到允许的域名(URL白名单)配置项
  • 添加匹配目标链接的规则,比如:
    • 精确匹配:https://www.example.com/post
    • 带任意参数匹配:https://www.example.com/post?*
    • 域名下所有路径匹配:https://www.example.com/*
  • 保存配置,等待5-10分钟让配置生效后重新测试

内容的提问来源于stack exchange,提问作者Santiago Padilla

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.14 17:45:43