Remove cordova related files and docs (#831)

This commit is contained in:
Dima 2023-08-16 23:41:45 +07:00 коммит произвёл GitHub
Родитель 9980a2d461
Коммит 0d02be51bf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 3 добавлений и 22 удалений

1
.github/ISSUE_TEMPLATE.md поставляемый
Просмотреть файл

@ -2,5 +2,4 @@ Thanks so much for filing an issue or feature request! We will address it as soo
1. This repository is for the CodePush CLI and management SDK. For issues relating to the CodePush client SDK's, please see:
* react-native-code-push: https://github.com/Microsoft/react-native-code-push
* cordova-plugin-code-push: https://github.com/Microsoft/cordova-plugin-code-push
2. In your description, please include the version of `code-push-cli` or `code-push` that you are using.

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

@ -4,7 +4,7 @@
# CodePush
[CodePush](https://microsoft.github.io/code-push) is a cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users' devices. It works by acting as a central repository that developers can publish updates to (JS, HTML, CSS and images), and that apps can query for updates from (using provided client SDK for [Cordova](https://github.com/Microsoft/cordova-plugin-code-push) and [React Native](https://github.com/Microsoft/react-native-code-push)). This allows you to have a more deterministic and direct engagement model with your userbase, when addressing bugs and/or adding small features that don't require you to re-build a binary and re-distribute it through the respective app stores.
[CodePush](https://microsoft.github.io/code-push) is a cloud service that enables React Native developers to deploy mobile app updates directly to their users' devices. It works by acting as a central repository that developers can publish updates to (JS, HTML, CSS and images), and that apps can query for updates from (using provided client SDK for [React Native](https://github.com/Microsoft/react-native-code-push)). This allows you to have a more deterministic and direct engagement model with your userbase, when addressing bugs and/or adding small features that don't require you to re-build a binary and re-distribute it through the respective app stores.
To get started using CodePush, refer to our [documentation](https://docs.microsoft.com/en-us/appcenter/distribution/codepush/), otherwise, read the following steps if you'd like to build/contribute to the project from source.

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

@ -69,10 +69,6 @@ These methods are not supported in versions **[4.0.0](https://github.com/microso
The CodePush CLI **[3.0.0](https://www.npmjs.com/package/code-push-cli/v/3.0.0)** is the latest and last version for this CLI. We no longer update the CodePush CLI and recommend migrating to the App Center CLI (<https://github.com/microsoft/appcenter-cli>).
## Cordova-plugin-code-push
Cordova-plugin-code-push versions lower than **[1.12.0](https://github.com/microsoft/cordova-plugin-code-push/releases/tag/v1.12.0)** will stop working in the near future.
## React-native-code-push
React-native-code-push versions lower than **[5.7.0](https://github.com/microsoft/react-native-code-push/releases/tag/v5.7.0)** will stop working in the near future.

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

@ -13,7 +13,7 @@
"build:release": "tsc -p ./tsconfig-release.json && npm run content",
"test": "npm run build && mocha --recursive bin/test",
"test:debugger": "mocha --recursive --inspect-brk=0.0.0.0 bin/test",
"content": "shx cp {plugin.xml,README.md,package.json,.npmignore} bin"
"content": "shx cp {README.md,package.json,.npmignore} bin"
},
"repository": {
"type": "git",

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

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="code-push" version="4.1.3">
<name>CodePushAcquisition</name>
<description>CodePush Acquisition Plugin for Apache Cordova</description>
<license>MIT</license>
<keywords>cordova,code,push,acquisition</keywords>
<repo>https://github.com/Microsoft/code-push.git</repo>
<js-module src="script/acquisition-sdk.js" name="AcquisitionManager">
<merges target="window" />
</js-module>
<js-module src="script/code-push-error.js" name="code-push-error">
<runs/>
</js-module>
</plugin>

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

@ -56,7 +56,7 @@ describe("Management SDK", () => {
mockReturn("Text", 404);
var methodsWithErrorHandling: any[] = [
manager.addApp.bind(manager, "appName", "iOS", "Cordova"),
manager.addApp.bind(manager, "appName", "iOS", "React-Native"),
manager.getApp.bind(manager, "appName"),
manager.renameApp.bind(manager, "appName", {}),
manager.removeApp.bind(manager, "appName"),