Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

how can i get deployment key for development? #1278

Closed
@ycman0307

Description

@ycman0307

I cannot find the documents and procedure in App center and github.

Activity

alexandergoncharov-zz

alexandergoncharov-zz commented on May 11, 2018

@alexandergoncharov-zz
Contributor

HI @ycman0307,

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}

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

ycman0307 commented on May 11, 2018

@ycman0307
Author

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

alexandergoncharov-zz commented on May 11, 2018

@alexandergoncharov-zz
Contributor

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

alexandergoncharov-zz commented on May 14, 2018

@alexandergoncharov-zz
Contributor

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

gtjamesa commented on Oct 30, 2018

@gtjamesa

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

appcenter codepush deployment list -a {UserName}/{ProjectNameInAppCenter} --displayKeys
prakas25

prakas25 commented on Jan 21, 2019

@prakas25

code-push deployment list <app_name> -k

ghost

ghost commented on Feb 11, 2019

@ghost

Thank you @gtjamesa

FilipIlievski

FilipIlievski commented on Apr 5, 2019

@FilipIlievski

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

temitope commented on Apr 16, 2019

@temitope

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

Hung-san commented on Aug 7, 2019

@Hung-san

@temitope
Maybe my answer late, but if you need,
code-push deployment add {app-name} --d (--d: default will be generate Staging and Production)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @temitope@gtjamesa@prakas25@alexandergoncharov-zz@ycman0307

        Issue actions

          how can i get deployment key for development? · Issue #1278 · microsoft/react-native-code-push