从PHP API创建的Firebase动态链接未在控制台中显示

时间:2019-04-05 06:30:58

标签: php firebase firebase-dynamic-links

我已经从我们的PHP API创建了Firebase动态链接。创建的链接显示响应,但不显示在Firebase控制台仪表板中。

请检查以下来自API的响应。

{
"result": {
"shortLink": "https://sample-xyz.page.link/UVJLgCH12gCMNdu66",
"warning": [
  {
    "warningCode": "UNRECOGNIZED_PARAM",
    "warningMessage": "Android app 'com.sample-xyz.beta' lacks SHA256. AppLinks is not enabled for the app. [https://firebase.google.com/docs/dynamic-links/debug#android-sha256-absent]"
  },
  {
    "warningCode": "UNRECOGNIZED_PARAM",
    "warningMessage": "We could not find Android package name 'test_bundle_v_1.0.54' in your Google project. [https://firebase.google.com/docs/dynamic-links/debug#app-not-in-project]"
  },
  {
    "warningCode": "UNRECOGNIZED_PARAM",
    "warningMessage": "There is no configuration to prevent phishing on this domain https://sample-xyz.page.link. Setup URL patterns to whitelist in the Firebase Dynamic Links console. [https://support.google.com/firebase/answer/9021429]"
  }
 ],
 "previewLink": "https://sample-xyz.page.link/UVJLgCH12gCMNdu66?d=1"
 }
}

请帮助我解决此问题。

1 个答案:

答案 0 :(得分:0)

据我了解,通过API创建的动态链接不会显示在控制台中。 仅当转到Events>dynamic_link_first_opendynamic_link_app_opendynamic_link_app_update时,您才能查看进入应用程序的统计信息。这是很不幸的。 但是,在创建动态链接时使用Google Analytics(分析)参数,应该可以查看更多/更好的统计信息。