await codePush.sync(
{
installMode: codePush.InstallMode.IMMEDIATE,
mandatoryInstallMode: codePush.InstallMode.IMMEDIATE,
},
syncStatusChangedCallback,
downloadProgressCallback,
handleBinaryVersionMismatchCallback
);
I am using this sync method with immediate options , in android , after sync function finished and reload the app , the new code wasn't appended , I have to close the app and restart again to have the new code .
await codePush.sync(
{
installMode: codePush.InstallMode.IMMEDIATE,
mandatoryInstallMode: codePush.InstallMode.IMMEDIATE,
},
syncStatusChangedCallback,
downloadProgressCallback,
handleBinaryVersionMismatchCallback
);
I am using this sync method with immediate options , in android , after sync function finished and reload the app , the new code wasn't appended , I have to close the app and restart again to have the new code .