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.

iOS apps not updating #360

@codyhazelwood

Description

@codyhazelwood

I'm having issues with code push on iOS. If I build from Xcode to run on the device, it works fine and downloads/applied the update as expect; however if I submit to the App Store, the App Store version never updates. Android is working fine in dev mode and in Google Play.

Any suggestions on how I can pull logs from the App Store version (if that's even possible) to give you all more information on the issue?

I'm using:
React Native 0.26.2
React Native Code Push 1.11.0-beta

I trigger the code push sync using this code in my main component:

export default class MyApp extends Component {
    constructor(props) {
        super(props);
        this.appStateUpdated.bind(this);
        ...
    }

    componentWillMount() {
        AppState.addEventListener('change', this.appStateUpdated);
        this.appStateUpdated('active');
        ....
    }

    appStateUpdated(state) {
        state === 'active' && codePush.sync({installMode: codePush.InstallMode.ON_NEXT_RESUME});
    }

    ...
}

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