【问题标题】:Parse.com's new app setup is not creating the config folder with the global json in itParse.com 的新应用程序设置未创建包含全局 json 的配置文件夹
【发布时间】:2015-08-24 07:02:09
【问题描述】:

根据 Parse.com 文档,新的应用设置应创建 3 个文件夹,即: 配置、云和公共。 对我来说,它只创建了 cloud 和 public 文件夹及其各自的文件,但没有创建带有 global.json 的配置文件夹。

我似乎无法通过谷歌搜索找到这个问题。

任何指针将不胜感激。

【问题讨论】:

    标签: json parsing setup-project sendgrid


    【解决方案1】:

    创建文件夹 config 并在该文件夹内创建一个文件 global.config

    使用此代码:

    {
    "applications": {
        "your app name": {
            "applicationId": "your app Id", 
            "masterKey": "your master key"
        }, 
        "_default": {
            "link": "your app name"
        }
    }, 
    "global": {
        "parseVersion": "1.3.3"
    }
    }
    

    但是如果你不需要使用主密钥,如果不需要这个文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-04
      • 2017-02-12
      • 2011-03-28
      相关资源
      最近更新 更多