summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-advanced-http/.github
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-advanced-http/.github')
-rw-r--r--StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--bug-report.md33
-rw-r--r--StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--feature-request.md21
-rw-r--r--StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--support-question.md18
-rw-r--r--StoneIsland/plugins/cordova-plugin-advanced-http/.github/workflows/ci.yml65
4 files changed, 137 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--bug-report.md b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--bug-report.md
new file mode 100644
index 00000000..bfa12087
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--bug-report.md
@@ -0,0 +1,33 @@
+---
+name: "\U0001F41BBug report"
+about: Create a report to help us improve
+title: "[Bug] [platform] your issue title"
+labels: ''
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is and what you expected to happen.
+
+**System info**
+ - affected HTTP plugin version: [e.g. 2.1.1]
+ - affected platform(s) and version(s): [e.g. iOS 12.2]
+ - affected device(s): [e.g. iPhone 8]
+ - cordova version: [e.g. 6.5.0]
+ - cordova platform version(s): [e.g. android 7.0.0, browser 5.0.3]
+
+**Are you using ionic-native-wrapper?**
+ - ionic-native-wrapper version: [e.g. 5.8.0]
+ - did you check [ionic-native issue tracker](https://github.com/ionic-team/ionic-native/issues) for your problem?
+
+**Minimum viable code to reproduce**
+If applicable, add formatted sample coding to help explain your problem.
+
+e.g.:
+```js
+cordova.plugin.http.setDataSerializer('urlencoded');
+```
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
diff --git a/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--feature-request.md b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--feature-request.md
new file mode 100644
index 00000000..1296c08a
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--feature-request.md
@@ -0,0 +1,21 @@
+---
+name: "\U0001F680Feature request"
+about: Suggest an idea for this project
+title: "[Feature]"
+labels: ''
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. e.g. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen. If applicable, add formatted sample coding to help explain your idea.
+
+```js
+// do some fancy stuff here
+```
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
diff --git a/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--support-question.md b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--support-question.md
new file mode 100644
index 00000000..4cd1f3a7
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/ISSUE_TEMPLATE/--support-question.md
@@ -0,0 +1,18 @@
+---
+name: "\U0001F914Support question"
+about: Ask the community
+title: ''
+labels: question
+assignees: ''
+
+---
+
+**You've got questions?**
+
+We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁
+
+* README.md: https://github.com/silkimen/cordova-plugin-advanced-http/blob/master/README.md
+* StackOverflow: https://stackoverflow.com/questions/tagged/cordova-plugin-advanced-http using the tag `cordova-plugin-advanced-http`
+* Wiki: https://github.com/silkimen/cordova-plugin-advanced-http/wiki
+
+And don't forget: If you get help, help others. Good karma rulez!
diff --git a/StoneIsland/plugins/cordova-plugin-advanced-http/.github/workflows/ci.yml b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/workflows/ci.yml
new file mode 100644
index 00000000..fcb15cef
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-advanced-http/.github/workflows/ci.yml
@@ -0,0 +1,65 @@
+name: Cordova HTTP Plugin CI
+
+on: [push]
+
+env:
+ nodejs: '10.x'
+
+jobs:
+ test-www-interface:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install Node.js ${{ env.nodejs }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ env.nodejs }}
+ - name: Install node modules
+ run: npm ci
+ - name: Run WWW interface tests
+ run: npm run testjs
+
+ build-ios:
+ runs-on: macOS-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install Node.js ${{ env.nodejs }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ env.nodejs }}
+ - name: Install node modules
+ run: npm ci
+ - name: Update test cert for httpbin.org
+ run: npm run updatecert
+ - name: Build test app
+ run: scripts/build-test-app.sh --ios --emulator
+
+ build-android:
+ runs-on: ubuntu-latest
+ env:
+ BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
+ BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: Install Node.js ${{ env.nodejs }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ env.nodejs }}
+ - name: Install node modules
+ run: npm ci
+ - name: Install JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ - name: Update test cert for httpbin.org
+ run: npm run updatecert
+ - name: Add workaround for mipsel reference
+ run: sudo mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64
+ - name: Build test app
+ run: scripts/build-test-app.sh --android --device
+ - name: Upload artifact to BrowserStack
+ if: env.BROWSERSTACK_USERNAME != ''
+ run: scripts/upload-browserstack.sh --android
+ - name: Run e2e tests
+ if: env.BROWSERSTACK_USERNAME != ''
+ run: scripts/test-app.sh --android --device