microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.87k stars 1.45k forks source link

Code is not getting Update in IOS on TestFlight build #2643

Open Malau172 opened 6 months ago

Malau172 commented 6 months ago

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)

eramudeep commented 6 months ago

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.

Malau172 commented 6 months ago

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

MikhailSuendukov commented 5 months ago

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?

Gautham495 commented 4 months ago

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

hotaryuzaki commented 4 months ago

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)
rizshivalli commented 4 months ago

+1

rizshivalli commented 4 months ago

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

hotaryuzaki commented 4 months ago

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

vijaya-iprogrammer commented 4 months ago
Jonnboy91 commented 4 months ago

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.

hotaryuzaki commented 4 months ago

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.

Jonnboy91 commented 4 months ago

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.

theDeji commented 4 months ago

Has anyone been able to find a fix for this ?

Jonnboy91 commented 4 months ago

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.

talha-psychplus commented 3 months ago

tried mandatory parameter but still not working.

amanthegreatone commented 2 months ago

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

anhnguyen123 commented 2 months ago

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

microsoft-github-policy-service[bot] commented 1 week ago

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.