Closed koreus7 closed 2 years ago
@koreus7 Did you manage to get this working? I had some codepush issues with updating to a new version on the day you reported this issue, appears to be working ok again now though (with no changes made). I didn't manage to get round to debugging it though, so may be unrelated.
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.
This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
This issue still exists, shouldn't have been closed.
I can confirm that this is still happening.
2023-05-25 16:06:04.065306+0200 Ønskeskyen[99456:9149076] [javascript] [CodePush] Downloading package.
2023-05-25 16:06:04.560066+0200 Ønskeskyen[99456:9149076] [javascript] [CodePush] An unknown error occurred.
2023-05-25 16:06:04.560368+0200 Ønskeskyen[99456:9149076] [javascript] [CodePush] Received 404 response from https://codepush-secondary.blob.core.windows.net/storagev2/...
For us is whenever we push 2 updates one after another.
Also seeing this.
Same here
+1 on this too...both iOS and Android. I use dynamic deployment keys for staging and production. I use the HOC to initialize with production, but have the ability to override with staging key + CodePush.sync() call at runtime.
Please try this workaround: https://github.com/microsoft/react-native-code-push/issues/2585#issuecomment-1749375271
Thanks @DmitriyKirakosyan. I tried these steps:
--disabled
sync
with Staging keysBut had the same 404 result.
Production app is react-native-code-push@8.0.2
Since this issue is already closed, let's continue the discussion in an open duplicate with high activity - in this issue.
Steps to Reproduce
Expected Behavior
The app updates to the new version
Actual Behavior
The app reverts back to the original binary, ignoring previous codepush updates and the new update.
Environment
I have double and triple checked the codepush deployment key and figure it is correct since the app does detect the update it just fails to install it.
I can also see the update in appcenter and download the bundle. I notice that the blob ID and base URL is different for this download than the one the app is trying to download.
App Center URL
https://codepush.blob.core.windows.net/storagev2/[Blob ID A]
Codepush Logs URLhttps://codepushupdates.azureedge.net/storagev2/[Blob ID B]