manifest.json 7.6 KB
Newer Older
1
{
2 3 4 5 6 7 8 9 10
    "name" : "统一应用基本项目",
    "appid" : "__UNI__E5373F7",
    "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
                "name" : "统一应用基本项目" // 应用名称  
            }
34
        },
35 36 37 38 39 40 41 42
        "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" : "暂不同意"
            }
43
        },
44 45
        "compatible" : {
            "ignoreVersion" : true
46
        },
47 48 49 50 51 52 53 54
        "usingComponents" : true,
        "nvueStyleCompiler" : "uni-app",
        "compilerVersion" : 3,
        "splashscreen" : {
            "alwaysShowBeforeRender" : false,
            "waiting" : true,
            "autoclose" : true,
            "delay" : 0
55
        },
56 57 58 59 60 61 62
        "modules" : {
            "Fingerprint" : {},
            "Share" : {},
            "OAuth" : {},
            "FaceID" : {},
            "Push" : {},
            "Geolocation" : {}
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 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 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
        "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" : "wxffdd8fa6ec4ef2a0",
                        "appsecret" : "",
                        "UniversalLinks" : ""
                    },
                    "univerify" : {}
                },
                "ad" : {},
                "share" : {
                    "weixin" : {
                        "appid" : "wxffdd8fa6ec4ef2a0",
                        "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
167
        },
168 169 170 171 172 173
        "usingComponents" : true,
        "betterScopedSlots" : true,
        "permission" : {
            "scope.userLocation" : {
                "desc" : "演示在onShow生命周期获取地理位置"
            }
174
        }
175
    },
176 177 178 179 180
    "mp-alipay" : {
        "usingComponents" : true
    },
    "mp-baidu" : {
        "usingComponents" : true
181
    },
182 183 184 185 186 187 188 189 190 191 192 193 194 195
    "mp-toutiao" : {
        "usingComponents" : true
    },
    "uniStatistics" : {
        "enable" : false
    },
    "h5" : {
        "template" : "",
        "sdkConfigs" : {
            "maps" : {
                "qqmap" : {
                    "key" : ""
                }
            }
196
        }
197 198 199
    },
    "_spaceID" : "",
    "vueVersion" : "2"
200
}
201 202 203
//...  
// 中文(简体)
// 应用名称  
204