BuglyDevTeam / Bugly-Android-Demo

Bugly Android SDK 使用例子
Apache License 2.0
811 stars 312 forks source link

PDA设备检测到更新信息,但是未弹窗提示 #298

Closed wxuonline closed 3 years ago

wxuonline commented 3 years ago

异常类型

app升级时异常

手机型号

Zebra Technologies TC21

手机系统版本

Android 10

gradle版本

com.tencent.bugly:crashreport_upgrade:1.4.2

系统

Windows 10

问题

在Zebra PDA上 Beta.checkUpgrade() 检测更新,获取到更新信息但是未弹窗提示更新, 同一套代码安装至android10小米8则有更新弹窗提示 本地 versionCode 1 versionName "0.1"

日志

2020-12-10 04:22:35.210 8289-8460/com.hengan.hadc_pda I/CrashReport: onUpgradeReceived: title: xxxx
    newFeature: 1、xxxxxxxxxxx
    2、xxxxxxxxxxx
    publishTime: 1612338774000
    publishType: 0
    appBasicInfo: {
        appId: 56d6ded3f2
        platformId: 1
        versionCode: 3
        versionName: 0.2
        buildNo: 0
        iconUrl: null
        apkId: 0
        channelId: null
        md5: 7899a87693612545bf3856d1a8027c58
        sdkVer: 
        bundleId: com.hengan.hadc_pda
    }
    apkBaseInfo: {
        apkMd5: 7899a87693612545bf3856d1a8027c58
        apkUrl: https://outexp-beta.cdn.qq.com/outbeta/2021/02/03/comhenganhadc_pda_0.2_40c53acb-12ad-5c5d-a7c3-5ad5f12f1827.apk
        manifestMd5: 
        fileSize: 6254957
        signatureMd5: 
    }
    updateStrategy: 1
    popTimes: 2147483647
    popInterval: 0
    diffApkInfo: {
        null}
    netType: null
    reserved: 4, {
        (
            IMG_title

        )
        (
            H1
            false
        )
        (
            VAL_style
            0
        )
        (
            H2
            0
        )
    }
    strategyId: da9bcdd9-def6-46db-adb8-70669194369d
    status: 1
    updateTime: 1612338774000
    updateType: 1
     [type: 1]
2020-12-10 04:22:35.224 8289-8460/com.hengan.hadc_pda D/CrashReport: [Database] insert ge_1002 success.
2020-12-10 04:22:35.229 8289-8460/com.hengan.hadc_pda E/CrashReport: 1607545355229ms

截图

小米手机正常弹窗日志

截图

wxuonline commented 3 years ago

把PDA系统时间调正确后解决了。 出问题时统时间为2020年,当前时间为2021年