react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

codepush not send status with release

Open bonnmh opened this issue 3 years ago • 3 comments

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!)

bonnmh avatar Aug 25 '22 08:08 bonnmh

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,
            );

bonnmh avatar Aug 25 '22 10:08 bonnmh

i tried to use ON_APP_RESUME & ON_APP_START, => i have status SYNC_IN_PROGRESS

bonnmh avatar Aug 25 '22 10:08 bonnmh

it doesn't work in most cases

bonnmh avatar Sep 25 '22 16:09 bonnmh

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.

ghost avatar Nov 24 '22 17:11 ghost

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.

ghost avatar Dec 09 '22 18:12 ghost