microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
644 stars 324 forks source link

Ionic Cordova MS App Center CodePush Undesirably Rolling Back #653

Open bferrillapp opened 3 years ago

bferrillapp commented 3 years ago

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

Description

Here is the description of the issue we are seeing that we need help with:

Using MS AppCenter in the past, we have successfully performed CodePushes on our both our iOS and Android app builds (written with Ionic on Cordova) that reside in the Apple and Google Stores, including a December 19, 2019 (target version 2.18.1) and January 27, 2020 (target version *) CodePush noted in our App Center account.

When we chose to do a new CodePush yesterday, September 21 (target version *), for either iOS or Android, we experienced the following steps:

  1. The app did not recognize the update if the user was already logged in from a prior session (V2.18.1 noted in the app info)
  2. When the user logged out of the app, killed the app (swipe up), restarted the app and logged in, CodePush was recognized and completed the update (V2.33.0 noted in the app info – correct update)
  3. User logs out and kills the app, or just kills the app and restarts it, the app reverted back to V2.18.1 again with no user interaction
  4. Subsequent log outs and restarts of the app still remained at V2.18.1 and no prompts for CodePush ever came back a second time

Reproduction

See above

Additional Information

(The more info the faster we will be able to address it!)

duanju commented 3 years ago

I face the same issue and hope someone can answer this question.

bferrillapp commented 3 years ago

Hi we figured it out thanks!

Regards,

Brian

From: Ju Duan notifications@github.com Sent: Wednesday, October 14, 2020 1:44 AM To: microsoft/cordova-plugin-code-push cordova-plugin-code-push@noreply.github.com Cc: bferrillapp bferrilla@playport.com; Author author@noreply.github.com Subject: Re: [microsoft/cordova-plugin-code-push] Ionic Cordova MS App Center CodePush Undesirably Rolling Back (#653)

I face the same issue and hope someone can answer this question.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/cordova-plugin-code-push/issues/653#issuecomment-708170618 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKH5VCGYAWHRUBHM3XTJZV3SKU3BPANCNFSM4RWNKBQA . https://github.com/notifications/beacon/AKH5VCDJWRM4QZBIRLNMD3TSKU3BPA5CNFSM4RWNKBQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFI25G6Q.gif

adancarrasco commented 3 years ago

@bferrillapp - How did you fix it? I'm having the same issue. 😢

ankitjainOfficial commented 3 years ago

I'm having the same problem. @bferrillapp Can you please share, what you did to solve the problem? Thanks.!