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.

CodePush: won't install updates if an error occurs in codePushStatusDidChange method #784

@sergey-akhalkov

Description

@sergey-akhalkov

Description

CodePush won't install updates in case there are unhandled exceptions are present in codePushStatusDidChange method (the same is for codePushDownloadDidProgress method).

Reproduction

Add throw Error("Break CodePush!") line in the end of codePushStatusDidChange method.

Solution

Need to wrap up syncStatusCallback and codePushDownloadDidProgress methods with another methods that should contain try/catch block.

I'll publish PR that should fix the issue.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions