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 for reporting!
If I understand correctly you need deployment key for codePush?
If yes, for example, you can use this commands:
appcenter codepush deployment add -a {UserName}/{ProjectNameInAppCenter} Staging
appcenter codepush deployment list -a {UserName}/{ProjectNameInAppCenter}
To see on which apps you have access to appcenter apps list.
You should see something like this {UserName}/{ProjectNameInAppCenter}
Then, to display the app key based on the environment, execute: appcenter codepush deployment list -a {UserName}/{ProjectNameInAppCenter} --displayKeys
Activity
alexandergoncharov-zz commentedon May 11, 2018
HI @ycman0307,
Thanks for reporting!
If I understand correctly you need deployment key for codePush?
If yes, for example, you can use this commands:
Please for more information check documentation: https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli
Please let me know if it was helpful or you still have any questions.
Thanks,
Alexander
ycman0307 commentedon May 11, 2018
Thank you for your reply.
It is difficult for me to understand. Is there any tutorial for me to create codePush project step by step?
alexandergoncharov-zz commentedon May 11, 2018
I think that Microsoft docs have enough full steps for setup codePush for app.
You can start here: https://docs.microsoft.com/en-us/appcenter/distribution/codepush and go ahead with visiting internal links in steps.
Also you can use example project for setup: https://github.com/Microsoft/react-native-code-push/tree/master/Examples/CodePushDemoApp
Good luck in studying and feel free to ask any questions!
Thanks,
Alexander
alexandergoncharov-zz commentedon May 14, 2018
Hi @ycman0307 ,
I'll close this issue for now as I did not hear any questions from you. But please feel free to reopen it if you will have any questions.
Thanks.
Alexander
gtjamesa commentedon Oct 30, 2018
If anyone from Google stumbles upon this and has run the commands above, and the keys are not being displayed, you need to append
--displayKeys
prakas25 commentedon Jan 21, 2019
code-push deployment list <app_name> -k
ghost commentedon Feb 11, 2019
Thank you @gtjamesa
FilipIlievski commentedon Apr 5, 2019
To see on which apps you have access to
appcenter apps list
.You should see something like this {UserName}/{ProjectNameInAppCenter}
Then, to display the app key based on the environment, execute:
appcenter codepush deployment list -a {UserName}/{ProjectNameInAppCenter} --displayKeys
For more info please check the docs.
temitope commentedon Apr 16, 2019
worth noting that appending _--displayKeys _ argument caused an error. and I had to run it twice to get keys to show up. very odd.
Hung-san commentedon Aug 7, 2019
@temitope
Maybe my answer late, but if you need,
code-push deployment add {app-name} --d
(--d: default will be generate Staging and Production)