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

install update correctly after app installed,but It always rollback after restart the app

Open Mlobaievskyi opened this issue 7 years ago • 23 comments

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. Configure coodepush correctly
  2. Push update to production branch
  3. Immediate update don't work so update on app resume
  4. Hard close app and open again

Expected Behavior

Update from codepush already present

Actual Behavior

App rolled back to initial state and codepush doesn't apply anymore unless new update uploaded too codepush

Environment

  • react-native-code-push version: 5.7.0
  • react-native version: 0.61.4
  • iOS/Android/Windows version: iOS 13
  • Release
  • Physical device (iPhone X, Xs, 11)

Mlobaievskyi avatar Nov 15 '19 12:11 Mlobaievskyi

@DordeDimitrijev I am having the same issue: react-native: 0.73.9 react-native-code-push: 8.3.1

For the context, I was upgrading the react-native from 0.72.8 to 0.73.9 and the codepush was upgraded from 8.1.1 to 8.3.1 after that the codepush update on android only stopped working.

fragilehm avatar Aug 14 '24 13:08 fragilehm

Hello @fragilehm thank you for reaching out. I have several questions which can help me further analyze your issue.

  • Are you using custom code push server, if so can you try out using default appcenter codepush server?
  • If you don't use custom code push server, could you please provide logs from logcat when you apply update to your app?

Ideally it'd be nice if you could share small demo app with me where i can reproduce such behavior.

DordeDimitrijev avatar Aug 14 '24 15:08 DordeDimitrijev

Hello @fragilehm thank you for reaching out. I have several questions which can help me further analyze your issue.

  • Are you using custom code push server, if so can you try out using default appcenter codepush server?
  • If you don't use custom code push server, could you please provide logs from logcat when you apply update to your app?

Ideally it'd be nice if you could share small demo app with me where i can reproduce such behavior.

@DordeDimitrijev thanks for your reply: I have missed the following while migrating to 0.73: image

Now it works as expected.

fragilehm avatar Aug 15 '24 12:08 fragilehm