This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
user configure
xuxinxin edited this page Aug 25, 2016
·
1 revision
所有带有必选字符的配置是必须配置的
以下为 Android 和 iOS 公共配置
{
"name": "", //app名(必选)
"version":{ /*版本信息*/
"name": "", /*版本名,例1.0.0(必选)*/
"code": "" /*版本号,数字(必选)*/
},
"description": "", /*项目描述信息*/
"developer":{ /*开发者信息*/
"email": "", /*邮箱*/
"name": "", /*姓名*/
"url": "" /*个人门户地址*/
},
"icon": "" /*app icon图片地址,png格式512*512(必选)*/
}
{
"packageName": "", /* 程序包名,如com.alibaba.weex 必选 */
"keystore": "", /* 如:"../assets/keys/WeexSample.keystore",打包证书文件 必选 */
"password": "", /* 打包证书密码 必选 */
"aliasName": "", /* 打包证书别名(必选) */
"storePassword": "", /* store密码(必选) */
"sdkDir": "", /* 安卓sdk地址,如果环境变量里面有 ANDROID_HOME 会自动填写 必选 */
"splashScreen": "" /* 如 : "../assets/splash/weex_splash.png" 720x1242,启动图片(必选) */
}
{
"appid": "com.app.id", //苹果开发网站申请的appid,如"com.alibaba.weex" (必选)
"splashScreen": { /* 启动图 */
"Default~iphone.png": "", // 如: "../assets/splash/Default~iphone.png" 320*480 iPhone3启动图片 (必选)
"Default@2x~iphone.png": "", // 如: "../assets/splash/Default@2x~iphone.png" 640*960 3.5英寸设备(iPhone4)启动图片 (必选)
"Default-568h@2x~iphone.png": "", // 如: "../assets/splash/Default-568h@2x~iphone.png" 640*1136 启动图片 (必选)
"Default-667h.png": "", // 如: "../assets/splash/Default-667h.png" 750*1134 启动图片 (必选)
"Default-736h.png": "", // 如: "../assets/splash/Default-736h.png" 1242*2208 启动图片 (必选)
"Default-Landscape@2x~ipad.png": "", // 如: "../assets/splash/Default-Landscape@2x~ipad.png" 2048*1536 启动图片 (必选)
"Default-Landscape~ipad.png": "", // 如: "../assets/splash/Default-Landscape~ipad.png" 1024*768 启动图片 (必选)
"Default-Landscape-736h.png": "", // 如: "../assets/splash/Default-Landscape-736h.png" 2208*1242 启动图片 (必选)
"Default-Portrait@2x~ipad.png": "", // 如: "../assets/splash/Default-Portrait@2x~ipad.png" 1536*2048 启动图片 (必选)
"Default-Portrait~ipad.png": "" // 如: "../assets/splash/Default-Portrait~ipad.png" 768*1024 启动图片(必选)
},
"certificate": { /* 证书信息 */
"codeSignIdentity": "", //证书名 (必选)
"provisionProfile": "" //证书标识 (必选)
}
}