7***@qq.com
7***@qq.com
  • 发布:2020-03-12 13:37
  • 更新:2020-03-12 13:54
  • 阅读:936

云打包关于UIBackgroundModes设置删除后,ios上架提示还存在此设置

分类:HTML5+

manifest.json中已经把UIBackgroundModes代码去掉了,我云打包的app上架ios,还是提示有这个设置呢?这是ios审核给的回复:
Your app declares support for audio in the UIBackgroundModes key in your Info.plist but did not include features that require persistent audio.

2020-03-12 13:37 负责人:无 分享
已邀请:
DCloud_uni-ad_HDX

DCloud_uni-ad_HDX

贴 manifest 完整配置,注意:移除敏感信息

  • 7***@qq.com (作者)

    下面是permission和plus配置

    "permissions" : {

    "Audio" : {

    "description" : "音频"

    },

    "Cache" : {

    "description" : "管理应用缓存"

    },

    "Console" : {

    "description" : "跟踪调试输出日志"

    },

    "Events" : {

    "description" : "应用扩展事件"

    },

    "VideoPlayer" : {},

    "Orientation" : {

    "description" : "方向传感器"

    },

    "Payment" : {}

    },

    "plus" : {

    "launchwebview" : {

    "bottom" : "0px",

    "background" : "#fff",

    "subNViews" : [

    {

    "id" : "tabBar",

    "styles" : {

    "bottom" : "0px",

    "left" : "0",

    "height" : "50px",

    "width" : "100%",

    "backgroundColor" : "#fff"

    },

    "tags" : [

    {

    "tag" : "font",

    "id" : "indexIcon",

    "text" : "",

    "position" : {

    "top" : "4px",

    "left" : "0",

    "width" : "33%",

    "height" : "24px"

    },

    "textStyles" : {

    "fontSrc" : "_www/css/iconfont.ttf",

    "align" : "center",

    "size" : "24px"

    }

    },

    {

    "tag" : "font",

    "id" : "indexText",

    "text" : "培训",

    "position" : {

    "top" : "23px",

    "left" : "0",

    "width" : "33%",

    "height" : "24px"

    },

    "textStyles" : {

    "align" : "center",

    "size" : "14px"

    }

    },

    {

    "tag" : "font",

    "id" : "newsIcon",

    "text" : "",

    "position" : {

    "top" : "4px",

    "left" : "33%",

    "width" : "34%",

    "height" : "24px"

    },

    "textStyles" : {

    "fontSrc" : "_www/css/iconfont.ttf",

    "align" : "center",

    "size" : "25px"

    }

    },

    {

    "tag" : "font",

    "id" : "newsText",

    "text" : "练习",

    "position" : {

    "top" : "23px",

    "left" : "33%",

    "width" : "34%",

    "height" : "24px"

    },

    "textStyles" : {

    "align" : "center",

    "size" : "14px"

    }

    },

    {

    "tag" : "font",

    "id" : "contactIcon",

    "text" : "",

    "position" : {

    "top" : "4px",

    "left" : "67%",

    "width" : "33%",

    "height" : "24px"

    },

    "textStyles" : {

    "fontSrc" : "_www/css/iconfont.ttf",

    "align" : "center",

    "size" : "24px"

    }

    },

    {

    "tag" : "font",

    "id" : "contactText",

    "text" : "我的",

    "position" : {

    "top" : "24px",

    "left" : "67%",

    "width" : "33%",

    "height" : "24px"

    },

    "textStyles" : {

    "align" : "center",

    "size" : "14px"

    }

    },

    {

    "tag" : "rect",

    "id" : "tabBorder",

    "position" : {

    "top" : "0",

    "left" : "0",

    "width" : "100%",

    "height" : "1px"

    },

    "rectStyles" : {

    "color" : "#ccc"

    }

    }

    ]

    }

    ]

    },

    "allowsInlineMediaPlayback" : true,

    "splashscreen" : {

    "autoclose" : true,

    /是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭/

    "waiting" : true,

    "delay" : 2000

    },

    "safearea" : {

    "bottom" : {

    "offset" : "auto"

    }

    },

    "popGesture" : "none",

    /设置应用默认侧滑返回关闭Webview窗口,"none"为无侧滑返回功能,"hide"为侧滑隐藏Webview窗口。参考http://ask.dcloud.net.cn/article/102/

    "runmode" : "normal",

    /应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)/

    "signature" : "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",

    /可选,保留给应用签名,暂不使用/

    "distribute" : {

    "plugins" : {

    "payment" : {

    "appleiap" : {}

    },

    "push" : {},

    "ad" : null

    },

    "apple" : {

    "appid" : "",

    /iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5/

    "mobileprovision" : "",

    /iOS应用打包配置文件/

    "password" : "",

    /iOS应用打包个人证书导入密码/

    "p12" : "",

    /iOS应用打包个人证书,打包配置文件关联的个人证书/

    "devices" : "universal",

    /iOS应用支持的设备类型,可取值iphone/ipad/universal/

    "frameworks" : [],

    "privacyDescription" : {

    "NSPhotoLibraryUsageDescription" : "APP需要您的同意,才能访问相册进行选择照片修改头像",

    "NSCameraUsageDescription" : "APP需要您的同意,才能访问相机进行拍摄修改头像",

    "NSLocationWhenInUseUsageDescription" : "支付功能需访问位置信息以确保支付安全",

    "NSLocationAlwaysAndWhenInUseUsageDescription" : "访问位置信息确保支付安全"

    },

    "idfa" : false

    },

    "google" : {

    "targetSdkVersion" : 26,

    "packagename" : "",

    "hardwareAccelerated" : true,

    /Android应用包名,如io.dcloud.HelloH5/

    "keystore" : "",

    /Android应用打包使用的密钥库文件/

    "password" : "",

    /Android应用打包使用密钥库中证书的密码/

    "aliasname" : "",

    /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.READ_EXTERNAL_STORAGE\"/>",

    "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",

    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"

    ],

    "abiFilters" : []

    },

    "orientation" : [ "portrait-primary" ],

    /应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向/

    "icons" : {

    "ios" : {

    "prerendered" : true,

    /应用图标是否已经高亮处理,在iOS6及以下设备上有效//应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标/

    "iphone" : {

    "normal" : "",

    /iPhone3/3GS程序图标,分辨率:57x57/

    "retina" : "",

    /iPhone4程序图标,分辨率:114x114//iPhone4S/5/6程序图标,分辨率:120x120//iPhone6 Plus程序图标,分辨率:180x180/

    "spotlight-normal" : "",

    /iPhone3/3GS Spotlight搜索程序图标,分辨率:29x29/

    "spotlight-retina" : "",

    /iPhone4 Spotlight搜索程序图标,分辨率:58x58//iPhone4S/5/6 Spotlight搜索程序图标,分辨率:80x80/

    "settings-normal" : "",

    /iPhone4设置页面程序图标,分辨率:29x29//iPhone4S/5/6设置页面程序图标,分辨率:58x58/

    "app@2x" : "unpackage/res/icons/120x120.png",

    "app@3x" : "unpackage/res/icons/180x180.png",

    "settings@3x" : "unpackage/res/icons/87x87.png",

    "settings@2x" : "unpackage/res/icons/58x58.png",

    "spotlight@2x" : "unpackage/res/icons/80x80.png",

    "spotlight@3x" : "unpackage/res/icons/120x120.png",

    "notification@3x" : "unpackage/res/icons/60x60.png",

    "notification@2x" : "unpackage/res/icons/40x40.png"

    },

    "ipad" : {

    "normal" : "",

    /iPad普通屏幕程序图标,分辨率:72x72/

    "retina" : "",

    /iPad高分屏程序图标,分辨率:144x144//iPad iOS7程序图标,分辨率:76x76//iPad iOS7高分屏程序图标,分辨率:152x152/

    "spotlight-normal" : "",

    /iPad Spotlight搜索程序图标,分辨率:50x50/

    "spotlight-retina" : "",

    /iPad高分屏Spotlight搜索程序图标,分辨率:100x100//iPad iOS7 Spotlight搜索程序图标,分辨率:40x40//iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80//iPad设置页面程序图标,分辨率:29x29/

    "app" : "unpackage/res/icons/76x76.png",

    "app@2x" : "unpackage/res/icons/152x152.png",

    "settings" : "unpackage/res/icons/29x29.png",

    "proapp@2x" : "unpackage/res/icons/167x167.png",

    "spotlight" : "unpackage/res/icons/40x40.png",

    "settings@2x" : "unpackage/res/icons/58x58.png",

    "spotlight@2x" : "unpackage/res/icons/80x80.png",

    "notification" : "unpackage/res/icons/20x20.png",

    "notification@2x" : "unpackage/res/icons/40x40.png"

    },

    "appstore" : "unpackage/res/icons/1024x1024.png"

    },

    "android" : {

    "mdpi" : "unpackage/res/icons/48x48.png",

    /普通屏程序图标,分辨率:48x48/

    "ldpi" : "unpackage/res/icons/48x48.png",

    /大屏程序图标,分辨率:48x48/

    "hdpi" : "unpackage/res/icons/72x72.png",

    /高分屏程序图标,分辨率:72x72/

    "xhdpi" : "unpackage/res/icons/96x96.png",

    /720P高分屏程序图标,分辨率:96x96/

    "xxhdpi" : "unpackage/res/icons/144x144.png",

    "xxxhdpi" : "unpackage/res/icons/192x192.png"

    }

    },

    "splashscreen" : {

    "ios" : {

    "iphone" : {

    "default" : "",

    /iPhone3启动图片选,分辨率:320x480/

    "retina35" : "/Users/jy/Documents/中介经纪人 - 副本/splash/640960.png",

    /3.5英寸设备(iPhone4)启动图片,分辨率:640x960/

    "retina40" : "/Users/jy/Documents/中介经纪人 - 副本/splash/6401136.png",

    /4.0 英寸设备(iPhone5/iPhone5s)启动图片,分辨率:640x1136/

    "retina47" : "/Users/jy/Documents/中介经纪人 - 副本/splash/7501334.png",

    /4.7 英寸设备(iPhone6)启动图片,分辨率:750x1334/

    "retina55" : "/Users/jy/Documents/中介经纪人 - 副本/splash/12422208.png",

    /5.5 英寸设备(iPhone6 Plus)启动图片,分辨率:1242x2208/

    "retina55l" : "/Users/jy/Documents/中介经纪人 - 副本/splash/22081242.png",

    "iphonex" : "/Users/jy/Documents/中介经纪人 - 副本/splash/11252436.png",

    "portrait-896h@2x" : "/Users/jy/Documents/中介经纪人 - 副本/splash/8281792.png",

    "portrait-896h@3x" : "/Users/jy/Documents/中介经纪人 - 副本/splash/12422688.png",

    "retina40l" : "/Users/jy/Documents/中介经纪人 - 副本/splash/1136640.png",

    "retina47l" : "/Users/jy/Documents/中介经纪人 - 副本/splash/1334750.png",

    "iphonexl" : "/Users/jy/Documents/中介经纪人 - 副本/splash/24361125.png",

    "landscape-896h@3x" : "/Users/jy/Documents/中介经纪人 - 副本/splash/26881242.png",

    "landscape-896h@2x" : "/Users/jy/Documents/中介经纪人 - 副本/splash/1792828.png"

    },

    "ipad" : {

    "portrait" : "",

    /iPad竖屏启动图片,分辨率:768x1004/

    "portrait-retina" : "",

    /iPad高分屏竖屏图片,分辨率:1536x2008/

    "landscape" : "",

    /iPad横屏启动图片,分辨率:1024x748/

    "landscape-retina" : "",

    /iPad高分屏横屏启动图片,分辨率:2048x1496/

    "portrait7" : "",

    /iPad iOS7竖屏启动图片,分辨率:768x1024/

    "portrait-retina7" : "",

    /iPad iOS7高分屏竖屏图片,分辨率:1536x2048/

    "landscape7" : "",

    /iPad iOS7横屏启动图片,分辨率:1024x768/

    "landscape-retina7" : ""

    }

    },

    "android" : {

    "mdpi" : "",

    /普通屏启动图片,分辨率:240x282/

    "ldpi" : "",

    /大屏启动图片,分辨率:320x442/

    "hdpi" : "/Users/jy/Documents/中介经纪人 - 副本/splash/480762.png",

    /高分屏启动图片,分辨率:480x762/

    "xhdpi" : "/Users/jy/Documents/中介经纪人 - 副本/splash/7201242.png",

    /720P高分屏启动图片,分辨率:720x1242/

    "xxhdpi" : "/Users/jy/Documents/中介经纪人 - 副本/splash/10801882.png"

    }

    }

    },

    "screenOrientation" : [ "portrait-primary" ]

    }

    2020-03-12 22:00

该问题目前已经被锁定, 无法添加新回复