shm-open / code-push-server

CodePush service is an app hot update service which is compatible with react-native-code-push and other CodePush clients
MIT License
191 stars 53 forks source link

Hash dismatch #245

Open HairyRabbit opened 3 months ago

HairyRabbit commented 3 months ago

validate failed when release new bundle version:

[CodePush] Downloading package.
[CodePush] Applying diff update.
[CodePush] Verifying hash for folder path: /data/user/0/app/files/CodePush/71f0dacf352e38084d9e0c9b9a4b9a31318ee7f7f9d2794ff629576d728d0d47
[CodePush] Manifest string: ["CodePush/index.android.bundle:aaaa2d1431b6091bf17fc130163b99021addb0677ff1c339936585874dcd6cef"]    
[CodePush] Expected hash: 71f0dacf352e38084d9e0c9b9a4b9a31318ee7f7f9d2794ff629576d728d0d47, actual hash: 3aa8ab1153da438777adcea4543e1e006797eaea38ba9ef795e192d4cb1b5623     
[CodePush] Exception
 com.microsoft.codepush.react.CodePushInvalidUpdateException: The update contents failed the data integrity check.

would I missing some config or the version not work on RN 0.73?

versions: "react-native": "0.73" "react-native-code-push": "8.3.0"

issued on Android 11