Closed sdg9 closed 6 years ago
@sdg9 hah,did you problem has solve?
I alse have this problem....
We're not aware of any issues with the latest code.
I also encountered this problem. I have compiled it with a Mac computer. So there is a .DS_Store file in the folder. After I delete this file and publish it using codepush, the problem is not there. I can try it.
Problem
Using this server only the first app pushed is installed. Subsequent updates, while still downloaded, are not installed.
Details
After the first code push download, subsequent downloads will log "The update contents failed the data integrity check" which come's from react-native-code-push due to the hash computed locally not matching what the server says.
Note I don't believe the hash is ever correct, as the method to verify the hash is only called on subsequent updates.
I've tested against Microsoft's code push and it works with no issues.
Logs