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

Commit d530bab

Browse files
committed
Android implementation
1 parent ca185e4 commit d530bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePushPackage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void downloadPackage(ReadableMap updatePackage, String expectedBundleFile
253253
String relativeBundlePath = CodePushUpdateUtils.findJSBundleInUpdateContents(newUpdateFolderPath, expectedBundleFileName);
254254

255255
if (relativeBundlePath == null) {
256-
throw new CodePushInvalidUpdateException("Update is invalid - A JS bundle file named \"" + expectedBundleFileName + "\" could not be found within the downloaded contents. Please check that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary.");
256+
throw new CodePushInvalidUpdateException("Update is invalid - A JS bundle file named \"" + expectedBundleFileName + "\" could not be found within the downloaded contents. Please ensure that your app is syncing with the correct deployment and that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary.");
257257
} else {
258258
if (FileUtils.fileAtPathExists(newUpdateMetadataPath)) {
259259
File metadataFileFromOldUpdate = new File(newUpdateMetadataPath);

0 commit comments

Comments
 (0)