Why does react-native-code-push download the update package and install it automatically as soon as it calls codePush.checkForUpdate?

rn version: 0.57.8
react-native-code-push version: 5.4.1

after pushing the non-mandatory hot update to the server, as soon as the client calls codePush.checkForUpdate, it downloads the update and installs it directly, even without calling codePush.sync. I want to implement a custom update, and click to confirm the update before downloading the update package. has anyone encountered this problem?

Jun.21,2022

what will the landlord do in the end?
I have the same problem, calling checkForUpdate will automatically download the package in the background.


codePush.CheckFrequency.MANUAL will not download automatically

Menu