{ "name" : "勉学优品", "appid" : "__UNI__APPID", "description" : "你公司名称", "versionName" : "1.1.11", "versionCode" : 1111, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { "usingComponents" : true, "nvueCompiler" : "uni-app", "splashscreen" : { "alwaysShowBeforeRender" : false, "waiting" : false, "autoclose" : false, "delay" : 0 }, "modules" : { "Payment" : {}, "Push" : {}, "Share" : {}, "Speech" : {}, "VideoPlayer" : {}, "LivePusher" : {}, "OAuth" : {}, "Maps" : {}, "UIWebview" : {}, "Webview-x5" : {} }, /* 应用发布信息 */ "distribute" : { /* android打包配置 1.0.3升级 热更新 添加权限REQUEST_INSTALL_PACKAGES 同时修改了 targetSdkVersion 为 26 以适配 Android 9.0 */ "android" : { "packagename" : "com.stationery.com", "permissions" : [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "targetSdkVersion" : "26", "schemes" : "", "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] }, /* ios打包配置 */ "ios" : { "appid" : "com.stationery.com", "UIBackgroundModes" : [ "audio" ], "urlschemewhitelist" : [ "baidumap", "iosamap" ], "idfa" : false, "urltypes" : "" }, /* SDK配置 */ "sdkConfigs" : { "speech" : { "ifly" : {} }, "ad" : {}, "payment" : { "weixin" : { "appid" : "", "UniversalLinks" : "https://example.com/" }, "appleiap" : {}, "alipay" : {} }, "push" : { "unipush" : {} }, "oauth" : { "apple" : {}, "weixin" : { "appid" : "", "appsecret" : "", "UniversalLinks" : "https://example.com/" }, "qq" : { "appid" : "" }, "sina" : { "appkey" : "", "appsecret" : "", "redirect_uri" : "/wanlshop/callback/weibo" } }, "share" : { "weixin" : { "appid" : "", "UniversalLinks" : "https://example.com/" }, "qq" : { "appid" : "" } }, "maps" : { "amap" : { "appkey_ios" : "", "appkey_android" : "" } } }, "orientation" : [ "portrait-primary" ], "splashscreen" : { "android" : { "hdpi" : "", "xxhdpi" : "", "xhdpi" : "" }, "ios" : { "iphone" : { "portrait-896h@3x" : "", "landscape-896h@3x" : "" } }, "androidStyle" : "common", "iosStyle" : "common", "useOriginalMsgbox" : true }, "icons" : { "android" : { "hdpi" : "unpackage/res/icons/72x72.png", "xhdpi" : "unpackage/res/icons/96x96.png", "xxhdpi" : "unpackage/res/icons/144x144.png", "xxxhdpi" : "unpackage/res/icons/192x192.png" }, "ios" : { "appstore" : "unpackage/res/icons/1024x1024.png", "ipad" : { "app" : "unpackage/res/icons/76x76.png", "app@2x" : "unpackage/res/icons/152x152.png", "notification" : "unpackage/res/icons/20x20.png", "notification@2x" : "unpackage/res/icons/40x40.png", "proapp@2x" : "unpackage/res/icons/167x167.png", "settings" : "unpackage/res/icons/29x29.png", "settings@2x" : "unpackage/res/icons/58x58.png", "spotlight" : "unpackage/res/icons/40x40.png", "spotlight@2x" : "unpackage/res/icons/80x80.png" }, "iphone" : { "app@2x" : "unpackage/res/icons/120x120.png", "app@3x" : "unpackage/res/icons/180x180.png", "notification@2x" : "unpackage/res/icons/40x40.png", "notification@3x" : "unpackage/res/icons/60x60.png", "settings@2x" : "unpackage/res/icons/58x58.png", "settings@3x" : "unpackage/res/icons/87x87.png", "spotlight@2x" : "unpackage/res/icons/80x80.png", "spotlight@3x" : "unpackage/res/icons/120x120.png" } } } }, /* 不使用原生占位 http://ask.dcloud.net.cn/article/35564 */ "safearea" : { "bottom" : { "offset" : "none" } }, "compilerVersion" : 3, "nvueLaunchMode" : "fast", "uniStatistics" : { "enable" : false } }, /* 快应用特有相关 */ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { "appid" : "wxaf307a1646477313", "setting" : { "urlCheck" : true, "es6" : true, "minified" : true, "postcss" : true }, "sitemapLocation" : "sitemap.json", //重点这句 "usingComponents" : true, "permission" : { "scope.userLocation" : { "desc" : "演示定位能力" } }, "uniStatistics" : { "enable" : false } }, "mp-qq" : { "appid" : "", "uniStatistics" : { "enable" : true }, "setting" : { "es6" : true, "postcss" : true, "minified" : true, "urlCheck" : true }, "permission" : { "scope.userLocation" : { "desc" : "商城需要获取当前位置,查询附近商品和完善购物地址" } } }, "mp-alipay" : { "usingComponents" : true, "appid" : "", "uniStatistics" : { "enable" : true } }, "mp-baidu" : { "usingComponents" : true, "appid" : "", "uniStatistics" : { "enable" : true } }, "mp-toutiao" : { "usingComponents" : true, "appid" : "", "uniStatistics" : { "enable" : true } }, "h5" : { "template" : "template.h5.html", "router" : { "mode" : "hash", "base" : "./" }, "sdkConfigs" : { "maps" : { "qqmap" : { "key" : "" } } }, "domain" : "https://m.example.com", "optimization" : { "treeShaking" : { "enable" : true } }, "title" : "", "uniStatistics" : { "enable" : false }, "devServer" : { "https" : false } }, "uniStatistics" : { "enable" : false } }