You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
1.npx react-native init NewCodePushProject --template react-native-template-typescript
2. npm i -g appcenter-cli@latest
3. npm i react-native-code-push
4. delete default template view in App.js, add a single View component with backgroundColor red and make the View component to fullscreen
5. add import codePush from "react-native-code-push"
6. change export default App to export default codePush(App) inside App.js file
7. follow the instruction of microsoft code push here: https://learn.microsoft.com/en-us/appcenter/distribution/codepush/rn-get-started
8. on build.gradle(app level), add signingConfig.debug in buildTypes{ releaseStaging{ (add it here) } }
9. create project in https://appcenter.ms, get appsecret key in overview project
10. make appcenter-config.json file and place it in android/app/src/main/assets/
11. run command cd android && ./gradlew assembleReleaseStaging
12. install it on device
13. change backgroundColor to green
14. run command: appcenter codepush release-react -a {ownerName}/{projectName} -d Staging
Expected Behavior
What you expected to happen?
backgroundColor should be changed to green inside View Component
Actual Behavior
What actually happens?
it's still red inside View Component
STACK TRACE AND/OR SCREENSHOTS
NO ERROR
Environment
react-native-code-push version:^7.0.5
react-native version:0.70.1
iOS/Android/Windows version:11
Does this reproduce on a simulator, or only on a physical device?
physcial device, haven't tested on simulator