react-native-code-push
react-native-code-push copied to clipboard
React Native Windows Images Disappear After Codepush
Steps to Reproduce
- Create a C# React Native Windows app
- Set up CodePush
- Create an iOS app on AppCenter to use as project push
Expected Behavior
Nothing to happen to my images
Actual Behavior
All of my images disappear. I use require("./assets/background.png")
for example
Reproducible Demo
Environment
- react-native-code-push version: 8.1.1
- react-native version: 0.72.4
- iOS/Android/Windows version: 0.72.10
I was using the guide below, which is the only link I've found to actually show start to finish for Windows. Even official Microsoft docs leave out setting up Windows on AppCenter, pushing Windows via the cli, and only showing the FULL steps for iOS/Android
https://devblogs.microsoft.com/react-native/rnw-codepush/
Here are my commands for pushing:
mkdir Bundle
npx --no-install react-native bundle --platform windows --entry-file index.js --bundle-output ./Bundle/index.windows.bundle --assets-dest ./Bundle --dev false --reset-cache
appcenter codepush release -a my/app -c .\Bundle -t 3.0.10 --mandatory true -d Production
HI @WilliamWelsh could you please confirm what this issue still persist on latest version (8.2.1)?
Hi this issue is happening for me as well using 8.2.1
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.