A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/code-push below:

microsoft/code-push: A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.

Archiving this repository

Visual Studio App Center was retired on March 31, 2025, except for its Analytics and Diagnostics features. You can learn more about the retirement and the Analytics and Diagnostics extension here. CodePush, along with other App Center features, was also retired on March 31, 2025. Consequently, we are archiving this repository.

CodePush SDK enables seamless in-app updates and serves as a core component of the CodePush React Native SDK.

To start integrating CodePush into your project, visit our documentation. If you're interested in contributing or building the SDK from source, follow the steps below.

Visual Studio App Center CodePush Standalone Version

For teams or organizations looking to self-host CodePush, we now offer the CodePush Standalone Version which is compatible with this SDK. It allows you to set up and manage CodePush as a self-hosted service, giving you more control over your infrastructure and data. Visit the repository for installation instructions, usage guides, and more.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

CodePush Management SDK (Node.js)

A JavaScript library for programmatically managing your CodePush account (e.g. creating apps, promoting releases), which allows authoring Node.js-based build and/or deployment scripts, without needing to shell out to the App Center CLI.

  1. Create a token to authenticate with the CodePush server using the following App Center CLI command:

    appcenter tokens create -d "DESCRIPTION_OF_THE_TOKEN"

    Please copy your API Token and keep it secret. You won't be able to see it again.

  2. Install the management SDK by running npm install code-push --save

  3. Import it using one of the following statement: (using ES6 syntax as applicable):

    const CodePush = require("code-push");
    import CodePush from "code-push";
  4. Create an instance of the CodePush class, passing it the API Token you created or retrieved in step #1:

    const codePush = new CodePush("YOUR_API_TOKEN");
  5. Begin automating the management of your account! For more details on what you can do with this codePush object, refer to the API reference section below.

The code-push module exports a single class (typically referred to as CodePush), which represents a proxy to the CodePush account management REST API. This class has a single constructor for authenticating with the CodePush service, and a collection of instance methods that correspond to the commands in the App Center CLI, which allow you to programmatically control every aspect of your CodePush account.

Note: access key here refers to an AppCenter API Token.

When an error occurs in any of the methods, the promise will be rejected with a CodePushError object with the following properties:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4