DEV Community

Discussion on: Update your React Native apps seamlessly using Microsoft's CodePush

Collapse
 
ernesii profile image
ErnesII

Thank your for this guide, it really help me. I have some doubts... Talking about android and that i want to have one build with multiple deployment keys. Should I add the CodePushDeploymentKey config in the strings.xml file? Because right now I am using the production key in this file and I am not able to get updades. Also one more question... is it suppose that when i run this command appcenter codepush release-react -a / is the update going to be ready for Staging without using promote?I saw a variation of this command that include this: -d Staging

I hope that you can helpe me.. I will appreciate it!

Collapse
 
karanpratapsingh profile image
Karan Pratap Singh

Glad you liked this article, yes you'll need to use -d option to let app center know which stage it is. Not sure about the CodePushDeploymentKey config in the strings.xml as I never add it there, I always add it via codePush(codePushOptions)(App);