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.

Always logs "[CodePush] App is up to date" even after new release updates (iOS) #121

@kevinejohn

Description

@kevinejohn

I've been trying to get CodePush to work but haven't gotten it to recognize any release updates I push for iOS (Haven't tried Android yet).

Here were my steps I took after successfully registering:

  1. Followed all the install instructions listed here: https://microsoft.github.io/code-push/docs/react-native.html#link-3 including adding CodePush.sync() in the javascript and "jsCodeLocation = [CodePush bundleURL];" in the objective-c while adding the correct CodePush deployment key to the plist.
  2. Build the new update with new JS changes:
    $ react-native bundle --platform ios --entry-file index.ios.js --bundle-output codepush.js --dev false
  3. Upload to Staging:
    $ code-push release codepush.js 2.2.2 -m

$ code-push deployment ls --format json
[
{
"name": "Production",
"package": {
"description": "",
"appVersion": "2.2.2",
"isMandatory": true,
"packageHash": "ac9c025...",
"blobUrl": "https://codepush.blob.core.windows.net/storagev2/44232...",
"size": 581785,
"releaseMethod": "Upload",
"uploadTime": 1453676143623,
"label": "v3"
}
},
{
"name": "Staging",
"package": {
"description": "",
"appVersion": "2.2.2",
"isMandatory": true,
"packageHash": "42b7402434fe6f...",
"blobUrl": "https://codepush.blob.core.windows.net/storagev2/12vUhcHefwef...",
"size": 581785,
"releaseMethod": "Upload",
"uploadTime": 1453675949367,
"label": "v5"
}
}
]

Then when I run the app from XCode with the plist version set to 1.0.0 I always get the following log message with no updates:

2016-01-24 15:07:38.754 [trace][tid:com.facebook.React.JavaScript] [CodePush] Checking for update.
2016-01-24 15:07:38.952 [trace][tid:com.facebook.React.JavaScript] [CodePush] App is up to date.

Is there a way to debug this further to see why its not recognizing any new releases I push?

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