react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Reporting app up to date when new build available

Open LiamGregory opened this issue 10 months ago • 0 comments

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 ?

LiamGregory avatar Apr 06 '25 00:04 LiamGregory