txb_2008@163.com
txb_2008@163.com
  • 发布:2019-03-14 00:29
  • 更新:2019-04-12 17:24
  • 阅读:187

【报Bug】splash delay打包发布无效,请确认

分类:uni-app

详细问题描述

(DCloud产品不会有明显的bug,所以你遇到的问题大都是在特定环境下才能重现的问题,请仔细描述你的环境和重现方式,否则DCloud很难排查解决你的问题)
[内容]

{  
    "name" : "历史课堂",  
    "appid" : "__UNI__xxxx,  
    "description" : "历史课堂-专注于历史教学",  
    "versionName" : "1.0.1",  
    "versionCode" : "100",  
    "transformPx" : false,  
    "app-plus" : {  
        /* 5+App特有相关 */  
        "modules" : {  
            "Share" : {}  
        },  
        "splashscreen" : {  
            "waiting" : false,  
            "autoclose" : true,  
            "delay" : 6000,  
            "alwaysShowBeforeRender" : true  
        },  
        /* 模块配置 */  
        "distribute" : {  
            /* 应用发布信息 */  
            "android" : {  
                /* android打包配置 */  
                "permissions" : [  
                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",  
                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",  
                    "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",  
                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",  
                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",  
                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",  
                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",  
                    "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",  
                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",  
                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",  
                    "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",  
                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",  
                    "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",  
                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",  
                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",  
                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",  
                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",  
                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",  
                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",  
                    "<uses-feature android:name=\"android.hardware.camera\"/>",  
                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",  
                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"  
                ]  
            },  
            "ios" : {},  
            /* ios打包配置 */  
            "sdkConfigs" : {  
                "share" : {  
                    "weixin" : {  
                        "appid" : "wx00da42343cfba7d4",  
                        "appsecret" : "0909bebc57aca1fdb197f0aa52419f27"  
                    },  
                    "qq" : {  
                        "appid" : "1107883208"  
                    }  
                }  
            },  
            "icons" : {  
                "ios" : {  
                    "appstore" : "static/qidongtu/lsicon.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"  
                    }  
                },  
                "android" : {  
                    "hdpi" : "unpackage/res/icons/72x72.png",  
                    "ldpi" : "unpackage/res/icons/48x48.png",  
                    "mdpi" : "unpackage/res/icons/48x48.png",  
                    "xhdpi" : "unpackage/res/icons/96x96.png",  
                    "xxhdpi" : "unpackage/res/icons/144x144.png",  
                    "xxxhdpi" : "unpackage/res/icons/192x192.png"  
                }  
            },  
            "splashscreen" : {  
                "android" : {  
                    "hdpi" : "static/qidongtu/qidongtu480-762.png",  
                    "xhdpi" : "static/qidongtu/qidongtu720-1242.png",  
                    "xxhdpi" : "static/qidongtu/qidongtu1080-1882.png"  
                }  
            }  
        }  
    },  
    /* SDK配置 */  
    "quickapp" : {},  
    /* 快应用特有相关 */  
    "mp-weixin" : {  
        /* 小程序特有相关 */  
        "appid" : "",  
        "setting" : {  
            "urlCheck" : false  
        }  
    }  
}  
/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭  
                },  
            "icons": {  
                "ios": {  
                    "appstore": "static/qidongtu/lsicon.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"  
                    }  
                },  
                "android": {  
                    "hdpi": "unpackage/res/icons/72x72.png",  
                    "ldpi": "unpackage/res/icons/48x48.png",  
                    "mdpi": "unpackage/res/icons/48x48.png",  
                    "xhdpi": "unpackage/res/icons/96x96.png",  
                    "xxhdpi": "unpackage/res/icons/144x144.png",  
                    "xxxhdpi": "unpackage/res/icons/192x192.png"  
                }  
            }  
        }  
    },  
    /* SDK配置 *//* 快应用特有相关 *//* 小程序特有相关 */  

重现步骤

[步骤]云端打包app,想让splashscreen,显示六秒后再进入界面 ,无论怎么设置都无效
我先后尝试过delay:6000或者delay:"6000"
结果不到两秒就进入app首页。
[结果]
[期望]能够真正迟延生次奥
[如果语言难以表述清晰,拍一个视频或截图,有图有真相]
我还试过手动关闭也不起作用

IDE运行环境说明

[HBuilder 或 HBuilderX]1.65
[IDE版本号]
[windows版本号]win10
[mac版本号]

uni-app运行环境说明

[运行端是h5或app或某个小程序]
[运行端版本号]

App运行环境说明

[Android版本号] 8.0
[iOS版本号]
[手机型号]华为mate10 pro
[模拟器型号]

附件

[IDE问题请提供HBuilderX运行日志。菜单帮助-查看运行日志,点右键打开文件所在目录,将log文件压缩成zip包上传]
[App问题请提供可重现问题的代码片段,你补充的细一点,问题就解决的快一点]
[App安装包或H5地址]
[可重现代码片段]

联系方式

[QQ]

2019-03-14 00:29 分享
已邀请:
txb_2008@163.com

txb_2008@163.com (作者)

官方不去测试一下?

txb_2008@163.com

txb_2008@163.com (作者)

我靠没人关心?

txb_2008@163.com

txb_2008@163.com (作者)

顶一下官方来个人好嘛

txb_2008@163.com

txb_2008@163.com (作者)

嗯是时候

txb_2008@163.com

txb_2008@163.com (作者)

I哈哈哈呵呵呵

铛铛

铛铛

怎么关闭它呀

要回复问题请先登录注册