Skip to content

下载完之后不安装,一直提示要更新 #393

Description

@tigerlx

我是从appcenter转私有化部署的,因为网络问题。app安装完之后提示更新,更新完之后提示更新又弹出来了,重启app也是一样,查看history都是pending状态,没有active的
image

代码里配置的是立即安装:
codePush.sync({ installMode: codePush.InstallMode.IMMEDIATE, updateDialog: { optionalIgnoreButtonLabel: '稍后', optionalInstallButtonLabel: '立即更新', mandatoryContinueButtonLabel : '立即更新', optionalUpdateMessage: '有新版本了,是否更新?', mandatoryUpdateMessage: '该版本必须更新,请立即更新?', title: '更新提示' }, }, this.statusChanged.bind(this), this.downloadProgress.bind(this));

版本:
code-push-cli:2.1.9
react-native:0.71.3
react-native-code-push:8.3.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions