microsoft / react-native-code-push

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

Failed to restart the update after downloading the hot change file. #2734

Closed wd494381642 closed 3 months ago

wd494381642 commented 3 months ago

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

Steps to Reproduce

1.Upper heat transfer file

  1. Run the update hot change file 3.After downloading the hot change file failed, the old file is still running

Expected Behavior

What you expected to happen? Run the update hot change file

Actual Behavior

What actually happens?

After downloading the hot change file failed, the old file is still running

  STACK TRACE AND/OR SCREENSHOTS

2024-07-30 23:37:05.632703+0800 AwesomeProject[70515:18075090] [CodePush] Loading JS bundle from file:///private/var/containers/Bundle/Application/D6914996-D26B-42FA-9076-A9830A957658/AwesomeProject.app/main.jsbundle 2024-07-30 23:37:05.639154+0800 AwesomeProject[70515:18075090] [native] Running application AwesomeProject ({ initialProps = { }; rootTag = 1; }) 2024-07-30 23:37:05.670238+0800 AwesomeProject[70515:18075428] [javascript] Running "AwesomeProject 2024-07-30 23:37:15.089573+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 11101, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.106188+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 60997, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.122558+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 112081, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.139189+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 138217, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.155986+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 175045, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.172688+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 229693, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.178187+0800 AwesomeProject[70515:18075428] [javascript] { receivedBytes: 247115, totalBytes: 247115 }, '+++++' 2024-07-30 23:37:15.246587+0800 AwesomeProject[70515:18075417] [CodePush] Applying full update. 2024-07-30 23:37:15.252832+0800 AwesomeProject[70515:18075485] [CodePush] Restarting app. 2024-07-30 23:37:15.257346+0800 AwesomeProject[70515:18075090] [CodePush] Loading JS bundle from file:///private/var/containers/Bundle/Application/D6914996-D26B-42FA-9076-A9830A957658/AwesomeProject.app/main.jsbundle 2024-07-30 23:37:15.257574+0800 AwesomeProject[70515:18075090] [native] Invalidating <RCTCxxBridge: 0x129e0a200> (parent: <RCTBridge: 0x281878700>, executor: (null))

Reproducible Demo

Environment

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

DordeDimitrijev commented 3 months ago

Hi @wd494381642 thank you for reaching out. I wasn't able to reproduce your issue where codepush updates don't apply. Could you please try using the latest version of react-native-code-push 8.3.1 hotfix which helped customers resolve issues similar to yours. If this doesn't help please share a small demo app where I can reproduce the issue you are experiencing.

nojas01 commented 3 months ago

For me this only happens on iPad. It works fine on Iphone, and android (phone & tablet)

DordeDimitrijev commented 3 months ago

Hi @nojas01 thank you for reaching out. Which react-native and react-native-code-push version are you using? It would also be great if you can logs and and description with repro steps for the issue you are experiencing.

DmitriyKirakosyan commented 3 months ago

Closing due to inactivity.