manifest.json 10.4 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1
{
study夏羽's avatar
study夏羽 已提交
2 3 4 5 6 7 8 9 10
    "name" : "统一应用基本项目",
    "appid" : "__UNI__D53040B",
    "description" : "云端一体应用快速开发模版",
    "versionName" : "1.0.0",
    "versionCode" : "100",
    "transformPx" : false,
    "app-plus" : {
        "locales" : {
            "en" : {
11
                // 英文  
study夏羽's avatar
study夏羽 已提交
12 13 14
                "name" : "uni-starter", // 应用名称  
                "android" : {
                    "strings" : {
15
                        //Android平台自定义字符串  
study夏羽's avatar
study夏羽 已提交
16 17 18 19 20
                        "CustomKey" : "CustomValue"
                    }
                },
                "ios" : {
                    "privacyDescription" : {
21
                        //iOS平台隐私访问描述信息  
study夏羽's avatar
study夏羽 已提交
22 23 24
                        "NSPhotoLibraryUsageDescription" : "access to the user’s photo library(read)"
                    },
                    "infoPlist" : {
25
                        //iOS平台自定义InfoPlist.strings  
study夏羽's avatar
study夏羽 已提交
26 27 28 29 30
                        "CustomKey" : "CustomValue"
                    }
                }
            },
            "zh" : {
31
                // 中文(简体)
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 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 110 111 112 113 114 115
        "name": "统一应用基本项目" // 应用名称  
      }
    },
    "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": {
      "alwaysShowBeforeRender": false,
      "waiting": true,
      "autoclose": true,
      "delay": 0
    },
    "modules": {
      "Fingerprint": {
      },
      "Share": {
      },
      "OAuth": {
      },
      "FaceID": {
      },
      "Geolocation": {
      },
      "Push": {
      }
    },
    "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": {
            "appid": "",
            "appsecret": "",
            "UniversalLinks": ""
          },
          "univerify": {
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
116
        },
study夏羽's avatar
study夏羽 已提交
117 118 119 120 121 122 123 124
        "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" : "暂不同意"
            }
DCloud_JSON's avatar
DCloud_JSON 已提交
125
        },
study夏羽's avatar
study夏羽 已提交
126 127
        "compatible" : {
            "ignoreVersion" : true
DCloud_JSON's avatar
DCloud_JSON 已提交
128
        },
study夏羽's avatar
study夏羽 已提交
129 130 131 132 133 134 135 136
        "usingComponents" : true,
        "nvueStyleCompiler" : "uni-app",
        "compilerVersion" : 3,
        "splashscreen" : {
            "alwaysShowBeforeRender" : false,
            "waiting" : true,
            "autoclose" : true,
            "delay" : 0
DCloud_JSON's avatar
DCloud_JSON 已提交
137
        },
study夏羽's avatar
study夏羽 已提交
138 139 140 141 142 143
        "modules" : {
            "Fingerprint" : {},
            "OAuth" : {},
            "FaceID" : {},
            "Push" : {},
            "Geolocation" : {}
144
        },
study夏羽's avatar
study夏羽 已提交
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 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
        "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" : {},
                    "univerify" : {}
                },
                "ad" : {},
                "share" : {
                    "weixin" : {
                        "appid" : "",
                        "UniversalLinks" : ""
                    }
                },
                "geolocation" : {
                    "baidu" : {
                        "__platform__" : [ "ios", "android" ],
                        "appkey_ios" : "请填写地图的key",
                        "appkey_android" : "请填写地图的key"
                    }
                },
                "push" : {
                    "unipush" : {}
                },
                "payment" : {}
            },
            "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"
            }
        },
        "nvueLaunchMode" : ""
    },
    "quickapp" : {},
    "mp-weixin" : {
        "appid" : "",
        "setting" : {
            "urlCheck" : false,
            "es6" : false
243
        },
study夏羽's avatar
study夏羽 已提交
244 245 246 247 248 249
        "usingComponents" : true,
        "betterScopedSlots" : true,
        "permission" : {
            "scope.userLocation" : {
                "desc" : "演示在onShow生命周期获取地理位置"
            }
250
        }
DCloud_JSON's avatar
DCloud_JSON 已提交
251
    },
study夏羽's avatar
study夏羽 已提交
252 253 254 255 256
    "mp-alipay" : {
        "usingComponents" : true
    },
    "mp-baidu" : {
        "usingComponents" : true
257
    },
study夏羽's avatar
study夏羽 已提交
258 259 260 261 262 263 264 265 266 267 268 269 270 271
    "mp-toutiao" : {
        "usingComponents" : true
    },
    "uniStatistics" : {
        "enable" : false
    },
    "h5" : {
        "template" : "",
        "sdkConfigs" : {
            "maps" : {
                "qqmap" : {
                    "key" : ""
                }
            }
272
        }
study夏羽's avatar
study夏羽 已提交
273 274 275
    },
    "_spaceID" : "",
    "vueVersion" : "2"
276 277 278
}
//...  
// 中文(简体)
279
// 应用名称  
study夏羽's avatar
study夏羽 已提交
280