codepush not send status with release
I am facing the problem, when the app is in debug mode, syncStatusChangedCallback & downloadProgressCallback works fine, but when I build the app out, the app still gets codepush update but I get no response from codepush.
Environment
- react-native-code-push version: v7.0.5
- react-native version: 0.64.2
- iOS/Android/Windows version:
- Does this reproduce on a debug build or release build?
- Does this reproduce on a simulator, or only on a physical device?
(The more info the faster we will be able to address it!)
let codePushOptions = {checkFrequency: CodePush.CheckFrequency.MANUAL};
Ïconst App = __DEV__ ? _App : CodePush(codePushOptions)(_App);
export default Sentry.wrap(App);
codePush.sync(
{
deploymentKey: CODE_PUSH_DEV_KEY_FINAL,
installMode: codePush.InstallMode.ON_NEXT_SUSPEND,
},
(status) => codePushStatusDidChange(status, timeoutSync),
codePushDownloadDidProgress,
);
i tried to use ON_APP_RESUME & ON_APP_START, => i have status SYNC_IN_PROGRESS
it doesn't work in most cases
This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.