Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Push not working #2628

Closed
Vaib215 opened this issue Dec 1, 2023 · 15 comments
Closed

Code Push not working #2628

Vaib215 opened this issue Dec 1, 2023 · 15 comments

Comments

@Vaib215
Copy link

Vaib215 commented Dec 1, 2023

Any codepush update is not installed/downloaded on any device

Steps to Reproduce

  1. Make changes in code
  2. Send codepush update on production
  3. Check codepush install on dashboard

Expected Behavior

The app should get updated for all the users

Actual Behavior

No update gets pushed to user

image

@SohaibKtb
Copy link

+1, updates are not showing on devices

@KodyKendall
Copy link

+1, I'm having the same issue.

@santiagogarzon
Copy link

+1. I'm seeing the same

@TheMakerOleguch
Copy link

Just to clarify, is react-native 0.72.x supported on Android?
On iOS all good

@velimir-jankovic
Copy link
Contributor

We're currently looking into this.
Can you please tell me when did this exactly start to happen, and did you make any changes on your side?

Also let me know what version of react-native-code-push and react-native you are using, including the platform.

@Vaib215
Copy link
Author

Vaib215 commented Dec 13, 2023

    "react-native-code-push": "^8.1.0",
    "react-native": "^0.72.3",

I don't remember when did it start to happen. I guess it was random

@velimir-jankovic
Copy link
Contributor

Can you please contact our support: https://learn.microsoft.com/en-us/appcenter/help#accessing-app-center-free-support and share more information there? Please include your app name and deployment key that you are using.

@pratt3351
Copy link

i have error two.

when i called checkForUpdate function, codepush library gives me error message like this
"reader.readAsText is not a function (it is undefined)"

any updates..?

@MoamberRaza
Copy link

try to switch 0.73.1 react native and then try.

@hoangtrunnam
Copy link

i'm using react native: 0.72.5,
react-native-code-push: 8.1.1

i downgrade react-native-code-push to 7.0.4 and it worked

@mununki
Copy link

mununki commented Dec 27, 2023

@hoangtrunnam Did you downgrade it for Android too? I tried but it makes the compilation error on Android.

EDIT:
The compilation error below seems fixed in code-push v8.

* What went wrong:
Could not determine the dependencies of task ':app:generateBundledResourcesHashDevDebug'.
> Task with path 'bundleDevDebugJsAndAssets' not found in project ':app'.

@hoangtrunnam
Copy link

hoangtrunnam commented Dec 27, 2023

@mununki mun
sorry. when I downgraded react-native-code-push to 7.0.4 and it just worked on IOS. android gets the error same as you.
then i upgraded to "react-native-code-push": "8.0.0", . and it really work both on IOS and Android.

can you test it? if it worked, pls let me know by reply this message

"react-native-code-push": "8.0.0",
"react-native": "0.72.5",

@mununki
Copy link

mununki commented Dec 27, 2023

@mununki mun sorry. when I downgraded react-native-code-push to 7.0.4 and it just worked on IOS. android gets the error same as you. then i upgraded to "react-native-code-push": "8.0.0", . and it really work both on IOS and Android.

can you test it? if it worked, pls let me know by reply this message

"react-native-code-push": "8.0.0", "react-native": "0.72.5",

Still having an issue. I opened new issue #2639

@AnatolyPristensky
Copy link
Contributor

Hello, @mununki, I see that you resolved this issue with fix in #2639 (comment).

Also, I see reports that issue is gone in react-native-code-push 8.0.0, so closing this issue. Please, feel free to reopen it in case of new information.

@amanthegreatone
Copy link

pls check this i had this issue which was solved. #2529 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests