This commit is contained in:
Anna Kocheshkova 2018-05-02 13:36:57 +03:00 коммит произвёл GitHub
Родитель 940bc4bc2f
Коммит 6dc2d8caf1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@ -19,7 +19,7 @@ There are several possible scenarios this extension solves:
* Login to App Center using the status bar icon. * Login to App Center using the status bar icon.
![Login to App Center](images/appcenter-login.png) ![Login to App Center](images/appcenter-login.png)
* After logging in, click the App Center status bar to show possible menu options and shoose `Start new project`. * After logging in, click the App Center status bar to show possible menu options and shoose `Start a new project`.
![AppCenter Menu](images/appcenter-start-new-idea.png) ![AppCenter Menu](images/appcenter-start-new-idea.png)
* You will be prompted to enter a new name for your project and select user or organization where you would like to create app in App Center. * You will be prompted to enter a new name for your project and select user or organization where you would like to create app in App Center.
@ -52,43 +52,43 @@ There are several possible scenarios this extension solves:
When the current app is set, several new options appear in the menu: When the current app is set, several new options appear in the menu:
* Build * Build
* Test (only for iOS) * Test (only for iOS)
* CodePush
* Distribute * Distribute
* Crashes * Crashes
* Analytics * Analytics
* Code Push
They all open the corresponding App Center tabs for the application. `Code Push` also contains CodePush stuff. They all open the corresponding App Center tabs for the application. `CodePush` also contains CodePush stuff.
![App Center Portal](images/appcenter-portal.png) ![App Center Portal](images/appcenter-portal.png)
>Tip: If you enable `appcenter.crashes` setting, you will see `Simulate crashes` menu option under `Tools`. It sends test crash data to the linked App Center application. >Tip: If you enable `appcenter.crashes` setting, you will see `Simulate crashes` menu option under `Crashes`. It sends test crash data to the linked App Center application.
3. Link CodePush module to an existing React Native application. 3. Link CodePush module to an existing React Native application.
When inside of a React Native application, you will see a `Link Code Push` button under `Code Push` menu. Choose it. When inside of a React Native application, you will see a `Link CodePush` button under `CodePush` menu. Choose it.
* You will be prompted to choose an Android and iOS app to link. * You will be prompted to choose an Android and iOS app to link.
* Code Push SDK for React Native will be installed and saved into your `plugin.json`. * CodePush SDK for React Native will be installed and saved into your `plugin.json`.
* Deployment keys for the chosen applications will be fetched or created * Deployment keys for the chosen applications will be fetched or created
* We will run `react-native link react-native-code-push` for you and automatically fill all the prompts, and notify you when finished. * We will run `react-native link react-native-code-push` for you and automatically fill all the prompts, and notify you when finished.
4. Link App Center to an existing React Native application. 4. Link App Center to an existing React Native application.
When inside of a React Native application, you will see a `Link App Center` button under `Tools` menu. Choose it. When inside of a React Native application, you will see an `Install SDK` button in menu. Choose it.
* You will be prompted to choose an Android and iOS app to link. * You will be prompted to choose an Android and iOS app to link.
* App Center SDK for React Native will be installed and saved into your `plugin.json`. * App Center SDK for React Native will be installed and saved into your `plugin.json`.
* App secrets for the chosen applications will be fetched * App secrets for the chosen applications will be fetched
* We will run `react-native link appcenter` for you and show you the secrets to be pasted. * We will run `react-native link appcenter` for you and show you the secrets to be pasted.
> Pay attention: Unlike linking Code Push, you will have to paste these secrets in the Terminal yourself when prompted. > Pay attention: Unlike linking CodePush, you will have to paste these secrets in the Terminal yourself when prompted.
5. You would like to open already existing React Native application with CodePush installed. When logged in, the following App Center Menu options should be avaliable under `CodePush`: 5. You would like to open already existing React Native application with CodePush installed. When logged in, the following App Center Menu options should be avaliable under `CodePush`:
* Link Code Push * Link CodePush
* Set current app for CodePush * Navigate to CodePush tab in App Center
* Make a new CodePush release
* Change current Deployment * Change current Deployment
* Change target binary verson * Change target binary verson
* Change if release should be mandatory * Change if release should be mandatory
* Make new CodePush release
![Code Push](images/appcenter-code-push.png) ![CodePush](images/appcenter-code-push.png)
## Test ## Test

Двоичные данные
images/appcenter-code-push.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 17 KiB

После

Ширина:  |  Высота:  |  Размер: 16 KiB

Двоичные данные
images/appcenter-portal.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 22 KiB

После

Ширина:  |  Высота:  |  Размер: 23 KiB

Двоичные данные
images/appcenter-set-current-app.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 10 KiB

После

Ширина:  |  Высота:  |  Размер: 11 KiB

Двоичные данные
images/appcenter-start-new-idea.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 7.9 KiB

После

Ширина:  |  Высота:  |  Размер: 6.6 KiB

Просмотреть файл

