小编Pra*_*han的帖子

google-services.json 生成错误的 ios_info bundle_id 字符串

我有一个 firebase 项目,里面有一个 android 和一个 ios 应用程序。

  • 安卓包名称:com.ramobile.myapp
  • ios 包 ID:com.ramobile.myapp

这是我下载的 google-service.json 的剪辑:

"appinvite_service": {
      "other_platform_oauth_client": [{
          "client_id": "xxxxxxxx.apps.googleusercontent.com",
          "client_type": 2,
          "ios_info": {
            "bundle_id": "com.ramobile.myapp"
          }
        } ]
    }
Run Code Online (Sandbox Code Playgroud)

有一天,我创建/添加一个新的 ios 应用程序,并使用新的 bundle id:com.ramobile.newapp,然后不久之后,我“删除了应用程序”,并再次下载了 google-service.json,但是ios_infobundle_id仍然参考最新(已删除)的 ios 应用程序包 ID。

"appinvite_service": {
      "other_platform_oauth_client": [{
          "client_id": "xxxxxxxx.apps.googleusercontent.com",
          "client_type": 2,
          "ios_info": {
            "bundle_id": "com.ramobile.newapp"
          }
        } ]
    }
Run Code Online (Sandbox Code Playgroud)

我刷新了页面并多次下载文件,但结果仍然相同。正常吗?应该和第一个一样吧?

有人帮帮我好吗?

android json plist ios firebase

5
推荐指数
1
解决办法
329
查看次数

标签 统计

android ×1

firebase ×1

ios ×1

json ×1

plist ×1