microsoft / react-native-code-push

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

check update log "Network Request Failed" #2749

Closed songzuyun closed 2 months ago

songzuyun commented 2 months ago

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

Steps to Reproduce

1.Start the app

  1. When checking for update, it says "An unknown error occurred & Network request failed

Expected Behavior

What you expected to happen? It should check for update and start the app

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS

LOG [CodePush] Checking for update. LOG [CodePush] An unknown error occurred. LOG [CodePush] Network request failed

Reproducible Demo

Environment

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

DordeDimitrijev commented 2 months ago

Hello @songzuyun thank you for reaching out. I see you are trying to use latest react-native-code-push version with react native 0.66 which aren't compatible. Please align your rn and codepus version according to this Supported React Native platforms and let me know if it helps.

songzuyun commented 2 months ago

Thank you, my RN version has always been 0.66.3. I used version 6.3.0 before, which has been working well, but I recently found that it can't work. I upgraded to the corresponding 7.1.0, but it still doesn't work.

DordeDimitrijev commented 2 months ago

Could you please provide the logs from logcat/console depending on which platform you are experiencing this issue?

DmitriyKirakosyan commented 2 months ago

Closing due to inactivity.