@ -25,9 +25,9 @@ export class Strings {
public static SettingsMenuDescription: string = ""; public static SettingsMenuDescription: string = "";
public static SimulateCrashesMenuLabel: string = "Simulate Crashes"; public static SimulateCrashesMenuLabel: string = "Simulate Crashes";
public static SimulateCrashesMenuDescription: string = "Send test crash data to your current application in App Center"; public static SimulateCrashesMenuDescription: string = "Send test crash data to your current application in App Center";
public static LinkCodePushMenuLabel: string = "Link Code Push"; public static LinkCodePushMenuLabel: string = "Link CodePush";
public static LinkAppCenterMenuLabel: string = "Link App Center"; public static LinkAppCenterMenuLabel: string = "Link App Center";
public static LinkCodePushMenuDescription: string = "Link Code Push SDK to your application"; public static LinkCodePushMenuDescription: string = "Link CodePush SDK to your application";
public static LinkAppCenterMenuDescription: string = "Link App Center SDK to your application"; public static LinkAppCenterMenuDescription: string = "Link App Center SDK to your application";
public static InstallSDKMenuLabel: string = "Install SDK"; public static InstallSDKMenuLabel: string = "Install SDK";
public static InstallSDKMenuDescription: string = "Link the App Center or CodePush SDK to your project"; public static InstallSDKMenuDescription: string = "Link the App Center or CodePush SDK to your project";
@ -68,7 +68,7 @@ export class Strings {
public static NoIdeaNameSelectedMsg: string = "Please enter a name for your project."; public static NoIdeaNameSelectedMsg: string = "Please enter a name for your project.";
public static VSCodeProgressLoadingTitle: string = "Loading..."; public static VSCodeProgressLoadingTitle: string = "Loading...";
public static InstallCodePushTitle: string = "Installing Code Push..."; public static InstallCodePushTitle: string = "Installing CodePush...";
public static InstallAppCenterTitle: string = "Installing App Center modules..."; public static InstallAppCenterTitle: string = "Installing App Center modules...";
public static LinkCodePushTitle: string = "Linking React Native Module for CodePush..."; public static LinkCodePushTitle: string = "Linking React Native Module for CodePush...";
public static CheckIfAppsExistLoadingMessage: string = "Checking if project name is already in use..."; public static CheckIfAppsExistLoadingMessage: string = "Checking if project name is already in use...";
@ -142,7 +142,7 @@ export class Strings {
public static RunningBundleCommandMessage: string = "Creating a new bundle..."; public static RunningBundleCommandMessage: string = "Creating a new bundle...";
public static ArchivingUpdateContentsMessage: string = "Compressing new bundle..."; public static ArchivingUpdateContentsMessage: string = "Compressing new bundle...";
public static ReactNativeInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native project."; public static ReactNativeInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native project.";
public static CodePushInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native Code Push project."; public static CodePushInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native CodePush project.";
public static AppCenterInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native App Center project."; public static AppCenterInstallHint: string = "Make sure you ran \"npm install\" and that you are inside a React Native App Center project.";
public static ReleasingUpdateContentsMessage: string = "Sending update to CodePush..."; public static ReleasingUpdateContentsMessage: string = "Sending update to CodePush...";
public static RepoManualConnectBtnLabel: string = "Connect"; public static RepoManualConnectBtnLabel: string = "Connect";
@ -151,9 +151,9 @@ export class Strings {
public static OnlyIOSError: string = "Running UI tests is supported only for iOS."; public static OnlyIOSError: string = "Running UI tests is supported only for iOS.";
public static AppCreatedBtnLabel: string = "Check it out"; public static AppCreatedBtnLabel: string = "Check it out";
public static NotReactProjectMsg: string = "This command can only be executed from a React Native project. Check out the Output window for more details."; public static NotReactProjectMsg: string = "This command can only be executed from a React Native project. Check out the Output window for more details.";
public static CodePushAlreadyLinked: string = "Code Push has already been linked to this application."; public static CodePushAlreadyLinked: string = "CodePush has already been linked to this application.";
public static NotCodePushProjectMsg: string = "This command can only be executed from a React Native project with Code Push installed. Check out the Output window for more details."; public static NotCodePushProjectMsg: string = "This command can only be executed from a React Native project with CodePush installed. Check out the Output window for more details.";
public static CodePushLinkedMsg: string = "Code Push has been successfully linked to your application!"; public static CodePushLinkedMsg: string = "CodePush has been successfully linked to your application!";
public static AppCenterLinkedMsg: string = "App Center has been successfully linked to your application!"; public static AppCenterLinkedMsg: string = "App Center has been successfully linked to your application!";
public static AppCenterBeforeLinkMsg: string = "We will run 'react-native link' command for you. When you press OK, you will see a message with your app secrets."; public static AppCenterBeforeLinkMsg: string = "We will run 'react-native link' command for you. When you press OK, you will see a message with your app secrets.";
@ -163,7 +163,7 @@ export class Strings {
public static FailedToCreateVSTSGitrepository: string = `An error occurred while creating your new VSTS repository`; public static FailedToCreateVSTSGitrepository: string = `An error occurred while creating your new VSTS repository`;
public static FailedToCreateAppAlreadyExistInAppCenter: string = `An app with that name already exists in App Center. Please choose a new name.`; public static FailedToCreateAppAlreadyExistInAppCenter: string = `An app with that name already exists in App Center. Please choose a new name.`;
public static FailedToCreateDeployments: string = `Failed to create deployments for the app. Check out the output window for more details.`; public static FailedToCreateDeployments: string = `Failed to create deployments for the app. Check out the output window for more details.`;
public static FailedToLinkCodePush: string = `Failed to link Code Push to the application. Check out the Output window for more details.`; public static FailedToLinkCodePush: string = `Failed to link CodePush to the application. Check out the Output window for more details.`;
public static FailedToLinkAppCenter: string = `Failed to link App Center to the application. Check out the Output window for more details.`; public static FailedToLinkAppCenter: string = `Failed to link App Center to the application. Check out the Output window for more details.`;
public static SimulateCrashesMessage: string = "Generating crash data for you..."; public static SimulateCrashesMessage: string = "Generating crash data for you...";