manifest.json 6.2 KB
Newer Older
1
{
2 3 4 5 6 7 8 9 10
  "name": "统一应用基本项目",
  "appid": "请点击重新获取",
  "description": "云端一体应用快速开发模版",
  "versionName": "1.0.0",
  "versionCode": "100",
  "transformPx": false,
  "app-plus": {
    "locales": {
      "en": {
11
                // 英文  
12 13 14
        "name": "uni-starter", // 应用名称  
        "android": {
          "strings": {
15
                        //Android平台自定义字符串  
16 17 18 19 20
            "CustomKey": "CustomValue"
          }
        },
        "ios": {
          "privacyDescription": {
21
                        //iOS平台隐私访问描述信息  
22 23 24
            "NSPhotoLibraryUsageDescription": "access to the user’s photo library(read)"
          },
          "infoPlist": {
25
                        //iOS平台自定义InfoPlist.strings  
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": {
      },
      "Push": {
      },
      "Geolocation": {
      }
    },
    "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": {
          }
116
        },
117
        "ad": {
118
        },
119 120 121 122 123
        "share": {
          "weixin": {
            "appid": "",
            "UniversalLinks": ""
          }
124
        },
125 126 127 128 129 130 131 132 133
        "geolocation": {
          "baidu": {
            "__platform__": [
              "ios",
              "android"
            ],
            "appkey_ios": "请填写地图的key",
            "appkey_android": "请填写地图的key"
          }
134
        },
135 136 137
        "push": {
          "unipush": {
          }
138
        },
139 140 141 142 143 144 145 146 147
        "payment": {
        }
      },
      "icons": {
        "android": {
          "hdpi": "",
          "xhdpi": "",
          "xxhdpi": "",
          "xxxhdpi": ""
148
        },
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
        "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": ""
          }
172
        }
173 174 175 176 177
      },
      "splashscreen": {
        "iosStyle": "common",
        "androidStyle": "common"
      }
178
    },
179 180 181 182 183 184 185 186 187
    "nvueLaunchMode": ""
  },
  "quickapp": {
  },
  "mp-weixin": {
    "appid": "",
    "setting": {
      "urlCheck": false,
      "es6": false
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
    "usingComponents": true,
    "betterScopedSlots": true,
    "permission": {
      "scope.userLocation": {
        "desc": "演示在onShow生命周期获取地理位置"
      }
    }
  },
  "mp-alipay": {
    "usingComponents": true
  },
  "mp-baidu": {
    "usingComponents": true
  },
  "mp-toutiao": {
    "usingComponents": true
  },
  "uniStatistics": {
    "enable": false
  },
  "h5": {
    "template": "",
    "sdkConfigs": {
      "maps": {
        "qqmap": {
          "key": ""
215
        }
216 217 218 219 220
      }
    }
  },
  "_spaceID": "",
  "vueVersion": "2"
221
}
222 223 224
//...  
// 中文(简体)
// 应用名称