t***@163.com
t***@163.com
  • 发布:2019-03-14 00:29
  • 更新:2020-09-17 19:09
  • 阅读:1548

【报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 负责人:无 分享
已邀请:
t***@163.com

t***@163.com (作者) - 80后

顶一下官方来个人好嘛

t***@163.com

t***@163.com (作者) - 80后

官方不去测试一下?

t***@163.com

t***@163.com (作者) - 80后

我靠没人关心?

t***@163.com

t***@163.com (作者) - 80后

嗯是时候

t***@163.com

t***@163.com (作者) - 80后

I哈哈哈呵呵呵

铛铛

铛铛

怎么关闭它呀

3***@qq.com

3***@qq.com - 不食人间烟火

根本没起作用 姿势不对吗

码一码

码一码

等了一年?

l***@126.com

l***@126.com

大佬,有解决方法没有?

3***@qq.com

3***@qq.com - 不食人间烟火

等了两年还是没办法

3***@qq.com

3***@qq.com - 不食人间烟火

顶一下官方来个人好嘛

l***@126.com

l***@126.com

顶一下

3***@qq.com

3***@qq.com - 不食人间烟火

继续顶下

怕酸还吃柠檬

怕酸还吃柠檬 - app开发

一年多都不解决吗,bug留着都过来两个年了

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