Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

Reporting app up to date when new build available #2811

@LiamGregory

Description

@LiamGregory

I have a codepush server running and it has some updates for the binary version I am running the response from the server is

I call codepush.sync and it fires a network request

https://XXXXX:XXXXX/admin/v0.1/public/codepush/update_check?deployment_key=hzZoEQpQ2thj-9Nn75RI7Zlb8CRG4k-T3B7abe&app_version=1.1.12&client_unique_id=A5D4EE3E-8E2F-4DB3-BA67-53ED151DDC2E

{
"updateInfo": {
"downloadURL": "https://xxxxx.com:XXXX/XXXXXX/storagev2/gnwJhe2DfKTMWsSqyjX0fsb7ZKaN4k-T3B7abe",
"description": "v7 test update",
"isAvailable": true,
"isMandatory": true,
"appVersion": "1.1.12",
"packageHash": "b665d24149148e49c980b21ec79e1052d9b05d0cfa24230d7a2653590d9ddc4e",
"label": "v7",
"packageSize": 5853567,
"updateAppVersion": false,
"shouldRunBinaryVersion": false,
"target_binary_range": "1.1.12"
}
}

the sync status always comes back as codePush.SyncStatus.UP_TO_DATE and the update isn't applied.

is there something other then the server url I should be changing when going from appcenter codepush to self hosted ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions