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

Code is not getting Update in IOS on TestFlight build

Open Malau172 opened this issue 2 years ago • 18 comments

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

Steps to Reproduce

1.I'm uploading a codepush to the staging environment, my codepush doesn't show any errors in the terminal, but the changes don't reflect in the iOS app in testflght

Dependecies: - CodePush (from ../node_modules/react-native-code-push)

Malau172 avatar Jan 04 '24 21:01 Malau172

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

Steps to Reproduce

1.I'm uploading a codepush to the staging environment, my codepush doesn't show any errors in the terminal, but the changes don't reflect in the iOS app in testflght

Dependecies: - CodePush (from ../node_modules/react-native-code-push)

i am also facing the same. i Tried on Staging and Prod.

eramudeep avatar Jan 05 '24 07:01 eramudeep

@eramudeep Hi, did you manage to solve your problem with codepush?

Malau172 avatar Jan 08 '24 18:01 Malau172

Hello and thanks for reaching out to us, could you please try the solution from this duplicate along with the latest version of react-native-code-push (8.2.1) and let us know if this solved the problem?

MikhailSuendukov avatar Jan 31 '24 15:01 MikhailSuendukov

@MikhailSuendukov this is still not working. Even in the latest version its not.

Gautham495 avatar Feb 12 '24 11:02 Gautham495

same with me here, my scenario is:

  1. installed to physical device using IPA or test flight
  2. publish new update
  3. successfully installed when we check in published history
  4. the change not implemented at all

there is no issue in the debug simulator because we got this in our log

 LOG  [CodePush] Installing update.
 LOG  [CodePush] Update is installed and will be run on the next app restart.
...
 LOG  [CodePush] Checking for update.
 LOG  [CodePush] Reporting CodePush update success (v4)

hotaryuzaki avatar Feb 15 '24 13:02 hotaryuzaki

+1

rizshivalli avatar Feb 17 '24 00:02 rizshivalli

I am facing the same issue as well

I am using


    "react-native": "0.72.4",
    "react-native-code-push": "^8.2.1"



[CodePush] Sync already in progress.
[CodePush] Checking for update.
[CodePush] Downloading package.
Sending `CodePushDownloadProgress` with no listeners registered.

[CodePush] Applying full update.
[CodePush] Installing update.
[CodePush] Update is installed and will be run on the next app restart.
[CodePush] Checking for update.

but the code is not getting updated

rizshivalli avatar Feb 20 '24 09:02 rizshivalli

same with me here, my scenario is:

  1. installed to physical device using IPA or test flight
  2. publish new update
  3. successfully installed when we check in published history
  4. the change not implemented at all

there is no issue in the debug simulator because we got this in our log

 LOG  [CodePush] Installing update.
 LOG  [CodePush] Update is installed and will be run on the next app restart.
...
 LOG  [CodePush] Checking for update.
 LOG  [CodePush] Reporting CodePush update success (v4)

we just facing this issue in iOS

react-native: 0.71.14 react-native-code-push: 8.1.0 CocoaPods: 1.14.3 Xcode: 15.1/15C65

hotaryuzaki avatar Feb 26 '24 04:02 hotaryuzaki

  • +1

vijaya-iprogrammer avatar Feb 26 '24 17:02 vijaya-iprogrammer

Having the same issue with: "react-native": "0.73.4", "react-native-code-push": "^8.2.1".

Tried both staging and production development, with mandatory updates, but just doesn't seem to update via Testflight. Tried with IPA as well via Xcode install after building it, but just doesn't seem to update at all currently. Just implemented this and working with Android without issues, but can't seem to get it working with iOS.

Jonnboy91 avatar Feb 27 '24 10:02 Jonnboy91

Having the same issue with: "react-native": "0.73.4", "react-native-code-push": "^8.2.1".

Tried both staging and production development, with mandatory updates, but just doesn't seem to update via Testflight. Tried with IPA as well via Xcode install after building it, but just doesn't seem to update at all currently. Just implemented this and working with Android without issues, but can't seem to get it working with iOS.

do you check the history in CLI? i think you can check for staging apps to see if they get the update or not. for me, the app gets the update, and the status is installed. but the update was not implemented.

hotaryuzaki avatar Feb 28 '24 03:02 hotaryuzaki

Having the same issue with: "react-native": "0.73.4", "react-native-code-push": "^8.2.1". Tried both staging and production development, with mandatory updates, but just doesn't seem to update via Testflight. Tried with IPA as well via Xcode install after building it, but just doesn't seem to update at all currently. Just implemented this and working with Android without issues, but can't seem to get it working with iOS.

do you check the history in CLI? i think you can check for staging apps to see if they get the update or not. for me, the app gets the update, and the status is installed. but the update was not implemented.

Hi, I'm using production now and was actually able to get it working on installing the IPA via Xcode after all and then running new updates to CodePush, but the TestFlight at least when I last tried yesterday it did not work. I only shortly tested the staging and now working on it now, so forgot to check the CLI on that.

EDIT: 29.2.2024 ->

Was able to get it actually working now, don't know exactly why it didn't seem to work earlier, but now with AppCenter CodePush Production mandatory updates, it seems to update also TestFlight versions. I think I might have had either staging deployment key on TestFlight or then it was the missing of mandatory on my codepush releases.

Jonnboy91 avatar Feb 28 '24 07:02 Jonnboy91

Has anyone been able to find a fix for this ?

theDeji avatar Mar 05 '24 08:03 theDeji

Has anyone been able to find a fix for this ?

Have you tried production deployment key and when pushing the version to CodePush add the mandatory parameter?

That seemed to do the trick for me.

Jonnboy91 avatar Mar 05 '24 09:03 Jonnboy91

tried mandatory parameter but still not working.

talha-psychplus avatar Apr 04 '24 21:04 talha-psychplus

pls check this i had this issue which was solved. https://github.com/microsoft/react-native-code-push/issues/2529#issuecomment-1968788585

amanthegreatone avatar Apr 29 '24 11:04 amanthegreatone

vui lòng kiểm tra cái này tôi đã giải quyết được vấn đề này. #2529 (bình luận)

My situation is like this now, what should I do?

image

anhnguyen123 avatar Apr 29 '24 23:04 anhnguyen123

"react": "17.0.2", "react-native": "0.68.2", "react-native-code-push": "^7.1.0"

I pushed code with this: appcenter codepush release-react -a owner-email/app-name -d Production -m --disabled

When the 'Just Now' changes to the Date Time. I Enabled the release and when I open the TestFlight, it downloads the update after 1-2 minutes and changes reflect on the next restart.

Today, I tested it 2 times on my TestFlight, it's working.

Suppose any issue comes up once my app is uploaded via the App Store. I will let you people know.

sufian1999 avatar Aug 09 '24 06:08 sufian1999