manifest.json 6.2 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1
{
2
  "name": "统一应用基本项目",
3 4 5 6 7 8
  "appid": "请点击重新获取",
  "description": "云端一体应用快速开发模版",
  "versionName": "1.0.0",
  "versionCode": "100",
  "transformPx": false,
  "app-plus": {
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    "locales": {
      "en": {
                // 英文  
        "name": "uni-starter", // 应用名称  
        "android": {
          "strings": {
                        //Android平台自定义字符串  
            "CustomKey": "CustomValue"
          }
        },
        "ios": {
          "privacyDescription": {
                        //iOS平台隐私访问描述信息  
            "NSPhotoLibraryUsageDescription": "access to the user’s photo library(read)"
          },
          "infoPlist": {
                        //iOS平台自定义InfoPlist.strings  
            "CustomKey": "CustomValue"
          }
        }
      },
      "zh": {
                // 中文(简体)
        "name": "统一应用基本项目" // 应用名称  
      }
    },
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
    "privacy": {
      "prompt": "template",
      "template": {
        "title": "服务协议和隐私政策",
        "message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ask.dcloud.net.cn/protocol.html\">《服务协议》</a>和<a href=\"https://ask.dcloud.net.cn/protocol.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
        "buttonAccept": "同意",
        "buttonRefuse": "暂不同意"
      }
    },
    "compatible": {
      "ignoreVersion": true
    },
    "usingComponents": true,
    "nvueStyleCompiler": "uni-app",
    "compilerVersion": 3,
    "splashscreen": {
51
      "alwaysShowBeforeRender": false,
52 53 54 55 56 57 58 59 60 61 62 63 64 65
      "waiting": true,
      "autoclose": true,
      "delay": 0
    },
    "modules": {
      "Fingerprint": {
      },
      "Share": {
      },
      "OAuth": {
      },
      "FaceID": {
      },
      "Push": {
66 67
      },
      "Geolocation": {
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
      }
    },
    "distribute": {
      "android": {
        "permissions": [
          "<uses-feature android:name=\"android.hardware.camera\"/>",
          "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
          "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
          "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
          "<uses-permission android:name=\"android.permission.CAMERA\"/>",
          "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
          "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
          "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
          "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
          "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
          "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
          "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
          "<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
          "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
          "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
          "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
        ],
        "abiFilters": [
          "armeabi-v7a",
          "arm64-v8a",
          "x86"
        ]
      },
      "ios": {
        "capabilities": {
          "entitlements": {
            "com.apple.developer.associated-domains": [
              "applinks:static-76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e.bspapp.com"
            ]
          }
        }
      },
      "sdkConfigs": {
        "oauth": {
          "apple": {
          },
          "weixin": {
110
            "appid": "",
111
            "appsecret": "",
112
            "UniversalLinks": ""
113 114 115
          },
          "univerify": {
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
116
        },
117
        "ad": {
DCloud_JSON's avatar
DCloud_JSON 已提交
118
        },
119 120
        "share": {
          "weixin": {
121 122
            "appid": "",
            "UniversalLinks": ""
123
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
124
        },
125
        "geolocation": {
126 127 128 129 130 131 132 133
          "baidu": {
            "__platform__": [
              "ios",
              "android"
            ],
            "appkey_ios": "请填写地图的key",
            "appkey_android": "请填写地图的key"
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
134
        },
135 136 137
        "push": {
          "unipush": {
          }
138
        },
139 140
        "payment": {
        }
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
      },
      "icons": {
        "android": {
          "hdpi": "",
          "xhdpi": "",
          "xxhdpi": "",
          "xxxhdpi": ""
        },
        "ios": {
          "appstore": "",
          "ipad": {
            "app": "",
            "app@2x": "",
            "notification": "",
            "notification@2x": "",
            "proapp@2x": "",
            "settings": "",
            "settings@2x": "",
            "spotlight": "",
            "spotlight@2x": ""
          },
          "iphone": {
            "app@2x": "",
            "app@3x": "",
            "notification@2x": "",
            "notification@3x": "",
            "settings@2x": "",
            "settings@3x": "",
            "spotlight@2x": "",
            "spotlight@3x": ""
          }
        }
      },
      "splashscreen": {
        "iosStyle": "common",
        "androidStyle": "common"
177
      }
DCloud_JSON's avatar
DCloud_JSON 已提交
178
    },
179 180 181 182 183 184 185 186 187
    "nvueLaunchMode": ""
  },
  "quickapp": {
  },
  "mp-weixin": {
    "appid": "",
    "setting": {
      "urlCheck": false,
      "es6": false
188
    },
189
    "usingComponents": true,
190 191 192 193 194 195
    "betterScopedSlots": true,
    "permission": {
      "scope.userLocation": {
        "desc": "演示在onShow生命周期获取地理位置"
      }
    }
196 197 198 199 200 201 202 203 204 205 206 207 208 209
  },
  "mp-alipay": {
    "usingComponents": true
  },
  "mp-baidu": {
    "usingComponents": true
  },
  "mp-toutiao": {
    "usingComponents": true
  },
  "uniStatistics": {
    "enable": false
  },
  "h5": {
210 211 212 213 214 215 216 217
    "template": "",
    "sdkConfigs": {
      "maps": {
        "qqmap": {
          "key": ""
        }
      }
    }
218 219 220
  },
  "_spaceID": "",
  "vueVersion": "2"
221 222 223 224
}
//...  
// 中文(简体)
// 应用名称