microsoft / react-native-code-push

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

Changes are not reflecting on iPhone #2414

Closed hypesol closed 9 months ago

hypesol commented 1 year ago

I am using below mentioned version

react-native: "0.70.6" react-native-code-push: "^7.0.5"

Changes are not reflecting on iPhone. Code is being pushed on appcenter but not downloading and install on iPhone devices.

ajaxjiang96 commented 1 year ago

same here. the app was able to trigger an update dialog but nothing happens after pressing continue

pjc0247 commented 1 year ago

Did you get any messages from codepush?

for me, it prints: [CodePush] undefined is not a function

hypesol commented 1 year ago

No i am not getting any message code push is working fine on Android but not on iOS

pjc0247 commented 1 year ago

In my case, fetch api was broken for the entire app. (don't know why) So I had to replace fetch with axios using yarn patch.

pjc0247 commented 1 year ago

You can also find out which line breaks the code-push by adding console.log line by line.

ajaxjiang96 commented 1 year ago

same here. the app was able to trigger an update dialog but nothing happens after pressing continue

Update: For me it was a different case. The network connection to App Center is a bit slow so wasn't able to tell if it's downloading or not. One way to debug this is to add a manual sync button, with update progress displayed somewhere. Also please check your installMode. The default behavior is installing the update on the next restart.

hypesol commented 1 year ago

I have checked all scenarios but still everything working on android but iOS not updating.

vfmachado commented 1 year ago

Hi folks, same problem here.

  1. The app update is fine and changes reflect;
  2. Close and open the app
  3. Changes from the update do not persist

Is there a known work around to it?

Thanks

SutharRohit commented 1 year ago

Hi,

I am getting the same issue in iOS only, but for the android it is working fine.

i am using:

"react-native": "0.66.4",
"react-native-code-push": "^7.1.0",

anyone found solution for this issue ?

viniciusRosa commented 1 year ago

hi, same problem here, changes don't persist on IOS.

"react-native": "0.68.5", "react-native-code-push": "^7.0.4"

if anyone found any update for this issue, please share us

thanks

prateekuttreja2020 commented 1 year ago

Hi,

I am getting the same issue in iOS only, but for the android it is working fine.

i am using:

"react-native": "0.70.8", "react-native-code-push": "^7.1.0",

Anyone found solution for this issue ?

HSReact commented 1 year ago

Same issue here, anyone listening please help.

pjtcoco commented 1 year ago

i am getting this error for both ios and android

sosa-17 commented 1 year ago

Hi!

I am getting the same issue in iOS only, but for the android it is working fine.

yosukapro commented 1 year ago

Same here for iOS but work fine for Android. Did you get any solution for it?

BILLXZY1215 commented 1 year ago

Same, any workaround?

dkahdwk commented 1 year ago

Same issue....

AnatolyPristensky commented 9 months ago

Closing as the issue is no more actual.