mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-07-16 00:00:04 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b68b733d4 | ||
|
|
b2f8570444 | ||
|
|
a164e7134a | ||
|
|
ad6f55a85d | ||
|
|
c18b91db03 | ||
|
|
4807ccdb27 | ||
|
|
62956e429c | ||
|
|
6453f2ab78 | ||
|
|
d45a4f766c | ||
|
|
0cee43bbae | ||
|
|
555c375b60 | ||
|
|
e263b0b062 | ||
|
|
15e7ac0c9a | ||
|
|
aaae9fc277 | ||
|
|
01f6257ebf | ||
|
|
61970e4a8b | ||
|
|
120e0f6d23 | ||
|
|
f103f8bdae | ||
|
|
4e6fb01ab0 | ||
|
|
76b4e03d04 | ||
|
|
a5e3ccd185 | ||
|
|
60df81e7d0 | ||
|
|
2a24341da4 | ||
|
|
656693dbab | ||
|
|
b94b0dcdf0 | ||
|
|
1d7259aad7 | ||
|
|
e8758afacb | ||
|
|
c8689b480d | ||
|
|
6b8a319724 | ||
|
|
97d6d2eafe | ||
|
|
4ddc32a736 | ||
|
|
5f28d64e43 | ||
|
|
30c72c47bc | ||
|
|
09f2522f9f | ||
|
|
d097f5563f | ||
|
|
effbc46eb9 | ||
|
|
9a487a47f3 | ||
|
|
75e6387028 | ||
|
|
d9bbabe605 | ||
|
|
6fe9de5c97 | ||
|
|
b8f3941e4c | ||
|
|
722a8af45e | ||
|
|
879659b8e6 | ||
|
|
e9bf647ca8 | ||
|
|
c86abb86a2 | ||
|
|
0ef0f74357 | ||
|
|
0887f9f9e4 | ||
|
|
55aabfa4ac | ||
|
|
f8fdc2fe79 | ||
|
|
b94c26dbb1 | ||
|
|
4afe2ad4c9 | ||
|
|
f1be01f79b | ||
|
|
0c90165e96 | ||
|
|
86be54975b | ||
|
|
679aefa3b5 | ||
|
|
6cbb5f98a0 | ||
|
|
c10ae01c27 | ||
|
|
a258bc78c0 | ||
|
|
b2361e6820 | ||
|
|
2e500677ab | ||
|
|
a2a80d11b5 | ||
|
|
f16d67ad24 | ||
|
|
7edcb008ef | ||
|
|
cc1bb196af | ||
|
|
2a56831c7c | ||
|
|
9605bb0f78 | ||
|
|
ffdb71dbb2 | ||
|
|
2a2eeeda74 | ||
|
|
dd72a4b503 | ||
|
|
d9ab88fe02 | ||
|
|
3001c8bc16 | ||
|
|
8f1ee6949e | ||
|
|
8935e75686 | ||
|
|
56f32cfa90 | ||
|
|
f870c3ce70 | ||
|
|
9d2ce2b834 | ||
|
|
bb5cfadac5 | ||
|
|
d1a52cdef3 | ||
|
|
6bcec9b4a2 | ||
|
|
4f0d93a40d | ||
|
|
4966b35eae | ||
|
|
6be3385b94 | ||
|
|
cc65a5302e | ||
|
|
8c80381eef | ||
|
|
8ab40c4990 | ||
|
|
65bb7521b1 | ||
|
|
54eefb606d |
@@ -1,4 +0,0 @@
|
||||
scripts/
|
||||
docs/
|
||||
dist/
|
||||
node_modules/
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": ["@typescript-eslint", "jsdoc"],
|
||||
"extends": ["plugin:@typescript-eslint/recommended", "prettier", "plugin:jsdoc/recommended"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": ["off"],
|
||||
"@typescript-eslint/no-explicit-any": ["warn"],
|
||||
"@typescript-eslint/no-empty-function": ["off"],
|
||||
"@typescript-eslint/ban-types": ["warn"],
|
||||
"@typescript-eslint/no-empty-interface": ["warn"],
|
||||
"@typescript-eslint/no-namespace": ["off"]
|
||||
}
|
||||
}
|
||||
+27
-13
@@ -1,19 +1,33 @@
|
||||
# Contributing to Ionic Native
|
||||
# Contributing to Awesome Cordova Plugins
|
||||
|
||||
## Have an issue?
|
||||
#### There are no rules, but here are a few things to consider:
|
||||
###### Before you submit an issue:
|
||||
* Do a quick search to see if there are similar issues
|
||||
* Make sure that you are waiting for `deviceready` to fire before interacting with any plugin. If you are using Ionic, this can be done using [the `Platform.ready()` function](http://ionicframework.com/docs/api/platform/Platform/#ready).
|
||||
* **Check that you are using the latest version of** `ionic-native`, you can install the latest version by running `npm i --save @ionic-native/core@latest`
|
||||
|
||||
###### Still having problems? submit an issue with the following details:
|
||||
* Short description of the issue
|
||||
* Steps to reproduce
|
||||
* Stack trace (if available)
|
||||
Before submitting an issue:
|
||||
|
||||
- Search existing issues to avoid duplicates
|
||||
- Make sure you are using the latest version of `@awesome-cordova-plugins/core`
|
||||
- Ensure `deviceready` has fired before interacting with any plugin
|
||||
|
||||
## Feature request?
|
||||
Have a plugin you'd like to see supported? Since Ionic Native is a thin wrapper around existing Cordova plugins, adding support for new plugins is as easy as creating a new wrapper for whatever plugin you'd like to add.
|
||||
Still having problems? [Open an issue](https://github.com/danielsogl/awesome-cordova-plugins/issues/new/choose) with:
|
||||
|
||||
Take a look at our [Developer Guide](https://github.com/ionic-team/ionic-native/blob/master/DEVELOPER.md) for more info on adding new plugins.
|
||||
- Short description of the issue
|
||||
- Steps to reproduce
|
||||
- Stack trace (if available)
|
||||
|
||||
**Please do not submit support requests as issues.** Use the [Discussions](https://github.com/danielsogl/awesome-cordova-plugins/discussions) section instead.
|
||||
|
||||
## Want to add a plugin?
|
||||
|
||||
Awesome Cordova Plugins is a set of wrappers for Cordova plugins. Adding support for a new plugin is straightforward:
|
||||
|
||||
1. Run `npm run plugin:create -- -n PluginName` to scaffold a new plugin wrapper
|
||||
2. Implement the wrapper following the patterns in existing plugins
|
||||
3. Submit a pull request
|
||||
|
||||
## Development setup
|
||||
|
||||
```bash
|
||||
npm ci
|
||||
npm run build
|
||||
npm test
|
||||
```
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
**I'm submitting a ...** (check one with "x")
|
||||
- [ ] bug report
|
||||
- [ ] feature request
|
||||
- [ ] support request => Please do not submit support requests here, use the discussions section https://github.com/danielsogl/awesome-cordova-plugins/discussions
|
||||
|
||||
**Current behavior:**
|
||||
<!-- Describe how the bug manifests. -->
|
||||
|
||||
**Expected behavior:**
|
||||
<!-- Describe what the behavior would be without the bug. -->
|
||||
|
||||
**Steps to reproduce:**
|
||||
<!-- If you are able to illustrate the bug or feature request with an example, please provide steps to reproduce. -->
|
||||
|
||||
**Related code:**
|
||||
|
||||
```
|
||||
insert any relevant code here
|
||||
```
|
||||
|
||||
**Other information:**
|
||||
<!-- List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. -->
|
||||
|
||||
**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):
|
||||
|
||||
```
|
||||
insert the output from ionic info here
|
||||
```
|
||||
@@ -0,0 +1,63 @@
|
||||
name: Bug Report
|
||||
description: Report a bug in an Awesome Cordova Plugins wrapper
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thanks for taking the time to report a bug! Please fill out the sections below.
|
||||
|
||||
- type: input
|
||||
id: plugin
|
||||
attributes:
|
||||
label: Plugin
|
||||
description: Which @awesome-cordova-plugins/* package is affected?
|
||||
placeholder: e.g. @awesome-cordova-plugins/camera
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: current-behavior
|
||||
attributes:
|
||||
label: Current behavior
|
||||
description: Describe what happens.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: Describe what you expected to happen.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: steps
|
||||
attributes:
|
||||
label: Steps to reproduce
|
||||
description: How can we reproduce the issue?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
id: environment
|
||||
attributes:
|
||||
label: Environment
|
||||
description: |
|
||||
Relevant versions (fill in what you can):
|
||||
value: |
|
||||
- @awesome-cordova-plugins/core version:
|
||||
- Cordova / Capacitor version:
|
||||
- Angular version:
|
||||
- Platform (iOS / Android / Browser):
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: additional
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: Any other information, stack traces, or screenshots.
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Support & Questions
|
||||
url: https://github.com/danielsogl/awesome-cordova-plugins/discussions
|
||||
about: Please use Discussions for support requests and questions.
|
||||
@@ -0,0 +1,35 @@
|
||||
name: Feature Request
|
||||
description: Suggest a new plugin wrapper or enhancement
|
||||
labels: ["enhancement"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Have a plugin you'd like to see supported? Since Awesome Cordova Plugins
|
||||
is a set of wrappers for Cordova plugins, adding support is as easy as
|
||||
creating a new wrapper.
|
||||
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: What plugin or feature would you like to see added or improved?
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: input
|
||||
id: plugin-repo
|
||||
attributes:
|
||||
label: Cordova plugin repository
|
||||
description: Link to the Cordova plugin (if requesting a new wrapper).
|
||||
placeholder: https://github.com/example/cordova-plugin-example
|
||||
validations:
|
||||
required: false
|
||||
|
||||
- type: textarea
|
||||
id: use-case
|
||||
attributes:
|
||||
label: Use case
|
||||
description: Describe why this would be useful.
|
||||
validations:
|
||||
required: false
|
||||
@@ -1,21 +1,27 @@
|
||||
name: Node CI
|
||||
name: CI
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
- uses: actions/checkout@v4.3.1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.4.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
node-version: 22
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
@@ -23,11 +29,8 @@ jobs:
|
||||
- name: Lint
|
||||
run: npm run lint -- --quiet
|
||||
|
||||
- name: Test
|
||||
run: npm test
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Test
|
||||
run: npm run test
|
||||
|
||||
- name: Readmes
|
||||
run: npm run readmes
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
name: Publish to npm
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.3.1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4.4.0
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
registry-url: https://registry.npmjs.org
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Lint
|
||||
run: npm run lint -- --quiet
|
||||
|
||||
- name: Test
|
||||
run: npm test
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Publish to npm
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npm run npmpub
|
||||
@@ -2,15 +2,14 @@ name: Release Please
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# Manual trigger as backup
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
issues: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
@@ -19,58 +18,17 @@ jobs:
|
||||
release_created: ${{ steps.release.outputs.release_created }}
|
||||
tag_name: ${{ steps.release.outputs.tag_name }}
|
||||
version: ${{ steps.release.outputs.version }}
|
||||
pr: ${{ steps.release.outputs.pr }}
|
||||
steps:
|
||||
- name: Run Release Please
|
||||
id: release
|
||||
uses: googleapis/release-please-action@v4
|
||||
uses: googleapis/release-please-action@v4.4.0
|
||||
with:
|
||||
# GitHub token for creating PRs and releases
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Use manifest-based configuration (advanced setup)
|
||||
config-file: release-please-config.json
|
||||
manifest-file: .release-please-manifest.json
|
||||
|
||||
- name: Show Release Info
|
||||
if: ${{ steps.release.outputs.release_created }}
|
||||
run: |
|
||||
echo "Release created: ${{ steps.release.outputs.release_created }}"
|
||||
echo "Tag: ${{ steps.release.outputs.tag_name }}"
|
||||
echo "Version: ${{ steps.release.outputs.version }}"
|
||||
echo "PR: ${{ steps.release.outputs.pr }}"
|
||||
|
||||
# Trigger the existing build and publish workflow when a release is created
|
||||
build-and-publish:
|
||||
runs-on: ubuntu-latest
|
||||
publish:
|
||||
needs: release-please
|
||||
if: ${{ needs.release-please.outputs.release_created }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: "npm"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linting
|
||||
run: npm run lint
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
|
||||
- name: Build packages
|
||||
run: npm run build
|
||||
|
||||
- name: Generate README files
|
||||
run: npm run readmes
|
||||
|
||||
- name: Publish all packages to NPM
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: npm run npmpub
|
||||
uses: ./.github/workflows/publish.yml
|
||||
secrets: inherit
|
||||
|
||||
+22
-14
@@ -1,22 +1,30 @@
|
||||
name: Mark stale issues and pull requests
|
||||
name: Stale issues and PRs
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
- cron: "0 6 * * 1"
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'There has been no recent activity and this issue has been marked inactive.'
|
||||
stale-pr-message: 'There has been no recent activity and this PR has been marked inactive.'
|
||||
stale-issue-label: 'status: inactive'
|
||||
stale-pr-label: 'status: inactive'
|
||||
- uses: actions/stale@v9.1.0
|
||||
with:
|
||||
stale-issue-message: >
|
||||
This issue has been automatically marked as inactive due to lack of
|
||||
recent activity. It will be closed in 14 days if no further activity
|
||||
occurs.
|
||||
stale-pr-message: >
|
||||
This PR has been automatically marked as inactive due to lack of
|
||||
recent activity. It will be closed in 14 days if no further activity
|
||||
occurs.
|
||||
stale-issue-label: "status: inactive"
|
||||
stale-pr-label: "status: inactive"
|
||||
days-before-stale: 60
|
||||
days-before-close: 14
|
||||
exempt-issue-labels: "pinned,keep"
|
||||
exempt-pr-labels: "pinned,keep"
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
node_modules/
|
||||
.idea
|
||||
.tmp
|
||||
aot/
|
||||
scripts/ionic-native-bower
|
||||
scripts/docs-json/*.json
|
||||
scripts/docs-json/typedoc-docs
|
||||
dist/
|
||||
src/@awesome-cordova-plugins/plugins/**/ngx
|
||||
*.d.ts
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
_
|
||||
@@ -1 +0,0 @@
|
||||
npx --no-install lint-staged
|
||||
@@ -1 +0,0 @@
|
||||
npm test
|
||||
+1
-1
@@ -4,7 +4,7 @@ node_modules
|
||||
.vscode
|
||||
dist
|
||||
CHANGELOG.md
|
||||
.husky
|
||||
lefthook.yml
|
||||
.prettierignore
|
||||
LICENSE
|
||||
docs/
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
".": "8.0.0"
|
||||
".": "9.0.1"
|
||||
}
|
||||
|
||||
+139
@@ -256,6 +256,145 @@
|
||||
|
||||
|
||||
|
||||
## [9.0.1](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v9.0.0...awesome-cordova-plugins-v9.0.1) (2026-03-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* add id-token permission to release-please workflow ([ad6f55a](https://github.com/danielsogl/awesome-cordova-plugins/commit/ad6f55a85dc121731be49351215bdeaea3cafb18))
|
||||
* add npm provenance and fix core peer dependency version ([6453f2a](https://github.com/danielsogl/awesome-cordova-plugins/commit/6453f2ab789dff71fb77bb06556bbc07c4091692))
|
||||
* add strict types to build scripts and remove all any usage ([62956e4](https://github.com/danielsogl/awesome-cordova-plugins/commit/62956e429c7044dcf088dd2ffd0fe92b77045b8a))
|
||||
* extract publish workflow for manual triggering ([c18b91d](https://github.com/danielsogl/awesome-cordova-plugins/commit/c18b91db03f8735b37afeaa439ee5ffb41035871))
|
||||
* resolve remaining type errors in build scripts ([4807ccd](https://github.com/danielsogl/awesome-cordova-plugins/commit/4807ccdb27aa201fc708ab1857b37d0fcd05d7e6))
|
||||
|
||||
## [9.0.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v8.1.0...awesome-cordova-plugins-v9.0.0) (2026-03-21)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* replace husky/lint-staged with lefthook v2
|
||||
* migrate ESLint 8 to ESLint 10 with flat config
|
||||
* replace dgeni/gulp with TypeDoc for README generation
|
||||
* Requires Node.js 20+ and Angular 20+.
|
||||
|
||||
### Features
|
||||
|
||||
* migrate ESLint 8 to ESLint 10 with flat config ([4e6fb01](https://github.com/danielsogl/awesome-cordova-plugins/commit/4e6fb01ab0ef8fa3d0e11fd65c05b0cd45496ef8))
|
||||
* modernize all dependencies ([a5e3ccd](https://github.com/danielsogl/awesome-cordova-plugins/commit/a5e3ccd18592c83d1045ba0992bcf17d78f2c301))
|
||||
* modernize TypeScript configuration ([61970e4](https://github.com/danielsogl/awesome-cordova-plugins/commit/61970e4a8b2274cee2b2b69bbb21b0d238c7f5a7))
|
||||
* replace dgeni/gulp with TypeDoc for README generation ([76b4e03](https://github.com/danielsogl/awesome-cordova-plugins/commit/76b4e03d04e394a1798da054307b2102bf62060a))
|
||||
* replace husky/lint-staged with lefthook v2 ([f103f8b](https://github.com/danielsogl/awesome-cordova-plugins/commit/f103f8bdaec673185ecc0053893eeac68f8d17bf))
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* clean up legacy references and unused code ([aaae9fc](https://github.com/danielsogl/awesome-cordova-plugins/commit/aaae9fc2775090f01092781b76e86743817d51f7))
|
||||
* **deps:** update build and bundling tools ([#5063](https://github.com/danielsogl/awesome-cordova-plugins/issues/5063)) ([86be549](https://github.com/danielsogl/awesome-cordova-plugins/commit/86be54975b895baf12adfd988561af0f463ee79f))
|
||||
* **deps:** update build and bundling tools ([#5066](https://github.com/danielsogl/awesome-cordova-plugins/issues/5066)) ([f1be01f](https://github.com/danielsogl/awesome-cordova-plugins/commit/f1be01f79bbe94535582697e883c51da7745810e))
|
||||
* **deps:** update build and bundling tools ([#5076](https://github.com/danielsogl/awesome-cordova-plugins/issues/5076)) ([0ef0f74](https://github.com/danielsogl/awesome-cordova-plugins/commit/0ef0f74357e82127dbbea3fcfbf505c845fc9e81))
|
||||
* **deps:** update build and bundling tools ([#5079](https://github.com/danielsogl/awesome-cordova-plugins/issues/5079)) ([879659b](https://github.com/danielsogl/awesome-cordova-plugins/commit/879659b8e6f34e50936fd71b83f8da6f5542abb8))
|
||||
* **deps:** update build and bundling tools ([#5086](https://github.com/danielsogl/awesome-cordova-plugins/issues/5086)) ([75e6387](https://github.com/danielsogl/awesome-cordova-plugins/commit/75e638702836b1cd98e8ee28a6d62d7e03af6aeb))
|
||||
* **deps:** update build and bundling tools ([#5090](https://github.com/danielsogl/awesome-cordova-plugins/issues/5090)) ([effbc46](https://github.com/danielsogl/awesome-cordova-plugins/commit/effbc46eb991b7fbebdc59005be03aad2385115f))
|
||||
* **deps:** update build and bundling tools ([#5103](https://github.com/danielsogl/awesome-cordova-plugins/issues/5103)) ([6b8a319](https://github.com/danielsogl/awesome-cordova-plugins/commit/6b8a3197242802e39e1179c4368a5ff5adc3be69))
|
||||
* **deps:** update dependency lint-staged to ^16.1.5 ([#5061](https://github.com/danielsogl/awesome-cordova-plugins/issues/5061)) ([679aefa](https://github.com/danielsogl/awesome-cordova-plugins/commit/679aefa3b532b4f9695bd3ac96133357ba1b3654))
|
||||
* **deps:** update dependency lint-staged to ^16.1.6 ([#5069](https://github.com/danielsogl/awesome-cordova-plugins/issues/5069)) ([4afe2ad](https://github.com/danielsogl/awesome-cordova-plugins/commit/4afe2ad4c9b887bba08ce3ab747d2b979e8135c3))
|
||||
* **deps:** update dependency lint-staged to ^16.2.3 ([#5075](https://github.com/danielsogl/awesome-cordova-plugins/issues/5075)) ([0887f9f](https://github.com/danielsogl/awesome-cordova-plugins/commit/0887f9f9e4055579765c369734c6e810c6910818))
|
||||
* **deps:** update dependency lint-staged to ^16.2.4 ([#5077](https://github.com/danielsogl/awesome-cordova-plugins/issues/5077)) ([c86abb8](https://github.com/danielsogl/awesome-cordova-plugins/commit/c86abb86a29ff7a7dfd06b86897f5d7fff167241))
|
||||
* **deps:** update dependency lint-staged to ^16.2.6 ([#5081](https://github.com/danielsogl/awesome-cordova-plugins/issues/5081)) ([722a8af](https://github.com/danielsogl/awesome-cordova-plugins/commit/722a8af45ebd23429e662c1ae3ca532145369715))
|
||||
* **deps:** update dependency lint-staged to ^16.2.7 ([#5087](https://github.com/danielsogl/awesome-cordova-plugins/issues/5087)) ([9a487a4](https://github.com/danielsogl/awesome-cordova-plugins/commit/9a487a47f36f05421afcb613269c392145da3d2f))
|
||||
* **deps:** update dependency lint-staged to ^16.3.1 ([#5109](https://github.com/danielsogl/awesome-cordova-plugins/issues/5109)) ([b94b0dc](https://github.com/danielsogl/awesome-cordova-plugins/commit/b94b0dcdf04add7c4bacdcbe667ae79a0e52c871))
|
||||
* **deps:** update dependency lint-staged to ^16.3.2 ([#5110](https://github.com/danielsogl/awesome-cordova-plugins/issues/5110)) ([656693d](https://github.com/danielsogl/awesome-cordova-plugins/commit/656693dbab606fede5c4399659c32286dc037756))
|
||||
* **deps:** update dependency lint-staged to ^16.4.0 ([#5113](https://github.com/danielsogl/awesome-cordova-plugins/issues/5113)) ([60df81e](https://github.com/danielsogl/awesome-cordova-plugins/commit/60df81e7d029777c00e2fe79f9b798514ed032b5))
|
||||
* **deps:** update dependency release-please to ^17.1.2 ([#5065](https://github.com/danielsogl/awesome-cordova-plugins/issues/5065)) ([0c90165](https://github.com/danielsogl/awesome-cordova-plugins/commit/0c90165e969603a7d87ad405005423afcdc7a57c))
|
||||
* **deps:** update dependency release-please to ^17.1.3 ([#5078](https://github.com/danielsogl/awesome-cordova-plugins/issues/5078)) ([e9bf647](https://github.com/danielsogl/awesome-cordova-plugins/commit/e9bf647ca86f24b7e43377f502e9af084b76e250))
|
||||
* **deps:** update dependency release-please to ^17.2.0 ([#5098](https://github.com/danielsogl/awesome-cordova-plugins/issues/5098)) ([09f2522](https://github.com/danielsogl/awesome-cordova-plugins/commit/09f2522f9f680b8e8f472af68e09a14a35772e8c))
|
||||
* **deps:** update dependency release-please to ^17.2.1 ([#5102](https://github.com/danielsogl/awesome-cordova-plugins/issues/5102)) ([97d6d2e](https://github.com/danielsogl/awesome-cordova-plugins/commit/97d6d2eafe6d24e75ffaea1f45a25b20c1dcf7da))
|
||||
* **deps:** update dependency release-please to ^17.3.0 ([#5105](https://github.com/danielsogl/awesome-cordova-plugins/issues/5105)) ([c8689b4](https://github.com/danielsogl/awesome-cordova-plugins/commit/c8689b480d409659730d51683eb1e09ba7887aea))
|
||||
* **deps:** update dependency rimraf to ^6.1.0 ([#5082](https://github.com/danielsogl/awesome-cordova-plugins/issues/5082)) ([b8f3941](https://github.com/danielsogl/awesome-cordova-plugins/commit/b8f3941e4cb0547948e32ba75d4c523b0e8e7e2c))
|
||||
* **deps:** update dependency rollup to ^4.50.1 ([#5070](https://github.com/danielsogl/awesome-cordova-plugins/issues/5070)) ([b94c26d](https://github.com/danielsogl/awesome-cordova-plugins/commit/b94c26dbb1e5062ff9b3009943e0d3098b3c9f91))
|
||||
* **deps:** update dependency rollup to ^4.52.0 ([#5073](https://github.com/danielsogl/awesome-cordova-plugins/issues/5073)) ([f8fdc2f](https://github.com/danielsogl/awesome-cordova-plugins/commit/f8fdc2fe79817a31e466189b830031b88b531e20))
|
||||
* **deps:** update dependency rollup to ^4.52.3 ([#5074](https://github.com/danielsogl/awesome-cordova-plugins/issues/5074)) ([55aabfa](https://github.com/danielsogl/awesome-cordova-plugins/commit/55aabfa4aceccf6bc3f32cbc1945b8e89237f35a))
|
||||
* **deps:** update dependency rollup to ^4.53.1 ([#5084](https://github.com/danielsogl/awesome-cordova-plugins/issues/5084)) ([6fe9de5](https://github.com/danielsogl/awesome-cordova-plugins/commit/6fe9de5c97f496b075a7dadcac370677a06cc826))
|
||||
* **deps:** update dependency rollup to ^4.53.2 ([#5085](https://github.com/danielsogl/awesome-cordova-plugins/issues/5085)) ([d9bbabe](https://github.com/danielsogl/awesome-cordova-plugins/commit/d9bbabe605777fd588c698587ae4822178126668))
|
||||
* **deps:** update dependency rollup to ^4.55.1 ([#5094](https://github.com/danielsogl/awesome-cordova-plugins/issues/5094)) ([d097f55](https://github.com/danielsogl/awesome-cordova-plugins/commit/d097f5563fd14e3f754d52347c83e4c1cb559695))
|
||||
* **deps:** update dependency rollup to ^4.56.0 ([#5099](https://github.com/danielsogl/awesome-cordova-plugins/issues/5099)) ([30c72c4](https://github.com/danielsogl/awesome-cordova-plugins/commit/30c72c47bcb9cfd669ae41f870fcbc5863653ea0))
|
||||
* **deps:** update dependency rollup to ^4.57.1 ([#5100](https://github.com/danielsogl/awesome-cordova-plugins/issues/5100)) ([5f28d64](https://github.com/danielsogl/awesome-cordova-plugins/commit/5f28d64e43363dd5fe023ef82a57081e232935b3))
|
||||
* **deps:** update dependency rollup to ^4.59.0 ([#5106](https://github.com/danielsogl/awesome-cordova-plugins/issues/5106)) ([e8758af](https://github.com/danielsogl/awesome-cordova-plugins/commit/e8758afacb0750c7b18c59cf4fe3b380f3fe5f32))
|
||||
* **deps:** update dependency webpack to ^5.105.0 ([#5101](https://github.com/danielsogl/awesome-cordova-plugins/issues/5101)) ([4ddc32a](https://github.com/danielsogl/awesome-cordova-plugins/commit/4ddc32a7362b6f565f8eba8c9df0e6202a9b240b))
|
||||
* **deps:** update dependency webpack to ^5.105.3 ([#5108](https://github.com/danielsogl/awesome-cordova-plugins/issues/5108)) ([1d7259a](https://github.com/danielsogl/awesome-cordova-plugins/commit/1d7259aad73d3f1b09f4e9553a25c70890afc501))
|
||||
* **deps:** update dependency webpack to ^5.105.4 ([#5111](https://github.com/danielsogl/awesome-cordova-plugins/issues/5111)) ([2a24341](https://github.com/danielsogl/awesome-cordova-plugins/commit/2a24341da4d97fc35a041259420c19748de548df))
|
||||
* refresh package-lock.json ([555c375](https://github.com/danielsogl/awesome-cordova-plugins/commit/555c375b60c10cfcfc4207eb84ad827aedbda9ce))
|
||||
* remove unused zone.js devDependency ([15e7ac0](https://github.com/danielsogl/awesome-cordova-plugins/commit/15e7ac0c9a58be16ecc4abed79d936d9d0ddbae9))
|
||||
* rename default branch from master to main ([e263b0b](https://github.com/danielsogl/awesome-cordova-plugins/commit/e263b0b062af6a0d2065470b436c6f871fc682b7))
|
||||
|
||||
|
||||
### Documentation
|
||||
|
||||
* update guide to reflect latest Angular APIs ([0cee43b](https://github.com/danielsogl/awesome-cordova-plugins/commit/0cee43bbae78817ed8d4a919996172d50c398f69))
|
||||
|
||||
|
||||
### Code Refactoring
|
||||
|
||||
* replace build dependencies with native Node.js APIs ([120e0f6](https://github.com/danielsogl/awesome-cordova-plugins/commit/120e0f6d235d70e8df7041587a5351f002624579))
|
||||
|
||||
## [8.1.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v8.0.2...awesome-cordova-plugins-v8.1.0) (2025-08-08)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **adjust:** update adjust sdk index.ts api to v5.4.0 ([#4948](https://github.com/danielsogl/awesome-cordova-plugins/issues/4948)) ([f16d67a](https://github.com/danielsogl/awesome-cordova-plugins/commit/f16d67ad24b41078b2ba3149278c1bf8119f9d76))
|
||||
* **cashfree-pg:** support cordova-plugin-cashfree-pg 1.0.11 ([#5057](https://github.com/danielsogl/awesome-cordova-plugins/issues/5057)) ([a2a80d1](https://github.com/danielsogl/awesome-cordova-plugins/commit/a2a80d11b58e219dfcb9e0d58b06f87b98972add))
|
||||
* **clevertap:** support clevertap-cordova 4.2.0 ([#4938](https://github.com/danielsogl/awesome-cordova-plugins/issues/4938)) ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
* **cordova-plugin-unvired-sdk:** added new function ([#5051](https://github.com/danielsogl/awesome-cordova-plugins/issues/5051)) ([b2361e6](https://github.com/danielsogl/awesome-cordova-plugins/commit/b2361e682052b32ecf9fd3362d1acc260a0c47e1))
|
||||
* **mobile-messaging:** add callback parameter for Mobile Messaging S… ([#4930](https://github.com/danielsogl/awesome-cordova-plugins/issues/4930)) ([9605bb0](https://github.com/danielsogl/awesome-cordova-plugins/commit/9605bb0f781c41554a9cc4dfebc50fb9b2e47be3))
|
||||
* **wonderpush:** new Delegate methods + Add initialize() and isInitialized() methods ([#4942](https://github.com/danielsogl/awesome-cordova-plugins/issues/4942)) ([7edcb00](https://github.com/danielsogl/awesome-cordova-plugins/commit/7edcb008ef0df469c7364a146603501c60e63cdb))
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bluetooth-classic-serial-port:** support multiple simultaneous connections using the same protocol string ([#5056](https://github.com/danielsogl/awesome-cordova-plugins/issues/5056)) ([2e50067](https://github.com/danielsogl/awesome-cordova-plugins/commit/2e500677abac38b79a99151e60ff849cc63a4e54))
|
||||
* Remove unnecessary adder .scripts Folder ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
* Remove unwanted added File .npmrc ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
* Remove unwanted added folder .circleci ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
* Revert .Github Folder Changes to as per Ionic-Native master ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
* **screenshot:** Update import ([#4929](https://github.com/danielsogl/awesome-cordova-plugins/issues/4929)) ([ffdb71d](https://github.com/danielsogl/awesome-cordova-plugins/commit/ffdb71dbb2d2844054d11752ca5951fa501dcbfb))
|
||||
* Update changes as per ionic-native master ([cc1bb19](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc1bb196afc11d1760a6bc12a25dc029167364f7))
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* **deps:** bump form-data from 3.0.1 to 3.0.4 ([#5053](https://github.com/danielsogl/awesome-cordova-plugins/issues/5053)) ([2a2eeed](https://github.com/danielsogl/awesome-cordova-plugins/commit/2a2eeeda74622153ff57f5606ab854089abaf2e3))
|
||||
* **deps:** update build and bundling tools ([#5050](https://github.com/danielsogl/awesome-cordova-plugins/issues/5050)) ([3001c8b](https://github.com/danielsogl/awesome-cordova-plugins/commit/3001c8bc16ad7a973619c2596cbed5169000e86a))
|
||||
* **deps:** update build and bundling tools ([#5052](https://github.com/danielsogl/awesome-cordova-plugins/issues/5052)) ([d9ab88f](https://github.com/danielsogl/awesome-cordova-plugins/commit/d9ab88fe024bca7710633e546a829636034f3df9))
|
||||
* **deps:** update build and bundling tools ([#5059](https://github.com/danielsogl/awesome-cordova-plugins/issues/5059)) ([a258bc7](https://github.com/danielsogl/awesome-cordova-plugins/commit/a258bc78c0b28f25d858205249f9e70d4898d6f3))
|
||||
* **deps:** update dependency lint-staged to ^16.1.2 ([#5042](https://github.com/danielsogl/awesome-cordova-plugins/issues/5042)) ([9d2ce2b](https://github.com/danielsogl/awesome-cordova-plugins/commit/9d2ce2b834c1a9c4ea3705a5356558f7babf4d8e))
|
||||
* **deps:** update dependency lint-staged to ^16.1.4 ([#5060](https://github.com/danielsogl/awesome-cordova-plugins/issues/5060)) ([c10ae01](https://github.com/danielsogl/awesome-cordova-plugins/commit/c10ae01c27a7ab1fb806dafbf993713fb6be8d40))
|
||||
* **deps:** update dependency release-please to ^17.1.1 ([#5048](https://github.com/danielsogl/awesome-cordova-plugins/issues/5048)) ([8935e75](https://github.com/danielsogl/awesome-cordova-plugins/commit/8935e756864fb5c4ca70312cd28a77e5536eb3f6))
|
||||
* **deps:** update dependency rollup to ^4.44.0 ([#5046](https://github.com/danielsogl/awesome-cordova-plugins/issues/5046)) ([f870c3c](https://github.com/danielsogl/awesome-cordova-plugins/commit/f870c3ce70c5b125cadc22f9bb91b7e59b231b7e))
|
||||
* **deps:** update dependency rollup to ^4.44.1 ([#5047](https://github.com/danielsogl/awesome-cordova-plugins/issues/5047)) ([56f32cf](https://github.com/danielsogl/awesome-cordova-plugins/commit/56f32cfa9066748853033f3bb7c4c15e0a998577))
|
||||
* **deps:** update dependency rollup to ^4.44.2 ([#5049](https://github.com/danielsogl/awesome-cordova-plugins/issues/5049)) ([8f1ee69](https://github.com/danielsogl/awesome-cordova-plugins/commit/8f1ee6949e8c227878c0e252789fc0627b71d0a6))
|
||||
* **deps:** update dependency rollup to ^4.46.1 ([#5054](https://github.com/danielsogl/awesome-cordova-plugins/issues/5054)) ([dd72a4b](https://github.com/danielsogl/awesome-cordova-plugins/commit/dd72a4b503ea9eea07806335148359549fe5df6e))
|
||||
|
||||
## [8.0.2](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v8.0.1...awesome-cordova-plugins-v8.0.2) (2025-06-14)
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* update minimum core version to 8.0.2 in publish script ([d1a52cd](https://github.com/danielsogl/awesome-cordova-plugins/commit/d1a52cdef3483ef5e4a4f34cfc308f16a2c97c00))
|
||||
|
||||
## [8.0.1](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v8.0.0...awesome-cordova-plugins-v8.0.1) (2025-06-14)
|
||||
|
||||
|
||||
### Miscellaneous Chores
|
||||
|
||||
* **deps:** update @types/lodash ([6be3385](https://github.com/danielsogl/awesome-cordova-plugins/commit/6be3385b94c4e023d3beac0773262ec3d5cea254))
|
||||
* **deps:** update gulp ([4966b35](https://github.com/danielsogl/awesome-cordova-plugins/commit/4966b35eae2a82b1d836c820af1b7eb8b7a17dec))
|
||||
* **deps:** update lint-staged ([8c80381](https://github.com/danielsogl/awesome-cordova-plugins/commit/8c80381eef8d5c71e1459f2b549aa448b6ee79e0))
|
||||
* **deps:** update rimraf ([65bb752](https://github.com/danielsogl/awesome-cordova-plugins/commit/65bb7521b184d1263abc1e8613e0c07c7e8f9f18))
|
||||
* **deps:** update rollup ([cc65a53](https://github.com/danielsogl/awesome-cordova-plugins/commit/cc65a5302eb895f965e4c28f348010258e1c4519))
|
||||
* **deps:** update webpack ([8ab40c4](https://github.com/danielsogl/awesome-cordova-plugins/commit/8ab40c499096223ac75a703f0f631efa8f1218ab))
|
||||
* update minimum core version to 8.0.1 in publish script ([54eefb6](https://github.com/danielsogl/awesome-cordova-plugins/commit/54eefb606d42d0c49d65e673af34322cd3c83e78))
|
||||
|
||||
## [8.0.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/awesome-cordova-plugins-v7.0.2...awesome-cordova-plugins-v8.0.0) (2025-06-10)
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
# Ionic Native Developer Guide
|
||||
# Awesome Cordova Plugins Developer Guide
|
||||
|
||||
This is a short guide on creating new plugin wrappers for Ionic Native.
|
||||
This is a short guide on creating new plugin wrappers for Awesome Cordova Plugins.
|
||||
|
||||
## Creating Plugin Wrappers
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[](http://commitizen.github.io/cz-cli/) 
|
||||

|
||||
|
||||
# Awesome Cordova Plugins
|
||||
|
||||
@@ -28,58 +28,53 @@ For the full Awesome Cordova Plugins documentation, please visit [https://ionicf
|
||||
|
||||
### Basic Usage
|
||||
|
||||
#### Ionic/Angular apps
|
||||
#### Ionic/Angular apps (Standalone)
|
||||
|
||||
To use a plugin, import and add the plugin provider to your `@NgModule`, and then inject it where you wish to use it.
|
||||
Angular v14+ uses standalone components by default. To use a plugin, register it as a provider in your application bootstrap and inject it using Angular's `inject()` function.
|
||||
Make sure to import the injectable class from the `/ngx` directory as shown in the following examples:
|
||||
|
||||
```typescript
|
||||
// app.module.ts
|
||||
// main.ts
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
import { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';
|
||||
import { AppComponent } from './app/app.component';
|
||||
|
||||
...
|
||||
|
||||
@NgModule({
|
||||
...
|
||||
|
||||
providers: [
|
||||
...
|
||||
Camera
|
||||
...
|
||||
]
|
||||
...
|
||||
})
|
||||
export class AppModule { }
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [Camera, Geolocation],
|
||||
});
|
||||
```
|
||||
|
||||
```typescript
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { inject } from '@angular/core';
|
||||
import { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';
|
||||
import { Platform } from 'ionic-angular';
|
||||
import { Platform } from '@ionic/angular';
|
||||
|
||||
@Component({ ... })
|
||||
export class MyComponent {
|
||||
@Component({
|
||||
selector: 'app-my-component',
|
||||
standalone: true,
|
||||
template: `<p>My Component</p>`,
|
||||
})
|
||||
export class MyComponent implements OnInit {
|
||||
private geolocation = inject(Geolocation);
|
||||
private platform = inject(Platform);
|
||||
|
||||
constructor(private geolocation: Geolocation, private platform: Platform) {
|
||||
async ngOnInit() {
|
||||
await this.platform.ready();
|
||||
|
||||
this.platform.ready().then(() => {
|
||||
// get position
|
||||
const pos = await this.geolocation.getCurrentPosition();
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`);
|
||||
|
||||
// get position
|
||||
this.geolocation.getCurrentPosition().then(pos => {
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
|
||||
});
|
||||
|
||||
|
||||
// watch position
|
||||
const watch = geolocation.watchPosition().subscribe(pos => {
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
|
||||
});
|
||||
|
||||
// to stop watching
|
||||
watch.unsubscribe();
|
||||
// watch position
|
||||
const watch = this.geolocation.watchPosition().subscribe((pos) => {
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`);
|
||||
});
|
||||
|
||||
// to stop watching
|
||||
watch.unsubscribe();
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
@@ -126,9 +121,9 @@ const Tab1: React.FC = () => {
|
||||
};
|
||||
```
|
||||
|
||||
#### ES2015+/TypeScript
|
||||
#### ES2015+/TypeScript (without Angular)
|
||||
|
||||
These modules can work in any ES2015+/TypeScript app (including Angular/Ionic apps). To use any plugin, import the class from the appropriate package, and use it's static methods.
|
||||
These modules can also be used without Angular by calling static methods directly:
|
||||
|
||||
```js
|
||||
import { Camera } from '@awesome-cordova-plugins/camera';
|
||||
@@ -140,64 +135,17 @@ document.addEventListener('deviceready', () => {
|
||||
});
|
||||
```
|
||||
|
||||
#### AngularJS
|
||||
|
||||
Awesome Cordova Plugins generates an AngularJS module in runtime and prepares a service for each plugin. To use the plugins in your AngularJS app:
|
||||
|
||||
1. Download the latest bundle from the [Github releases](https://github.com/danielsogl/awesome-cordova-plugins/releases) page.
|
||||
2. Include it in `index.html` before your app's code.
|
||||
3. Inject `ionic.native` module in your app.
|
||||
4. Inject any plugin you would like to use with a `$cordova` prefix.
|
||||
|
||||
```js
|
||||
angular.module('myApp', ['ionic.native']).controller('MyPageController', function ($cordovaCamera) {
|
||||
$cordovaCamera.getPicture().then(
|
||||
function (data) {
|
||||
console.log('Took a picture!', data);
|
||||
},
|
||||
function (err) {
|
||||
console.log('Error occurred while taking a picture', err);
|
||||
}
|
||||
);
|
||||
});
|
||||
```
|
||||
|
||||
#### Vanilla JS
|
||||
|
||||
To use Awesome Cordova Plugins in any other setup:
|
||||
|
||||
1. Download the latest bundle from the [Github releases](https://github.com/danielsogl/awesome-cordova-plugins/releases) page.
|
||||
2. Include it in `index.html` before your app's code.
|
||||
3. Access any plugin using the global `IonicNative` variable.
|
||||
|
||||
```js
|
||||
document.addEventListener('deviceready', function () {
|
||||
IonicNative.Camera.getPicture().then(
|
||||
function (data) {
|
||||
console.log('Took a picture!', data);
|
||||
},
|
||||
function (err) {
|
||||
console.log('Error occurred while taking a picture', err);
|
||||
}
|
||||
);
|
||||
});
|
||||
```
|
||||
|
||||
### Mocking and Browser Development (Ionic/Angular apps only)
|
||||
|
||||
Awesome Cordova Plugins makes it possible to mock plugins and develop nearly the entirety of your app in the browser or in `ionic serve`.
|
||||
|
||||
To do this, you need to provide a mock implementation of the plugins you wish to use. Here's an example of mocking the `Camera` plugin to return a stock image while in development:
|
||||
|
||||
First import the `Camera` class in your `src/app/app.module.ts` file:
|
||||
First create a mock class that extends the `Camera` class:
|
||||
|
||||
```typescript
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
```
|
||||
|
||||
Then create a new class that extends the `Camera` class with a mock implementation:
|
||||
|
||||
```typescript
|
||||
class CameraMock extends Camera {
|
||||
getPicture(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -207,45 +155,23 @@ class CameraMock extends Camera {
|
||||
}
|
||||
```
|
||||
|
||||
Finally, override the previous `Camera` class in your `providers` for this module:
|
||||
Then override the `Camera` provider in your application bootstrap:
|
||||
|
||||
```typescript
|
||||
providers: [{ provide: Camera, useClass: CameraMock }];
|
||||
```
|
||||
|
||||
Here's the full example:
|
||||
|
||||
```typescript
|
||||
import { ErrorHandler, NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
||||
import { MyApp } from './app.component';
|
||||
import { HomePage } from '../pages/home/home';
|
||||
|
||||
// main.ts
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
|
||||
import { HomePage } from '../pages/home/home';
|
||||
import { MyApp } from './app.component';
|
||||
import { AppComponent } from './app/app.component';
|
||||
|
||||
class CameraMock extends Camera {
|
||||
getPicture(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve('BASE_64_ENCODED_DATA_GOES_HERE');
|
||||
});
|
||||
return Promise.resolve('BASE_64_ENCODED_DATA_GOES_HERE');
|
||||
}
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
declarations: [MyApp, HomePage],
|
||||
imports: [BrowserModule, IonicModule.forRoot(MyApp)],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [MyApp, HomePage],
|
||||
providers: [
|
||||
{ provide: ErrorHandler, useClass: IonicErrorHandler },
|
||||
{ provide: Camera, useClass: CameraMock },
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [{ provide: Camera, useClass: CameraMock }],
|
||||
});
|
||||
```
|
||||
|
||||
### Runtime Diagnostics
|
||||
@@ -256,7 +182,7 @@ Spent way too long diagnosing an issue only to realize a plugin wasn't firing or
|
||||
|
||||
## Plugin Missing?
|
||||
|
||||
Let us know or submit a PR! Take a look at [the Developer Guide](https://github.com/danielsogl/awesome-cordova-plugins/blob/master/DEVELOPER.md) for more on how to contribute. :heart:
|
||||
Let us know or submit a PR! Take a look at [the Developer Guide](https://github.com/danielsogl/awesome-cordova-plugins/blob/main/DEVELOPER.md) for more on how to contribute. :heart:
|
||||
|
||||
# Credits
|
||||
|
||||
|
||||
+51
-56
@@ -8,68 +8,56 @@ These plugins are submitted and maintained by the Ionic community. While communi
|
||||
|
||||
For professional developers and teams that require dedicated native plugin support & SLAs, ongoing maintenance, and security patches, please explore our [premium options](https://ionicframework.com/native), including plugin support and pre-built solutions for common native use cases.
|
||||
|
||||
> These docs are for apps built with Ionic Framework 4.0.0 and greater. For older Ionic v3 projects, please [see here](https://ionicframework.com/docs/v3/native).
|
||||
|
||||
### [Capacitor Support](https://ionicframework.com/docs/native/community#capacitor-support) <a id="capacitor-support"></a>
|
||||
|
||||
In addition to Cordova, Ionic Native also works with [Capacitor](https://capacitor.ionicframework.com/), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitor.ionicframework.com/docs/cordova/using-cordova-plugins).
|
||||
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitorjs.com/), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitorjs.com/docs/cordova/using-cordova-plugins).
|
||||
|
||||
### [Usage](https://ionicframework.com/docs/native/community#usage) <a id="usage"></a>
|
||||
|
||||
All plugins have two components - the native code \(Cordova\) and the TypeScript code \(Ionic Native\). Cordova plugins are also wrapped in a `Promise` or `Observable` in order to provide a common plugin interface and modernized development approach.
|
||||
All plugins have two components - the native code (Cordova) and the TypeScript code (Awesome Cordova Plugins). Cordova plugins are also wrapped in a `Promise` or `Observable` in order to provide a common plugin interface and modernized development approach.
|
||||
|
||||
Using the [Camera plugin](https://ionicframework.com/docs/native/camera) as an example, first install it:CORDOVACAPACITOR
|
||||
Using the [Camera plugin](https://ionicframework.com/docs/native/camera) as an example, first install it:
|
||||
|
||||
```text
|
||||
// Install Cordova plugin
|
||||
$ ionic cordova plugin add cordova-plugin-camera
|
||||
```bash
|
||||
# Install Cordova plugin
|
||||
ionic cordova plugin add cordova-plugin-camera
|
||||
|
||||
// Install Ionic Native TypeScript wrapper
|
||||
$ npm install @ionic-native/camera
|
||||
# Install Awesome Cordova Plugins TypeScript wrapper
|
||||
npm install @awesome-cordova-plugins/camera
|
||||
|
||||
// Install Ionic Native core library (once per project)
|
||||
$ npm install @ionic-native/core
|
||||
# Install Awesome Cordova Plugins core library (once per project)
|
||||
npm install @awesome-cordova-plugins/core
|
||||
```
|
||||
|
||||
Next, begin using the plugin, following the various framework usage options below. For FAQ, see [here](https://ionicframework.com/docs/native/faq).
|
||||
|
||||
### [Angular](https://ionicframework.com/docs/native/community#angular) <a id="angular"></a>
|
||||
### [Angular (Standalone)](https://ionicframework.com/docs/native/community#angular) <a id="angular"></a>
|
||||
|
||||
Angular apps can use either Cordova or Capacitor to build native mobile apps. Import the plugin in a `@NgModule` and add it to the list of Providers. For Angular, the import path should end with `/ngx`. Angular's change detection is automatically handled.
|
||||
Angular apps can use either Cordova or Capacitor to build native mobile apps. Register the plugin as a provider in your application bootstrap. For Angular, the import path should end with `/ngx`. Angular's change detection is automatically handled.
|
||||
|
||||
```text
|
||||
// app.module.ts
|
||||
import { Camera } from '@ionic-native/camera/ngx';
|
||||
```typescript
|
||||
// main.ts
|
||||
import { bootstrapApplication } from '@angular/platform-browser';
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
import { AppComponent } from './app/app.component';
|
||||
|
||||
...
|
||||
|
||||
@NgModule({
|
||||
...
|
||||
|
||||
providers: [
|
||||
...
|
||||
Camera
|
||||
...
|
||||
]
|
||||
...
|
||||
})
|
||||
export class AppModule { }
|
||||
bootstrapApplication(AppComponent, {
|
||||
providers: [Camera],
|
||||
});
|
||||
```
|
||||
|
||||
CopyCopied
|
||||
After the plugin has been registered, inject it in any component or service using Angular's `inject()` function:
|
||||
|
||||
After the plugin has been declared, it can be imported and injected like any other service:
|
||||
|
||||
```text
|
||||
```typescript
|
||||
// camera.service.ts
|
||||
import { Injectable } from "@angular/core";
|
||||
import { Camera, CameraOptions } from "@ionic-native/camera/ngx";
|
||||
import { Injectable, inject } from '@angular/core';
|
||||
import { Camera, CameraOptions } from '@awesome-cordova-plugins/camera/ngx';
|
||||
|
||||
@Injectable({
|
||||
providedIn: "root",
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class PhotoService {
|
||||
constructor(private camera: Camera) {}
|
||||
private camera = inject(Camera);
|
||||
|
||||
takePicture() {
|
||||
const options: CameraOptions = {
|
||||
@@ -85,26 +73,35 @@ export class PhotoService {
|
||||
},
|
||||
(err) => {
|
||||
// Handle error
|
||||
console.log("Camera issue: " + err);
|
||||
console.log('Camera issue: ' + err);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
CopyCopied
|
||||
|
||||
### [React](https://ionicframework.com/docs/native/community#react) <a id="react"></a>
|
||||
|
||||
React apps must use Capacitor to build native mobile apps. However, Ionic Native \(and therefore, Cordova plugins\) can still be used.// Install Core library \(once per project\)npm install @ionic-native/core
|
||||
// Install Ionic Native TypeScript wrappernpm install @ionic-native/barcode-scanner
|
||||
// Install Cordova pluginnpm install phonegap-plugin-barcodescanner
|
||||
// Update native platform project\(s\) to include newly added pluginionic cap sync
|
||||
React apps must use Capacitor to build native mobile apps. However, Awesome Cordova Plugins (and therefore, Cordova plugins) can still be used.
|
||||
|
||||
```bash
|
||||
# Install Core library (once per project)
|
||||
npm install @awesome-cordova-plugins/core
|
||||
|
||||
# Install Awesome Cordova Plugins TypeScript wrapper
|
||||
npm install @awesome-cordova-plugins/barcode-scanner
|
||||
|
||||
# Install Cordova plugin
|
||||
npm install phonegap-plugin-barcodescanner
|
||||
|
||||
# Update native platform project(s) to include newly added plugin
|
||||
ionic cap sync
|
||||
```
|
||||
|
||||
Import the plugin object then use its static methods:
|
||||
|
||||
```text
|
||||
import { BarcodeScanner } from "@ionic-native/barcode-scanner";
|
||||
```typescript
|
||||
import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner';
|
||||
|
||||
const Tab1: React.FC = () => {
|
||||
const openScanner = async () => {
|
||||
@@ -126,19 +123,17 @@ const Tab1: React.FC = () => {
|
||||
};
|
||||
```
|
||||
|
||||
CopyCopied
|
||||
### [ES2015+/TypeScript](https://ionicframework.com/docs/native/community#vanilla-javascript) <a id="vanilla-javascript"></a>
|
||||
|
||||
### [Vanilla JavaScript](https://ionicframework.com/docs/native/community#vanilla-javascript) <a id="vanilla-javascript"></a>
|
||||
ES2015+ and TypeScript apps can use either Cordova or Capacitor to build native mobile apps. To use any plugin, import the class from the appropriate package and use its static methods:
|
||||
|
||||
Vanilla JavaScript apps, targeting ES2015+ and/or TypeScript, can use either Cordova or Capacitor to build native mobile apps. To use any plugin, import the class from the appropriate package and use its static methods:
|
||||
```typescript
|
||||
import { Camera } from '@awesome-cordova-plugins/camera';
|
||||
|
||||
```text
|
||||
import { Camera } from "@ionic-native/camera";
|
||||
|
||||
document.addEventListener("deviceready", () => {
|
||||
document.addEventListener('deviceready', () => {
|
||||
Camera.getPicture()
|
||||
.then((data) => console.log("Took a picture!", data))
|
||||
.catch((e) => console.log("Error occurred while taking a picture", e));
|
||||
.then((data) => console.log('Took a picture!', data))
|
||||
.catch((e) => console.log('Error occurred while taking a picture', e));
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
@@ -15,7 +15,5 @@ ABBYY Real-Time Recognition SDK (RTR SDK) in apps.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,10 +16,8 @@ Requires Cordova plugin: `cordova-plugin-actionsheet`. For more info, please see
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# AdjustThirdPartySharing
|
||||
ova plugin add com.adjust.sdk
|
||||
# Adjust
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add com.adjust.sdk
|
||||
$ npm install @awesome-cordova-plugins/adjust
|
||||
```
|
||||
|
||||
@@ -14,7 +16,5 @@ Requires Cordova plugin: `com.adjust.sdk`. For more info, please see the [Adjust
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# RewardVideo
|
||||
# AdMob
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-admob-plus
|
||||
@@ -7,18 +7,10 @@ $ npm install @awesome-cordova-plugins/admob-plus
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/admob-plus/)
|
||||
|
||||
Plugin Repo: []()
|
||||
|
||||
|
||||
|
||||
github.com/admob-plus/admob-plus](https://github.com/admob-plus/admob-plus)
|
||||
|
||||
AdMob Plus is the successor of cordova-plugin-admob-free, which provides a cleaner API and build with modern tools.
|
||||
Plugin Repo: [https://github.com/admob-plus/admob-plus](https://github.com/admob-plus/admob-plus)
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ IMPORTANT NOTICE: this plugin takes a percentage out of your earnings if you pro
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@ Supports:**
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This Cordova Plugin is for a better (multiple) ImagePicker with more options.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ The encryption and decryption are performed on the device native layer so that t
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Airship
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add @ua/cordova-airship
|
||||
$ npm install @awesome-cordova-plugins/airship
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/airship/)
|
||||
|
||||
Plugin Repo: [https://www.npmjs.com/package/@ua/cordova-airship](https://www.npmjs.com/package/@ua/cordova-airship)
|
||||
|
||||
This plugin does something
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
@@ -17,7 +17,5 @@ For more information about Paytm All-in-One SDK, please visit https://developer.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Google Analytics Firebase plugin for Ionic Native apps.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,6 +16,4 @@ https://github.com/google/ExoPlayer
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,6 +16,4 @@ In Android 4.4+, however, you can now enter true full screen, fully interactive
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,6 +16,4 @@ This plugin works on all android versions, but we can only detect notches starti
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -16,6 +16,4 @@ You can find all permissions here: https://developer.android.com/reference/andro
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Anyline provides an easy-to-use SDK for applications to enable Optical Character
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ Requires Cordova plugin: cordova-plugin-appavailability. For more info, please s
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -19,7 +19,5 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/analyti
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -19,7 +19,5 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/crashes
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -15,7 +15,5 @@ For more info, please see: https://github.com/Microsoft/appcenter-sdk-cordova/tr
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/push/co
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ For more info, please see https://docs.microsoft.com/en-us/appcenter/sdk/other-a
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,12 +14,10 @@ This plugin allows you to read and write app preferences
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- iOS
|
||||
- macOS
|
||||
- Windows 8
|
||||
- Windows Phone
|
||||
|
||||
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- iOS
|
||||
- macOS
|
||||
- Windows 8
|
||||
- Windows Phone
|
||||
|
||||
|
||||
@@ -16,9 +16,7 @@ Requires Cordova plugin: cordova-plugin-apprate. For more info, please see the [
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- BlackBerry 10
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Cordova plugin to review app
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ Requires Cordova plugin: `cordova-plugin-app-version`. For more info, please see
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -14,6 +14,4 @@ A Cordova plugin that enables users from Add Payment Cards to their Apple Wallet
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This plugin allows you to easily configure, integrate and interact with Applovin
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# HTTP
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-approov-advanced-http
|
||||
$ ionic cordova plugin add @approov/cordova-plugin-advanced-http
|
||||
$ npm install @awesome-cordova-plugins/approov-advanced-http
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/approov-advanced-http/)
|
||||
|
||||
Plugin Repo: [https://github.com/approov/quickstart-ionic-advancedhttp](https://github.com/approov/quickstart-ionic-advancedhttp)
|
||||
Plugin Repo: [https://github.com/approov/quickstart-cordova-advancedhttp](https://github.com/approov/quickstart-cordova-advancedhttp)
|
||||
|
||||
Cordova / Phonegap plugin for communicating with HTTP servers. Supports iOS and Android.
|
||||
|
||||
@@ -22,7 +22,5 @@ we have only added approov functionality on top of it. All credit goes to the ac
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Appsflyer Cordova SDK support for Attribution
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
- Android
|
||||
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Audio Management
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add clovelced-plugin-audiomanagement
|
||||
$ npm install @awesome-cordova-plugins/audio-management
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/audio-management/)
|
||||
|
||||
Plugin Repo: [https://github.com/clovelCed/cordova-plugin-audiomanagement](https://github.com/clovelCed/cordova-plugin-audiomanagement)
|
||||
|
||||
A Cordova plugin to manage volume of audio streams for: ring, music, notification and system. Possible
|
||||
ringer values for those streams are: silent, vibrate and normal.
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
@@ -16,6 +16,4 @@ For more detail, please see https://github.com/transistorsoft/cordova-plugin-bac
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,10 +15,8 @@ Requires Cordova plugin: cordova-plugin-background-mode. For more info about plu
|
||||
## Supported platforms
|
||||
|
||||
- AmazonFire OS
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This plugin does something
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -18,9 +18,7 @@ Android Note: Badges have historically only been a feature implemented by third
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -16,10 +16,8 @@ Requires Cordova plugin: `phonegap-plugin-barcodescanner`. For more info, please
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# Barkoder
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add barkoder-cordova
|
||||
$ npm install @awesome-cordova-plugins/barkoder
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/barkoder/)
|
||||
|
||||
The barKoder Barcode Scanner SDK cordova plugin grants an easy to use solution with a great and completely customizable interface that can be instantly integrated in both iOS and Android apps.
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
@@ -14,9 +14,7 @@ Requires Cordova plugin: cordova-plugin-batterystatus. For more info, please see
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
- Android
|
||||
- Windows
|
||||
- Browser
|
||||
|
||||
|
||||
- Android
|
||||
- Windows
|
||||
- Browser
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ BioCatch SDK Cordova support
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
- Android
|
||||
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
@@ -1,20 +1,16 @@
|
||||
# BiometricWrapper
|
||||
|
||||
```
|
||||
$ ''
|
||||
$
|
||||
$ npm install @awesome-cordova-plugins/biometric-wrapper
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/biometric-wrapper/)
|
||||
|
||||
Plugin Repo: ['']('')
|
||||
|
||||
This plugin capture biometric(Iris and Fingerprint) and validate the user.
|
||||
May be used in Banking domain
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,5 @@ Simultaneous connections to multiple peripherals are supported.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -15,7 +15,5 @@ blinkid-phonegap repository for available recognizers and other settings
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
- Android
|
||||
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ This plugin is written using the iOS Accessory Framework (MFi) to support Classi
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ It supports peripheral **and** central modes and covers most of the API methods
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ This plugin enables serial communication over Bluetooth. It was written for comm
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Branch.io is an attribution service for deeplinking and invitation links
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
- Android
|
||||
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ Requires Cordova plugin: `cordova-plugin-brightness`. For more info, please see
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ This plugin adds exchanging events between native code and your app.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
- iOS
|
||||
- Browser
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This plugin provides an interface to in-app browser tabs that exist on some mobi
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,11 +14,9 @@ This plugin provides build information.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows
|
||||
- macOS
|
||||
- browser
|
||||
- Electron
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows
|
||||
- macOS
|
||||
- browser
|
||||
- Electron
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ Requires Cordova plugin: `cordova-plugin-calendar`. For more info, please see th
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -15,6 +15,4 @@ to process the changes in the call directory extension.
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,5 @@ NOTE**: The iOS Simulator (and maybe Android Simulators) do not provide access t
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# Camera Preview
|
||||
|
||||
<p style="color:orange">
|
||||
This plugin is still in beta stage and may not work as expected. Please
|
||||
submit any issues to the <a target="_blank"
|
||||
href="/issues">plugin repo</a>.
|
||||
</p>
|
||||
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-camera-preview
|
||||
$ npm install @awesome-cordova-plugins/camera-preview
|
||||
@@ -23,7 +16,5 @@ Requires Cordova plugin: `https://github.com/cordova-plugin-camera-preview/cordo
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -24,9 +24,7 @@ inside of the `<platform name='ios>` section
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# CFPaymentComponentBuilder
|
||||
nic cordova plugin add cordova-plugin-cashfree-pg
|
||||
# CFPaymentGateway
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-cashfree-pg
|
||||
$ npm install @awesome-cordova-plugins/cashfree-pg
|
||||
```
|
||||
|
||||
@@ -7,12 +9,8 @@ $ npm install @awesome-cordova-plugins/cashfree-pg
|
||||
|
||||
Plugin Repo: [https://github.com/cashfree/cordova-plugin-cashfree](https://github.com/cashfree/cordova-plugin-cashfree)
|
||||
|
||||
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Checkout
|
||||
|
||||
```
|
||||
$ ''
|
||||
$
|
||||
$ npm install @awesome-cordova-plugins/checkout
|
||||
```
|
||||
|
||||
@@ -14,7 +14,5 @@ Checkout.com cordova plugin
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -26,7 +26,5 @@ The following must be added to config.xml to prevent crashing when selecting lar
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -26,7 +26,5 @@ The following must be added to config.xml to prevent crashing when selecting lar
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ Cordova Plugin that wraps CleverTap SDK for Android and iOS
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ Clipboard management plugin for Cordova that supports iOS, Android, and Windows
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Cloud Settings
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-cloud-settings --variable ANDROID_BACKUP_SERVICE_KEY=myapikey
|
||||
$ ionic cordova plugin add @marysuon/cordova-plugin-cloud-settings --variable ANDROID_BACKUP_SERVICE_KEY=myapikey
|
||||
$ npm install @awesome-cordova-plugins/cloud-settings
|
||||
```
|
||||
|
||||
@@ -14,7 +14,5 @@ Stores app settings in cloud storage so if the user re-installs the app or insta
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -16,7 +16,5 @@ For more info, please see https://github.com/Dellos7/example-cordova-code-push-p
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
# Contacts
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-contacts
|
||||
$ npm install @awesome-cordova-plugins/contacts
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/contacts/)
|
||||
|
||||
Plugin Repo: [https://github.com/herdwatch-apps/cordova-plugin-contacts](https://github.com/herdwatch-apps/cordova-plugin-contacts)
|
||||
|
||||
Access and manage Contacts on the device.
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- Firefox OS
|
||||
- iOS
|
||||
- Ubuntu
|
||||
- Windows
|
||||
- Windows 8
|
||||
- Windows Phone
|
||||
|
||||
@@ -0,0 +1,273 @@
|
||||

|
||||
|
||||
# Awesome Cordova Plugins
|
||||
|
||||
Awesome Cordova Plugins is a curated set of wrappers for Cordova plugins that make adding any native functionality you need to your [Ionic](https://ionicframework.com/) mobile app easy.
|
||||
|
||||
Awesome Cordova Plugins wraps plugin callbacks in a Promise or Observable, providing a common interface for all plugins and making it easy to use plugins with Angular change detection.
|
||||
|
||||
To learn more about the reasons why Ionic Native was renamed to Awesome Cordova Plugins, read the official [Ionic blog](https://ionicframework.com/blog/a-new-chapter-for-ionic-native/) post by Max Lyncht.
|
||||
|
||||
## Capacitor Support
|
||||
|
||||
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitorjs.com), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitorjs.com/docs/v2/cordova/using-cordova-plugins).
|
||||
|
||||
## Installation
|
||||
|
||||
Run following command to install Awesome Cordova Plugins in your project.
|
||||
|
||||
```bash
|
||||
npm install @awesome-cordova-plugins/core --save
|
||||
```
|
||||
|
||||
You also need to install the Awesome Cordova Plugins package for each plugin you want to add. Please see the [Awesome Cordova Plugins documentation](https://ionicframework.com/docs/native/) for complete instructions on how to add and use the plugins.
|
||||
|
||||
## Documentation
|
||||
|
||||
For the full Awesome Cordova Plugins documentation, please visit [https://ionicframework.com/docs/native/](https://ionicframework.com/docs/native/).
|
||||
|
||||
### Basic Usage
|
||||
|
||||
#### Ionic/Angular apps
|
||||
|
||||
To use a plugin, import and add the plugin provider to your `@NgModule`, and then inject it where you wish to use it.
|
||||
Make sure to import the injectable class from the `/ngx` directory as shown in the following examples:
|
||||
|
||||
```typescript
|
||||
// app.module.ts
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
|
||||
...
|
||||
|
||||
@NgModule({
|
||||
...
|
||||
|
||||
providers: [
|
||||
...
|
||||
Camera
|
||||
...
|
||||
]
|
||||
...
|
||||
})
|
||||
export class AppModule { }
|
||||
```
|
||||
|
||||
```typescript
|
||||
import { Geolocation } from '@awesome-cordova-plugins/geolocation/ngx';
|
||||
import { Platform } from 'ionic-angular';
|
||||
|
||||
@Component({ ... })
|
||||
export class MyComponent {
|
||||
|
||||
constructor(private geolocation: Geolocation, private platform: Platform) {
|
||||
|
||||
this.platform.ready().then(() => {
|
||||
|
||||
// get position
|
||||
this.geolocation.getCurrentPosition().then(pos => {
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
|
||||
});
|
||||
|
||||
|
||||
// watch position
|
||||
const watch = geolocation.watchPosition().subscribe(pos => {
|
||||
console.log(`lat: ${pos.coords.latitude}, lon: ${pos.coords.longitude}`)
|
||||
});
|
||||
|
||||
// to stop watching
|
||||
watch.unsubscribe();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
#### Ionic/React apps
|
||||
|
||||
React apps must use Capacitor to build native mobile apps. However, Awesome Cordova Plugins (and therefore, Cordova plugins) can still be used.
|
||||
|
||||
```bash
|
||||
# Install Core library (once per project)
|
||||
npm install @awesome-cordova-plugins/core
|
||||
|
||||
# Install Awesome Cordova Plugins TypeScript wrapper
|
||||
npm install @awesome-cordova-plugins/barcode-scanner
|
||||
|
||||
# Install Cordova plugin
|
||||
npm install phonegap-plugin-barcodescanner
|
||||
|
||||
# Update native platform project(s) to include newly added plugin
|
||||
ionic cap sync
|
||||
```
|
||||
|
||||
Import the plugin object then use its static methods:
|
||||
|
||||
```typescript
|
||||
import { BarcodeScanner } from '@awesome-cordova-plugins/barcode-scanner';
|
||||
|
||||
const Tab1: React.FC = () => {
|
||||
const openScanner = async () => {
|
||||
const data = await BarcodeScanner.scan();
|
||||
console.log(`Barcode data: ${data.text}`);
|
||||
};
|
||||
return (
|
||||
<IonPage>
|
||||
<IonHeader>
|
||||
<IonToolbar>
|
||||
<IonTitle>Tab 1</IonTitle>
|
||||
</IonToolbar>
|
||||
</IonHeader>
|
||||
<IonContent>
|
||||
<IonButton onClick={openScanner}>Scan barcode</IonButton>
|
||||
</IonContent>
|
||||
</IonPage>
|
||||
);
|
||||
};
|
||||
```
|
||||
|
||||
#### ES2015+/TypeScript
|
||||
|
||||
These modules can work in any ES2015+/TypeScript app (including Angular/Ionic apps). To use any plugin, import the class from the appropriate package, and use it's static methods.
|
||||
|
||||
```js
|
||||
import { Camera } from '@awesome-cordova-plugins/camera';
|
||||
|
||||
document.addEventListener('deviceready', () => {
|
||||
Camera.getPicture()
|
||||
.then((data) => console.log('Took a picture!', data))
|
||||
.catch((e) => console.log('Error occurred while taking a picture', e));
|
||||
});
|
||||
```
|
||||
|
||||
#### AngularJS
|
||||
|
||||
Awesome Cordova Plugins generates an AngularJS module in runtime and prepares a service for each plugin. To use the plugins in your AngularJS app:
|
||||
|
||||
1. Download the latest bundle from the [Github releases](https://github.com/danielsogl/awesome-cordova-plugins/releases) page.
|
||||
2. Include it in `index.html` before your app's code.
|
||||
3. Inject `ionic.native` module in your app.
|
||||
4. Inject any plugin you would like to use with a `$cordova` prefix.
|
||||
|
||||
```js
|
||||
angular.module('myApp', ['ionic.native']).controller('MyPageController', function ($cordovaCamera) {
|
||||
$cordovaCamera.getPicture().then(
|
||||
function (data) {
|
||||
console.log('Took a picture!', data);
|
||||
},
|
||||
function (err) {
|
||||
console.log('Error occurred while taking a picture', err);
|
||||
}
|
||||
);
|
||||
});
|
||||
```
|
||||
|
||||
#### Vanilla JS
|
||||
|
||||
To use Awesome Cordova Plugins in any other setup:
|
||||
|
||||
1. Download the latest bundle from the [Github releases](https://github.com/danielsogl/awesome-cordova-plugins/releases) page.
|
||||
2. Include it in `index.html` before your app's code.
|
||||
3. Access any plugin using the global `IonicNative` variable.
|
||||
|
||||
```js
|
||||
document.addEventListener('deviceready', function () {
|
||||
IonicNative.Camera.getPicture().then(
|
||||
function (data) {
|
||||
console.log('Took a picture!', data);
|
||||
},
|
||||
function (err) {
|
||||
console.log('Error occurred while taking a picture', err);
|
||||
}
|
||||
);
|
||||
});
|
||||
```
|
||||
|
||||
### Mocking and Browser Development (Ionic/Angular apps only)
|
||||
|
||||
Awesome Cordova Plugins makes it possible to mock plugins and develop nearly the entirety of your app in the browser or in `ionic serve`.
|
||||
|
||||
To do this, you need to provide a mock implementation of the plugins you wish to use. Here's an example of mocking the `Camera` plugin to return a stock image while in development:
|
||||
|
||||
First import the `Camera` class in your `src/app/app.module.ts` file:
|
||||
|
||||
```typescript
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
```
|
||||
|
||||
Then create a new class that extends the `Camera` class with a mock implementation:
|
||||
|
||||
```typescript
|
||||
class CameraMock extends Camera {
|
||||
getPicture(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve('BASE_64_ENCODED_DATA_GOES_HERE');
|
||||
});
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Finally, override the previous `Camera` class in your `providers` for this module:
|
||||
|
||||
```typescript
|
||||
providers: [{ provide: Camera, useClass: CameraMock }];
|
||||
```
|
||||
|
||||
Here's the full example:
|
||||
|
||||
```typescript
|
||||
import { ErrorHandler, NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
||||
import { MyApp } from './app.component';
|
||||
import { HomePage } from '../pages/home/home';
|
||||
|
||||
import { Camera } from '@awesome-cordova-plugins/camera/ngx';
|
||||
|
||||
import { HomePage } from '../pages/home/home';
|
||||
import { MyApp } from './app.component';
|
||||
|
||||
class CameraMock extends Camera {
|
||||
getPicture(options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
resolve('BASE_64_ENCODED_DATA_GOES_HERE');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
declarations: [MyApp, HomePage],
|
||||
imports: [BrowserModule, IonicModule.forRoot(MyApp)],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [MyApp, HomePage],
|
||||
providers: [
|
||||
{ provide: ErrorHandler, useClass: IonicErrorHandler },
|
||||
{ provide: Camera, useClass: CameraMock },
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
```
|
||||
|
||||
### Runtime Diagnostics
|
||||
|
||||
Spent way too long diagnosing an issue only to realize a plugin wasn't firing or installed? Awesome Cordova Plugins lets you know what the issue is and how you can resolve it.
|
||||
|
||||

|
||||
|
||||
## Plugin Missing?
|
||||
|
||||
Let us know or submit a PR! Take a look at [the Developer Guide](https://github.com/danielsogl/awesome-cordova-plugins/blob/master/DEVELOPER.md) for more on how to contribute. :heart:
|
||||
|
||||
# Credits
|
||||
|
||||
Ibby Hadeed - [@ihadeed](https://github.com/ihadeed)
|
||||
|
||||
Daniel Sogl - [@sogldaniel](https://twitter.com/sogldaniel)
|
||||
|
||||
Tim Lancina - [@timlancina](https://twitter.com/timlancina)
|
||||
|
||||
Mike Hartington - [@mhartington](https://twitter.com/mhartington)
|
||||
|
||||
Max Lynch - [@maxlynch](https://twitter.com/maxlynch)
|
||||
|
||||
Rob Wormald - [@robwormald](https://twitter.com/robwormald)
|
||||
@@ -14,6 +14,4 @@ This plugin does something
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# CustomUiSdk
|
||||
|
||||
```
|
||||
$
|
||||
$ npm install @awesome-cordova-plugins/custom-ui-sdk
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/custom-ui-sdk/)
|
||||
|
||||
This plugin is used to access Paytmpayments native CustomUiSdk framework's apis.
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android, iOS
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# CustomUISDK
|
||||
|
||||
```
|
||||
$ ''
|
||||
$
|
||||
$ npm install @awesome-cordova-plugins/custom-uisdk
|
||||
```
|
||||
|
||||
@@ -14,6 +14,4 @@ This plugin is used to access Paytm's native CustomUISDK framework's apis.
|
||||
## Supported platforms
|
||||
|
||||
- Android, iOS
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -18,8 +18,6 @@ You must add `universal-links` to your `config.xml` and set up Apple App Site As
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
|
||||
|
||||
- Browser
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,6 +14,4 @@ Gets the Google accounts associated with the Android device
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,14 +14,12 @@ Requires Cordova plugin: `cordova-plugin-device-motion`. For more info, please s
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- Firefox OS
|
||||
- iOS
|
||||
- Tizen
|
||||
- Ubuntu
|
||||
- Windows
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- Firefox OS
|
||||
- iOS
|
||||
- Tizen
|
||||
- Ubuntu
|
||||
- Windows
|
||||
- Windows Phone 8
|
||||
|
||||
|
||||
@@ -14,15 +14,13 @@ Requires Cordova plugin: `cordova-plugin-device-orientation`. For more info, ple
|
||||
## Supported platforms
|
||||
|
||||
- Amazon Fire OS
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- Firefox OS
|
||||
- iOS
|
||||
- Tizen
|
||||
- Ubuntu
|
||||
- Windows
|
||||
- Windows Phone
|
||||
|
||||
|
||||
- Android
|
||||
- BlackBerry 10
|
||||
- Browser
|
||||
- Firefox OS
|
||||
- iOS
|
||||
- Tizen
|
||||
- Ubuntu
|
||||
- Windows
|
||||
- Windows Phone
|
||||
|
||||
|
||||
@@ -14,10 +14,8 @@ Access information about the underlying device and platform.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- macOS
|
||||
- Windows
|
||||
|
||||
|
||||
- Browser
|
||||
- iOS
|
||||
- macOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This plugin is a Wrapper to use Nordic Semiconductor's Device Firmware Update (D
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
@@ -14,8 +14,6 @@ Checks whether device hardware features are enabled or available to the app, e.g
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -16,10 +16,8 @@ Requires Cordova plugin: `cordova-plugin-dialogs`. For more info, please see the
|
||||
## Supported platforms
|
||||
|
||||
- Amazon Fire OS
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
|
||||
|
||||
@@ -14,6 +14,4 @@ A plugin for Apache Cordova that enables applications to manually resolve hostna
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -15,6 +15,4 @@ Allows the user to upload files from iCloud
|
||||
## Supported platforms
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,5 @@ This plugin processes images of documents, compensating for perspective.
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- iOS
|
||||
|
||||
|
||||
- iOS
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user