Compare commits

...

101 Commits

Author SHA1 Message Date
github-actions[bot]
93942e933b chore(master): release barkoder 6.17.0 2025-06-07 12:37:44 +00:00
Daniel Sogl
c86cfd1446 chore(release): update release-please configuration and set version to 6.16.0 2025-06-07 14:36:25 +02:00
Daniel Sogl
8876c53e3b fix(workflow): change default branch from 'main' to 'master' 2025-06-07 14:24:26 +02:00
Daniel Sogl
9e997d7685 chore(deps): update renovate configuration for improved dependency management 2025-06-07 14:23:37 +02:00
Daniel Sogl
94c5527aa4 chore(release): add release please configuration 2025-06-07 14:21:49 +02:00
renovate[bot]
723488f16f chore(deps): update dependency eslint-config-prettier to v10.1.5 (#4931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:26:40 +02:00
renovate[bot]
4cd9e93bd0 chore(deps): update dependency rollup to v4.41.0 (#4928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:20:26 +02:00
renovate[bot]
eee44de235 chore(deps): update actions/setup-node action to v4.4.0 (#4933)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:20:14 +02:00
renovate[bot]
6a9afedc64 chore(deps): update dependency eslint-plugin-jsdoc to v50.6.17 (#4934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:20:08 +02:00
renovate[bot]
510a407f37 chore(deps): update dependency lint-staged to v16 (#4937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 09:19:59 +02:00
Daniel Sogl
bf82a7b40c 6.16.0 2025-03-26 09:39:40 +00:00
Aleksandar Noveski
4739a9a01a feat(imap): implement email attachments support in IMAP plugin wrapper (#4927)
Co-authored-by: aleksandar.noveski <aleksandar.noveski@itgma.com>
2025-03-26 10:32:19 +01:00
renovate[bot]
e34c705c7a chore(deps): update dependency rollup to v4.37.0 (#4926)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 10:31:44 +01:00
renovate[bot]
722d19e437 chore(deps): update dependency eslint-plugin-jsdoc to v50.6.9 (#4925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 10:31:36 +01:00
renovate[bot]
adeda4e579 chore(deps): update dependency eslint-plugin-jsdoc to v50.6.6 (#4922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 08:58:59 +01:00
renovate[bot]
bce956c633 chore(deps): update dependency lint-staged to v15.5.0 (#4923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 08:58:49 +01:00
renovate[bot]
196222f482 chore(deps): update actions/setup-node action to v4.3.0 (#4924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 08:58:37 +01:00
Daniel Sogl
27ec7622ce 6.15.0 2025-03-10 17:47:15 +00:00
Anush-Shand
56a649be50 feat(clevertap): support clevertap-cordova 3.4.0 (#4917)
* feat(clevertap): add CleverTap plugin

* style(clevertap): cleanup stray lint error

* refactor

* feat(clevertap): update for latest CleverTap Cordova plugin

* chore: Update Repo from Ionic Native Repo

* fix: Code Changes for parity SDK-155

* fix: Indentation fixes for SDK-155

* fix: Code Repo fix while updating fork branch

* fix: Remove unnecessary adder .scripts Folder

* fix: Remove unwanted added folder .circleci

* fix: Remove unwanted added File .npmrc

* fix: Revert .Github Folder Changes to as per Ionic-Native master

* fix: Update changes as per ionic-native master

* fix: Code Repo fix while updating fork branch

fix: Remove unnecessary adder .scripts Folder

fix: Remove unwanted added folder .circleci

fix: Remove unwanted added File .npmrc

fix: Revert .Github Folder Changes to as per Ionic-Native master

fix: Update changes as per ionic-native master

* fix(CleverTap): Fix for missing methods issue #3491

* refactor(profile): remove setProfile methods for fb and google

* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code

* fix(product config): add key param to product config getters

* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications

* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids

* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken

* Update index.ts to support cordova 2.7.0

* Update index.ts

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* task(SDK-3757) - Add support for cordova v3.0.0

- Adds 2 new APIs = clearInAppResources() and fetchInApps()

* task(SDK-3757) - Add support for cordova v3.2.0

- Removes xiaomi related APIs

* task(SDK-4148) - Add support for cordova v3.3.0

- Custom Templates
- File Variables

* task(SDK-4386) - Add support for cordova v3.4.0

- Multi Triggers
- Deprecates older APIs

---------

Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com>
2025-03-10 18:21:16 +01:00
Alex Ryltsov
c8f827691e feat (launch-navigator): Add setApiKey method #4915 (#4916) 2025-03-10 18:21:00 +01:00
Maxim Belov
76ff28b08f feat(intercom): Add new methods (#4914) 2025-03-10 18:20:48 +01:00
Adrien Lombard
4411b182b0 fix(fingerprint-aio) : Added optional parameters to isAvailable() (#4912)
* Update fingerprint-aio/index.ts

Added two optional parameters to FingerprintAIO.isAvailable to reflect the optional parameters of isAvailable in cordova-plugin-fingerprint-aio

* Update index.ts

Added documentation to isAvailable()

* Update index.ts

Added documentation to plugin

* Added "callbackOrder : 'reverse'" to isAvailable()
2025-03-10 18:20:38 +01:00
Henry Zhang
562489a97e fix(facebook/fbsdk): add nonce parameter to loginWithLimitedTracking (#4906) 2025-03-10 18:20:26 +01:00
shpasser
0c05b33a1d Add requestConnectionPriority() to the ble plugin. (#4902) 2025-03-10 18:20:08 +01:00
Benoit Lavenier
7a4306acfc fix(audio-management): fix plugin name - closes #4898 (#4899) 2025-03-10 18:19:56 +01:00
renovate[bot]
b53dc7b373 chore(deps): update dependency rollup to v4.35.0 (#4913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 18:19:31 +01:00
renovate[bot]
caa3b505e1 chore(deps): update dependency eslint-config-prettier to v10.1.1 (#4919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 18:19:23 +01:00
renovate[bot]
5a96b49b3f chore(deps): update dependency terser-webpack-plugin to v5.3.14 (#4920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 18:19:16 +01:00
renovate[bot]
2ff77142db chore(deps): update dependency eslint-config-prettier to v10 (#4901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 16:58:22 +01:00
renovate[bot]
024e5bcb6b chore(deps): update dependency fs-extra to v11.3.0 (#4904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 16:58:13 +01:00
renovate[bot]
71be156e52 chore(deps): update dependency rollup to v4.32.0 (#4900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 12:29:16 +01:00
renovate[bot]
8e55c4e817 chore(deps): update dependency lint-staged to v15.4.3 (#4905)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 12:28:55 +01:00
renovate[bot]
e4edc9c241 chore(deps): update dependency eslint-plugin-jsdoc to v50.6.3 (#4907)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 12:28:46 +01:00
renovate[bot]
61b1a65580 chore(deps): update actions/setup-node action to v4.2.0 (#4911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 12:28:29 +01:00
Daniel Sogl
1f3448e3ef chore: adjust husky config [skip ci] 2025-01-06 16:08:58 +00:00
Daniel Sogl
d29e77065c 6.14.0 2025-01-06 16:05:25 +00:00
Benoit Lavenier
2a3b1b31ad feat(audio-management): add plugin (#4894) 2025-01-06 16:58:59 +01:00
Benoit Lavenier
54d5eea864 feat(downloader): add plugin (#4893) 2025-01-06 16:58:45 +01:00
wenki
4352da9cae support cordova-plugin-openinstall (#4892) 2025-01-06 16:58:24 +01:00
renovate[bot]
7df695cdb5 chore(deps): update dependency lint-staged to v15.3.0 (#4891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:58:05 +01:00
renovate[bot]
ef30aefe71 chore(deps): update dependency rollup to v4.30.0 (#4890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:57:51 +01:00
Daniel Sogl
499b107c21 6.13.0 2024-12-16 10:50:33 +00:00
Anush-Shand
21e3e37a0d feat(clevertap): support clevertap-cordova 3.3.0 (#4883)
* feat(clevertap): add CleverTap plugin

* style(clevertap): cleanup stray lint error

* refactor

* feat(clevertap): update for latest CleverTap Cordova plugin

* chore: Update Repo from Ionic Native Repo

* fix: Code Changes for parity SDK-155

* fix: Indentation fixes for SDK-155

* fix: Code Repo fix while updating fork branch

* fix: Remove unnecessary adder .scripts Folder

* fix: Remove unwanted added folder .circleci

* fix: Remove unwanted added File .npmrc

* fix: Revert .Github Folder Changes to as per Ionic-Native master

* fix: Update changes as per ionic-native master

* fix: Code Repo fix while updating fork branch

fix: Remove unnecessary adder .scripts Folder

fix: Remove unwanted added folder .circleci

fix: Remove unwanted added File .npmrc

fix: Revert .Github Folder Changes to as per Ionic-Native master

fix: Update changes as per ionic-native master

* fix(CleverTap): Fix for missing methods issue #3491

* refactor(profile): remove setProfile methods for fb and google

* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code

* fix(product config): add key param to product config getters

* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications

* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids

* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken

* Update index.ts to support cordova 2.7.0

* Update index.ts

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* task(SDK-3757) - Add support for cordova v3.0.0

- Adds 2 new APIs = clearInAppResources() and fetchInApps()

* task(SDK-3757) - Add support for cordova v3.2.0

- Removes xiaomi related APIs

* task(SDK-4148) - Add support for cordova v3.3.0

- Custom Templates
- File Variables

---------

Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com>
2024-12-16 10:49:19 +01:00
renovate[bot]
eca218a36f chore(deps): update dependency terser-webpack-plugin to v5.3.11 (#4889) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:55 +01:00
renovate[bot]
d38db02f92 chore(deps): update dependency eslint-plugin-jsdoc to v50.6.1 (#4888) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:45 +01:00
renovate[bot]
b6bc20cefe chore(deps): update dependency lint-staged to v15.2.11 (#4887) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:37 +01:00
renovate[bot]
0e12d1dc65 chore(deps): update dependency is-ci to v4 (#4885) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:30 +01:00
renovate[bot]
b5dc553659 chore(deps): update dependency rollup to v4.28.1 (#4884) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 10:48:21 +01:00
renovate[bot]
1337ff5c7e chore(deps): update dependency eslint-plugin-jsdoc to v50.6.0 (#4882) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 16:11:53 +01:00
renovate[bot]
14b04b5243 chore(deps): update dependency rollup to v4.28.0 (#4880) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 16:11:40 +01:00
Daniel Sogl
740268a75b 6.12.0 2024-11-21 19:23:01 +00:00
Maxim Belov
e85f761999 refactor(status-bar): remove deprecated methods (#4872) [skip ci] 2024-11-21 19:32:19 +01:00
renovate[bot]
acb6ba74fc chore(deps): update dependency rollup to v4.27.3 (#4877) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 19:32:01 +01:00
renovate[bot]
a5ac795ef4 chore(deps): update dependency husky to v9.1.7 (#4878) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 19:31:51 +01:00
renovate[bot]
e95aa9ea74 chore(deps): update dependency rollup to v4.26.0 (#4876) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 14:25:59 +01:00
renovate[bot]
74c9cd2a66 chore(deps): update dependency eslint-plugin-jsdoc to v50.5.0 (#4874) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 14:25:48 +01:00
gxolin
b20c67bf14 feat(in-app-purchase-3) new InAppPurchase3 plugin fixed (#4873)
* fix(in-app-purchase-3) typings and doc

* update return type for initialize
2024-11-14 14:25:32 +01:00
Daniel Sogl
d83b124cec 6.11.0 2024-11-11 09:14:05 +00:00
Maxim Belov
381f012402 chore: update node-version from 16 to 20 (#4845) 2024-11-11 10:10:28 +01:00
Fabio Martino
658a55bc97 feat(cordova-plugin-iroot): add plugin (#4857) 2024-11-11 10:09:00 +01:00
Fabio Martino
ac767ab219 fix(cordova-plugin-firebase-model): updated to @awesome-cordova-plugins/core (#4858) 2024-11-11 10:08:30 +01:00
renovate[bot]
4b526e4d4d fix(deps): update dependency tslib to v2.8.1 (#4856) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:07:48 +01:00
renovate[bot]
da7b13fbcf chore(deps): update dependency winston to v3.17.0 (#4853) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:07:38 +01:00
renovate[bot]
890b8b855c chore(deps): update dependency eslint-plugin-jsdoc to v50.4.3 (#4855) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:07:29 +01:00
renovate[bot]
9744564c8a chore(deps): update actions/checkout action to v4.2.2 (#4865) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:07:14 +01:00
renovate[bot]
a99ef76251 chore(deps): update actions/setup-node action to v4.1.0 (#4866) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:06:16 +01:00
renovate[bot]
a97314afd5 chore(deps): update dependency rollup to v4.25.0 (#4867) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:06:07 +01:00
Daniel Sogl
652431206c Revert "feat(in-app-purchase-3) new InAppPurchase3 plugin (#4849)" (#4871)
This reverts commit be6000f13c.
2024-11-11 10:02:23 +01:00
Daniel Sogl
68abedd15a 6.10.0 2024-10-13 14:55:34 +00:00
renovate[bot]
910af256af chore(deps): update dependency rollup to v4.24.0 (#4851) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 16:46:31 +02:00
renovate[bot]
3434bd5dce chore(deps): update dependency eslint-plugin-jsdoc to v50.3.2 (#4850) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 16:46:24 +02:00
gxolin
be6000f13c feat(in-app-purchase-3) new InAppPurchase3 plugin (#4849)
* feat(in-app-purchase-3) new InAppPurchase3 plugin

* fix(in-app-purchase-3) fix typing and es-lint
2024-10-13 16:46:14 +02:00
Maxim Belov
e830259beb feat(bluetooth-classic-serial-port): add method initialize (#4847)
* feat(bluetooth-classic-serial-port): add method initialize

* Update index.ts
2024-10-13 16:45:52 +02:00
Maxim Belov
4e817a96a8 fix(screenshot): Update plugin NPM package name (#4844) 2024-10-13 16:45:37 +02:00
Maxim Belov
61d0854f73 feat(intercom): add support cordova-intercom v14+ (#4839)
* feat(intercom): update wrapper for Cordova Intercom v14+

* update types

* intercom: update types

* intercom: update types

* fix readme generator
2024-10-13 16:45:24 +02:00
Maxim Belov
3a64cd4bcd fix(in-app-browser): remove duplicated method (#4838) 2024-10-13 16:45:14 +02:00
Maxim Belov
c40a73407d feat(sockets-udp): add plugin (#4832) 2024-10-13 16:45:01 +02:00
Maxim Belov
bb5b344100 feat(sockets-tcp): add plugin (#4833) 2024-10-13 16:44:49 +02:00
Maxim Belov
f87a73f29d feat(shortcuts-android): add plugin (#4831) 2024-10-13 16:44:30 +02:00
Maxim Belov
bff5cce125 feat(network-permission): add plugin (#4830) 2024-10-13 16:44:20 +02:00
Maxim Belov
8fc3465ed5 refactor(three-dee-touch): Replace onHomeIconPressed with registerQuickActionListener (#4829)
* refactor(three-dee-touch): Replace onHomeIconPressed with registerQuickActionListener

* fix: install option

* remove install
2024-10-13 16:44:04 +02:00
Uglješa Erceg
50287d1f5a feat(adjust): update adjust sdk index.ts api to v5.0.0 (#4826) 2024-10-13 16:43:48 +02:00
renovate[bot]
45fdf7fb3d chore(deps): update actions/checkout action to v4.2.1 (#4843) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 16:43:11 +02:00
renovate[bot]
7b24fa8478 chore(deps): update dependency rollup to v4.22.4 [security] (#4841) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 16:42:58 +02:00
dependabot[bot]
12d6baed90 build(deps-dev): bump rollup from 4.22.0 to 4.22.4 (#4840) [skip ci]
Bumps [rollup](https://github.com/rollup/rollup) from 4.22.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.22.0...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-13 16:42:47 +02:00
renovate[bot]
4c2af62bfa chore(deps): update actions/setup-node action to v4.0.4 (#4835) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-13 16:42:35 +02:00
renovate[bot]
f53aea0a47 chore(deps): update dependency eslint-plugin-jsdoc to v50.2.4 (#4825) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 11:23:40 +02:00
renovate[bot]
621c5842b9 chore(deps): update dependency eslint to v8.57.1 (#4828) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 11:23:30 +02:00
renovate[bot]
04550843e5 chore(deps): update dependency rollup to v4.22.0 (#4834) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 11:23:15 +02:00
Daniel Sogl
6c480237cf 6.9.0 2024-09-13 06:55:24 +00:00
renovate[bot]
f86836ab13 chore(deps): update dependency eslint-plugin-jsdoc to v50 (#4824) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 15:55:40 +02:00
renovate[bot]
1c21dd1a77 fix(deps): update dependency tslib to v2.7.0 (#4823) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:22:18 +02:00
renovate[bot]
657b31f67b chore(deps): update dependency winston to v3.14.2 (#4822) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:21:29 +02:00
akshay-engage
3168688ce4 feat(webengage): New Plugin for Notification Inbox (#4819)
* WebEngage SDK Security Added, New Plugin for Capacitor Inbox Added

* Added setLocation for Core

* Added NotificationResponse Type

* Changed count type from number to String

* Added dist library folders

* Revert "Added dist library folders"

This reverts commit ea77a41fea.

* Updated comments
2024-09-12 12:21:11 +02:00
ivo liondov
5f15119971 feat(approov-advanced-http): support approov3 methods (#4817)
* feat(approov-advanced-http): add approov3 methods

* fix(approov-advanced-http): fix remove exclusion url method name

* Keep master branch packages

---------

Co-authored-by: Richard Taylor <richard.taylor@criticalblue.com>
Co-authored-by: ivo.liondov <ivol@Sanctuary.local>
2024-09-12 12:20:45 +02:00
Anush-Shand
4471806f73 feat(clevertap): support clevertap-cordova 3.2.0 (#4814)
* feat(clevertap): add CleverTap plugin

* style(clevertap): cleanup stray lint error

* refactor

* feat(clevertap): update for latest CleverTap Cordova plugin

* chore: Update Repo from Ionic Native Repo

* fix: Code Changes for parity SDK-155

* fix: Indentation fixes for SDK-155

* fix: Code Repo fix while updating fork branch

* fix: Remove unnecessary adder .scripts Folder

* fix: Remove unwanted added folder .circleci

* fix: Remove unwanted added File .npmrc

* fix: Revert .Github Folder Changes to as per Ionic-Native master

* fix: Update changes as per ionic-native master

* fix: Code Repo fix while updating fork branch

fix: Remove unnecessary adder .scripts Folder

fix: Remove unwanted added folder .circleci

fix: Remove unwanted added File .npmrc

fix: Revert .Github Folder Changes to as per Ionic-Native master

fix: Update changes as per ionic-native master

* fix(CleverTap): Fix for missing methods issue #3491

* refactor(profile): remove setProfile methods for fb and google

* refactor(dynamic variables): remove Product A/B Testing (Dynamic Variables) code

* fix(product config): add key param to product config getters

* feat(identity): add a new public method getCleverTapID and deprecate existing CleverTapID methods

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(profile): add public methods to increment/decrement values set via User properties

* feat(inapp): add public methods for suspending/discarding & resuming InApp Notifications

* feat(inbox): add new api for iOS to delete bulk inbox messages for given message ids

* refactor(xiaomi-push): add region as an extra mandatory parameter to setPushXiaomiToken

* Update index.ts to support cordova 2.7.0

* Update index.ts

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* feat(clevertap): support clevertap-cordova 2.7.2

* task(SDK-3757) - Add support for cordova v3.0.0

- Adds 2 new APIs = clearInAppResources() and fetchInApps()

* task(SDK-3757) - Add support for cordova v3.2.0

- Removes xiaomi related APIs

---------

Co-authored-by: Peter Wilkniss <peter@clevertap.com>
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
Co-authored-by: Darshan Pania <darshan@clevertap.com>
Co-authored-by: Surya <suryanarayan@clevertap.com>
Co-authored-by: SuryaClevertap <63039490+SuryaClevertap@users.noreply.github.com>
Co-authored-by: Piyush Kukadiya <piyush.kukadiya@clevertap.com>
Co-authored-by: piyush-kukadiya <61137760+piyush-kukadiya@users.noreply.github.com>
Co-authored-by: AishwaryaNanna <97506871+AishwaryaNanna@users.noreply.github.com>
2024-09-12 12:20:19 +02:00
Olga Koroleva
63f2fcbe99 feat(mobile-messaging): Added fullFeaturedInApps method to config, fetching of the Inbox methods and registerForRemoteAndroidNotifications method (#4810)
* feat(mobile-messaging): fullfeaturedInApps option to configuration, support of the Inbox methods and registerForAndroidRemoteNotifications method

* fix(mobile-messaging): cleanup
2024-09-12 12:19:52 +02:00
renovate[bot]
5aa432d0a2 chore(deps): update dependency lint-staged to v15.2.10 (#4813) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:19:32 +02:00
renovate[bot]
9569628c67 chore(deps): update dependency rollup to v4.21.3 (#4809) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:19:24 +02:00
renovate[bot]
d03b4cc113 chore(deps): update dependency eslint-plugin-jsdoc to v48.11.0 (#4808) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:19:15 +02:00
renovate[bot]
82be769a16 chore(deps): update dependency husky to v9.1.6 (#4806) [skip ci]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:19:07 +02:00
44 changed files with 6202 additions and 2884 deletions

View File

@@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4.0.3
uses: actions/setup-node@v4.4.0
with:
node-version: ${{ matrix.node-version }}

View File

@@ -1,35 +0,0 @@
name: Release Packages
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Readmes
run: npm run readmes
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run shipit
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

75
.github/workflows/release-please.yml vendored Normal file
View File

@@ -0,0 +1,75 @@
name: Release Please
on:
push:
branches:
- master
# Manual trigger as backup
workflow_dispatch:
permissions:
contents: write
pull-requests: write
issues: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
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
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 }}"
publish:
runs-on: ubuntu-latest
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

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install lint-staged

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm test

View File

@@ -0,0 +1,260 @@
{
".": "6.16.0",
"src/@awesome-cordova-plugins/core": "6.16.0",
"src/@awesome-cordova-plugins/plugins/abbyy-rtr": "6.16.0",
"src/@awesome-cordova-plugins/plugins/action-sheet": "6.16.0",
"src/@awesome-cordova-plugins/plugins/adjust": "6.16.0",
"src/@awesome-cordova-plugins/plugins/admob": "6.16.0",
"src/@awesome-cordova-plugins/plugins/admob-plus": "6.16.0",
"src/@awesome-cordova-plugins/plugins/admob-pro": "6.16.0",
"src/@awesome-cordova-plugins/plugins/advanced-image-picker": "6.16.0",
"src/@awesome-cordova-plugins/plugins/aes-256": "6.16.0",
"src/@awesome-cordova-plugins/plugins/airship": "6.16.0",
"src/@awesome-cordova-plugins/plugins/all-in-one-sdk": "6.16.0",
"src/@awesome-cordova-plugins/plugins/analytics-firebase": "6.16.0",
"src/@awesome-cordova-plugins/plugins/android-exoplayer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/android-full-screen": "6.16.0",
"src/@awesome-cordova-plugins/plugins/android-notch": "6.16.0",
"src/@awesome-cordova-plugins/plugins/android-permissions": "6.16.0",
"src/@awesome-cordova-plugins/plugins/anyline": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-availability": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-center-analytics": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-center-crashes": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-center-low-memory": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-center-push": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-center-shared": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-preferences": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-rate": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-review": "6.16.0",
"src/@awesome-cordova-plugins/plugins/app-version": "6.16.0",
"src/@awesome-cordova-plugins/plugins/apple-wallet": "6.16.0",
"src/@awesome-cordova-plugins/plugins/applovin": "6.16.0",
"src/@awesome-cordova-plugins/plugins/approov-advanced-http": "6.16.0",
"src/@awesome-cordova-plugins/plugins/appsflyer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/audio-management": "6.16.0",
"src/@awesome-cordova-plugins/plugins/background-fetch": "6.16.0",
"src/@awesome-cordova-plugins/plugins/background-geolocation": "6.16.0",
"src/@awesome-cordova-plugins/plugins/background-mode": "6.16.0",
"src/@awesome-cordova-plugins/plugins/background-upload": "6.16.0",
"src/@awesome-cordova-plugins/plugins/badge": "6.16.0",
"src/@awesome-cordova-plugins/plugins/barcode-scanner": "6.16.0",
"src/@awesome-cordova-plugins/plugins/barkoder": "6.17.0",
"src/@awesome-cordova-plugins/plugins/battery-status": "6.16.0",
"src/@awesome-cordova-plugins/plugins/biocatch": "6.16.0",
"src/@awesome-cordova-plugins/plugins/biometric-wrapper": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ble": "6.16.0",
"src/@awesome-cordova-plugins/plugins/blinkid": "6.16.0",
"src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port": "6.16.0",
"src/@awesome-cordova-plugins/plugins/bluetooth-le": "6.16.0",
"src/@awesome-cordova-plugins/plugins/bluetooth-serial": "6.16.0",
"src/@awesome-cordova-plugins/plugins/branch-io": "6.16.0",
"src/@awesome-cordova-plugins/plugins/brightness": "6.16.0",
"src/@awesome-cordova-plugins/plugins/broadcaster": "6.16.0",
"src/@awesome-cordova-plugins/plugins/browser-tab": "6.16.0",
"src/@awesome-cordova-plugins/plugins/build-info": "6.16.0",
"src/@awesome-cordova-plugins/plugins/calendar": "6.16.0",
"src/@awesome-cordova-plugins/plugins/call-directory": "6.16.0",
"src/@awesome-cordova-plugins/plugins/call-number": "6.16.0",
"src/@awesome-cordova-plugins/plugins/camera": "6.16.0",
"src/@awesome-cordova-plugins/plugins/camera-preview": "6.16.0",
"src/@awesome-cordova-plugins/plugins/cashfree-pg": "6.16.0",
"src/@awesome-cordova-plugins/plugins/checkout": "6.16.0",
"src/@awesome-cordova-plugins/plugins/chooser": "6.16.0",
"src/@awesome-cordova-plugins/plugins/chooser-simple-file": "6.16.0",
"src/@awesome-cordova-plugins/plugins/clevertap": "6.16.0",
"src/@awesome-cordova-plugins/plugins/clipboard": "6.16.0",
"src/@awesome-cordova-plugins/plugins/cloud-settings": "6.16.0",
"src/@awesome-cordova-plugins/plugins/code-push": "6.16.0",
"src/@awesome-cordova-plugins/plugins/contacts": "6.16.0",
"src/@awesome-cordova-plugins/plugins/crop-plugin-privacy": "6.16.0",
"src/@awesome-cordova-plugins/plugins/custom-uisdk": "6.16.0",
"src/@awesome-cordova-plugins/plugins/deeplinks": "6.16.0",
"src/@awesome-cordova-plugins/plugins/device": "6.16.0",
"src/@awesome-cordova-plugins/plugins/device-accounts": "6.16.0",
"src/@awesome-cordova-plugins/plugins/device-motion": "6.16.0",
"src/@awesome-cordova-plugins/plugins/device-orientation": "6.16.0",
"src/@awesome-cordova-plugins/plugins/dfu-update": "6.16.0",
"src/@awesome-cordova-plugins/plugins/diagnostic": "6.16.0",
"src/@awesome-cordova-plugins/plugins/dialogs": "6.16.0",
"src/@awesome-cordova-plugins/plugins/dns": "6.16.0",
"src/@awesome-cordova-plugins/plugins/document-picker": "6.16.0",
"src/@awesome-cordova-plugins/plugins/document-scanner": "6.16.0",
"src/@awesome-cordova-plugins/plugins/document-viewer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/downloader": "6.16.0",
"src/@awesome-cordova-plugins/plugins/dynamsoft-barcode-scanner": "6.16.0",
"src/@awesome-cordova-plugins/plugins/email-composer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/fabric": "6.16.0",
"src/@awesome-cordova-plugins/plugins/facebook": "6.16.0",
"src/@awesome-cordova-plugins/plugins/fbsdk": "6.16.0",
"src/@awesome-cordova-plugins/plugins/fcm": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ffmpeg": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file-chooser": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file-md5": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file-opener": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file-path": "6.16.0",
"src/@awesome-cordova-plugins/plugins/file-transfer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/fingerprint-aio": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-analytics": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-authentication": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-config": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-crash": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-crashlytics": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-dynamic-links": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-messaging": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-model": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-vision": "6.16.0",
"src/@awesome-cordova-plugins/plugins/firebase-x": "6.16.0",
"src/@awesome-cordova-plugins/plugins/flashlight": "6.16.0",
"src/@awesome-cordova-plugins/plugins/foreground-service": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ftp": "6.16.0",
"src/@awesome-cordova-plugins/plugins/gao-de-location": "6.16.0",
"src/@awesome-cordova-plugins/plugins/gcdwebserver": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin": "6.16.0",
"src/@awesome-cordova-plugins/plugins/genius-scan": "6.16.0",
"src/@awesome-cordova-plugins/plugins/geolocation": "6.16.0",
"src/@awesome-cordova-plugins/plugins/globalization": "6.16.0",
"src/@awesome-cordova-plugins/plugins/google-analytics": "6.16.0",
"src/@awesome-cordova-plugins/plugins/google-nearby": "6.16.0",
"src/@awesome-cordova-plugins/plugins/google-plus": "6.16.0",
"src/@awesome-cordova-plugins/plugins/header-color": "6.16.0",
"src/@awesome-cordova-plugins/plugins/health": "6.16.0",
"src/@awesome-cordova-plugins/plugins/health-kit": "6.16.0",
"src/@awesome-cordova-plugins/plugins/http": "6.16.0",
"src/@awesome-cordova-plugins/plugins/hyper-track": "6.16.0",
"src/@awesome-cordova-plugins/plugins/i-root": "6.16.0",
"src/@awesome-cordova-plugins/plugins/iamport-cordova": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ibeacon": "6.16.0",
"src/@awesome-cordova-plugins/plugins/image-picker": "6.16.0",
"src/@awesome-cordova-plugins/plugins/image-resizer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/imap": "6.16.0",
"src/@awesome-cordova-plugins/plugins/in-app-browser": "6.16.0",
"src/@awesome-cordova-plugins/plugins/in-app-purchase-2": "6.16.0",
"src/@awesome-cordova-plugins/plugins/in-app-purchase-3": "6.16.0",
"src/@awesome-cordova-plugins/plugins/in-app-review": "6.16.0",
"src/@awesome-cordova-plugins/plugins/in-app-update": "6.16.0",
"src/@awesome-cordova-plugins/plugins/insomnia": "6.16.0",
"src/@awesome-cordova-plugins/plugins/instagram": "6.16.0",
"src/@awesome-cordova-plugins/plugins/intercom": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ionic-webview": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api": "6.16.0",
"src/@awesome-cordova-plugins/plugins/is-debug": "6.16.0",
"src/@awesome-cordova-plugins/plugins/keyboard": "6.16.0",
"src/@awesome-cordova-plugins/plugins/keychain": "6.16.0",
"src/@awesome-cordova-plugins/plugins/kommunicate": "6.16.0",
"src/@awesome-cordova-plugins/plugins/launch-navigator": "6.16.0",
"src/@awesome-cordova-plugins/plugins/launch-review": "6.16.0",
"src/@awesome-cordova-plugins/plugins/lets-cooee": "6.16.0",
"src/@awesome-cordova-plugins/plugins/line-login": "6.16.0",
"src/@awesome-cordova-plugins/plugins/local-backup": "6.16.0",
"src/@awesome-cordova-plugins/plugins/local-notifications": "6.16.0",
"src/@awesome-cordova-plugins/plugins/location-accuracy": "6.16.0",
"src/@awesome-cordova-plugins/plugins/lottie-splash-screen": "6.16.0",
"src/@awesome-cordova-plugins/plugins/magnetometer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/market": "6.16.0",
"src/@awesome-cordova-plugins/plugins/media": "6.16.0",
"src/@awesome-cordova-plugins/plugins/media-capture": "6.16.0",
"src/@awesome-cordova-plugins/plugins/metrix": "6.16.0",
"src/@awesome-cordova-plugins/plugins/mixpanel": "6.16.0",
"src/@awesome-cordova-plugins/plugins/mlkit-translate": "6.16.0",
"src/@awesome-cordova-plugins/plugins/mobile-accessibility": "6.16.0",
"src/@awesome-cordova-plugins/plugins/mobile-messaging": "6.16.0",
"src/@awesome-cordova-plugins/plugins/multiple-document-picker": "6.16.0",
"src/@awesome-cordova-plugins/plugins/music-controls": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-audio": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-geocoder": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-keyboard": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-page-transitions": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-storage": "6.16.0",
"src/@awesome-cordova-plugins/plugins/native-view": "6.16.0",
"src/@awesome-cordova-plugins/plugins/network": "6.16.0",
"src/@awesome-cordova-plugins/plugins/network-interface": "6.16.0",
"src/@awesome-cordova-plugins/plugins/network-permission": "6.16.0",
"src/@awesome-cordova-plugins/plugins/newrelic": "6.16.0",
"src/@awesome-cordova-plugins/plugins/nfc": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ocr": "6.16.0",
"src/@awesome-cordova-plugins/plugins/onesignal": "6.16.0",
"src/@awesome-cordova-plugins/plugins/open-native-settings": "6.16.0",
"src/@awesome-cordova-plugins/plugins/openalpr": "6.16.0",
"src/@awesome-cordova-plugins/plugins/openinstall": "6.16.0",
"src/@awesome-cordova-plugins/plugins/paytabs": "6.16.0",
"src/@awesome-cordova-plugins/plugins/pdf-generator": "6.16.0",
"src/@awesome-cordova-plugins/plugins/photo-library": "6.16.0",
"src/@awesome-cordova-plugins/plugins/photo-viewer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/play-install-referrer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/pollfish": "6.16.0",
"src/@awesome-cordova-plugins/plugins/power-management": "6.16.0",
"src/@awesome-cordova-plugins/plugins/power-optimization": "6.16.0",
"src/@awesome-cordova-plugins/plugins/preview-any-file": "6.16.0",
"src/@awesome-cordova-plugins/plugins/printer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/pspdfkit-cordova": "6.16.0",
"src/@awesome-cordova-plugins/plugins/purchases": "6.16.0",
"src/@awesome-cordova-plugins/plugins/push": "6.16.0",
"src/@awesome-cordova-plugins/plugins/pushape-push": "6.16.0",
"src/@awesome-cordova-plugins/plugins/safari-view-controller": "6.16.0",
"src/@awesome-cordova-plugins/plugins/save-dialog": "6.16.0",
"src/@awesome-cordova-plugins/plugins/screen-orientation": "6.16.0",
"src/@awesome-cordova-plugins/plugins/screenshot": "6.16.0",
"src/@awesome-cordova-plugins/plugins/secure-storage": "6.16.0",
"src/@awesome-cordova-plugins/plugins/secure-storage-echo": "6.16.0",
"src/@awesome-cordova-plugins/plugins/service-discovery": "6.16.0",
"src/@awesome-cordova-plugins/plugins/shake": "6.16.0",
"src/@awesome-cordova-plugins/plugins/shortcuts-android": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sign-in-with-apple": "6.16.0",
"src/@awesome-cordova-plugins/plugins/smartlook": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sms": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sms-retriever": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sms-retriever-api": "6.16.0",
"src/@awesome-cordova-plugins/plugins/smtp-client": "6.16.0",
"src/@awesome-cordova-plugins/plugins/social-sharing": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sockets-tcp": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sockets-udp": "6.16.0",
"src/@awesome-cordova-plugins/plugins/speech-recognition": "6.16.0",
"src/@awesome-cordova-plugins/plugins/spinner-dialog": "6.16.0",
"src/@awesome-cordova-plugins/plugins/splash-screen": "6.16.0",
"src/@awesome-cordova-plugins/plugins/spotify-auth": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sqlite": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sqlite-db-copy": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sqlite-porter": "6.16.0",
"src/@awesome-cordova-plugins/plugins/ssl-certificate-checker": "6.16.0",
"src/@awesome-cordova-plugins/plugins/star-prnt": "6.16.0",
"src/@awesome-cordova-plugins/plugins/status-bar": "6.16.0",
"src/@awesome-cordova-plugins/plugins/streaming-media": "6.16.0",
"src/@awesome-cordova-plugins/plugins/stripe": "6.16.0",
"src/@awesome-cordova-plugins/plugins/sum-up": "6.16.0",
"src/@awesome-cordova-plugins/plugins/system-alert-window-permission": "6.16.0",
"src/@awesome-cordova-plugins/plugins/taptic-engine": "6.16.0",
"src/@awesome-cordova-plugins/plugins/tealium": "6.16.0",
"src/@awesome-cordova-plugins/plugins/tealium-adidentifier": "6.16.0",
"src/@awesome-cordova-plugins/plugins/tealium-installreferrer": "6.16.0",
"src/@awesome-cordova-plugins/plugins/text-to-speech-advanced": "6.16.0",
"src/@awesome-cordova-plugins/plugins/theme-detection": "6.16.0",
"src/@awesome-cordova-plugins/plugins/three-dee-touch": "6.16.0",
"src/@awesome-cordova-plugins/plugins/toast": "6.16.0",
"src/@awesome-cordova-plugins/plugins/touch-id": "6.16.0",
"src/@awesome-cordova-plugins/plugins/unique-device-id": "6.16.0",
"src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk": "6.16.0",
"src/@awesome-cordova-plugins/plugins/uptime": "6.16.0",
"src/@awesome-cordova-plugins/plugins/urbanairship": "6.16.0",
"src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk": "6.16.0",
"src/@awesome-cordova-plugins/plugins/vibes": "6.16.0",
"src/@awesome-cordova-plugins/plugins/vibration": "6.16.0",
"src/@awesome-cordova-plugins/plugins/video-editor": "6.16.0",
"src/@awesome-cordova-plugins/plugins/video-player": "6.16.0",
"src/@awesome-cordova-plugins/plugins/we-cap-inbox": "6.16.0",
"src/@awesome-cordova-plugins/plugins/web-intent": "6.16.0",
"src/@awesome-cordova-plugins/plugins/web-server": "6.16.0",
"src/@awesome-cordova-plugins/plugins/web-socket-server": "6.16.0",
"src/@awesome-cordova-plugins/plugins/webengage": "6.16.0",
"src/@awesome-cordova-plugins/plugins/webim": "6.16.0",
"src/@awesome-cordova-plugins/plugins/wechat": "6.16.0",
"src/@awesome-cordova-plugins/plugins/wheel-selector": "6.16.0",
"src/@awesome-cordova-plugins/plugins/wifi-wizard-2": "6.16.0",
"src/@awesome-cordova-plugins/plugins/wonderpush": "6.16.0",
"src/@awesome-cordova-plugins/plugins/youtube-video-player": "6.16.0",
"src/@awesome-cordova-plugins/plugins/zbar": "6.16.0",
"src/@awesome-cordova-plugins/plugins/zeroconf": "6.16.0",
"src/@awesome-cordova-plugins/plugins/zip": "6.16.0",
"src/@awesome-cordova-plugins/plugins/zoom": "6.16.0"
}

View File

@@ -1,3 +1,109 @@
# [6.16.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.15.0...v6.16.0) (2025-03-26)
### Features
* **imap:** implement email attachments support in IMAP plugin wrapper ([#4927](https://github.com/danielsogl/awesome-cordova-plugins/issues/4927)) ([4739a9a](https://github.com/danielsogl/awesome-cordova-plugins/commit/4739a9a01a5c731005ef152f1e1b672e9cd46b22))
# [6.15.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.14.0...v6.15.0) (2025-03-10)
### Bug Fixes
* **audio-management:** fix plugin name - closes [#4898](https://github.com/danielsogl/awesome-cordova-plugins/issues/4898) ([#4899](https://github.com/danielsogl/awesome-cordova-plugins/issues/4899)) ([7a4306a](https://github.com/danielsogl/awesome-cordova-plugins/commit/7a4306acfc8b161898d2ce6516404793609463dd))
* **facebook/fbsdk:** add nonce parameter to loginWithLimitedTracking ([#4906](https://github.com/danielsogl/awesome-cordova-plugins/issues/4906)) ([562489a](https://github.com/danielsogl/awesome-cordova-plugins/commit/562489a97ed1f9453978f305845c3f511b342789))
### Features
* **clevertap:** support clevertap-cordova 3.4.0 ([#4917](https://github.com/danielsogl/awesome-cordova-plugins/issues/4917)) ([56a649b](https://github.com/danielsogl/awesome-cordova-plugins/commit/56a649be5092081d6ab5019141b40a3a5d0a3ca1)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
* **intercom:** Add new methods ([#4914](https://github.com/danielsogl/awesome-cordova-plugins/issues/4914)) ([76ff28b](https://github.com/danielsogl/awesome-cordova-plugins/commit/76ff28b08f385728e4874a8c9e458b77e694678c))
# [6.14.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.13.0...v6.14.0) (2025-01-06)
### Features
* **audio-management:** add plugin ([#4894](https://github.com/danielsogl/awesome-cordova-plugins/issues/4894)) ([2a3b1b3](https://github.com/danielsogl/awesome-cordova-plugins/commit/2a3b1b31ad75609cbf79bd33cec7f351cbd1ae2a))
* **downloader:** add plugin ([#4893](https://github.com/danielsogl/awesome-cordova-plugins/issues/4893)) ([54d5eea](https://github.com/danielsogl/awesome-cordova-plugins/commit/54d5eea864be9afcb09daa75e07e5a782498a70f))
# [6.13.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.12.0...v6.13.0) (2024-12-16)
### Features
* **clevertap:** support clevertap-cordova 3.3.0 ([#4883](https://github.com/danielsogl/awesome-cordova-plugins/issues/4883)) ([21e3e37](https://github.com/danielsogl/awesome-cordova-plugins/commit/21e3e37a0df0b099e857ff5eb0330a1ee5b6fe12)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
# [6.12.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.11.0...v6.12.0) (2024-11-21)
# [6.11.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.10.0...v6.11.0) (2024-11-11)
### Bug Fixes
* **cordova-plugin-firebase-model:** updated to @awesome-cordova-plugins/core ([#4858](https://github.com/danielsogl/awesome-cordova-plugins/issues/4858)) ([ac767ab](https://github.com/danielsogl/awesome-cordova-plugins/commit/ac767ab2198ab55d3cfcc20fafab838301e6f051))
* **deps:** update dependency tslib to v2.8.1 ([#4856](https://github.com/danielsogl/awesome-cordova-plugins/issues/4856)) [skip ci] ([4b526e4](https://github.com/danielsogl/awesome-cordova-plugins/commit/4b526e4d4d96651baf126724909b034c7b25eac2))
### Features
* **cordova-plugin-iroot:** add plugin ([#4857](https://github.com/danielsogl/awesome-cordova-plugins/issues/4857)) ([658a55b](https://github.com/danielsogl/awesome-cordova-plugins/commit/658a55bc97dd4247ed8e8672ae08c23df2fdb185))
### Reverts
* Revert "feat(in-app-purchase-3) new InAppPurchase3 plugin (#4849)" (#4871) ([6524312](https://github.com/danielsogl/awesome-cordova-plugins/commit/652431206c51f5f66e88786d4bffa4ccca6331b3)), closes [#4849](https://github.com/danielsogl/awesome-cordova-plugins/issues/4849) [#4871](https://github.com/danielsogl/awesome-cordova-plugins/issues/4871)
# [6.10.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.9.0...v6.10.0) (2024-10-13)
### Bug Fixes
* **in-app-browser:** remove duplicated method ([#4838](https://github.com/danielsogl/awesome-cordova-plugins/issues/4838)) ([3a64cd4](https://github.com/danielsogl/awesome-cordova-plugins/commit/3a64cd4bcdf18b9a776ab90b45faf59c9a3ca10c))
* **screenshot:** Update plugin NPM package name ([#4844](https://github.com/danielsogl/awesome-cordova-plugins/issues/4844)) ([4e817a9](https://github.com/danielsogl/awesome-cordova-plugins/commit/4e817a96a876d9adb6ffdbe6163f7e19ec1670d2))
### Features
* **adjust:** update adjust sdk index.ts api to v5.0.0 ([#4826](https://github.com/danielsogl/awesome-cordova-plugins/issues/4826)) ([50287d1](https://github.com/danielsogl/awesome-cordova-plugins/commit/50287d1f5a94b8e311f541040f3034568646b3b3))
* **bluetooth-classic-serial-port:** add method initialize ([#4847](https://github.com/danielsogl/awesome-cordova-plugins/issues/4847)) ([e830259](https://github.com/danielsogl/awesome-cordova-plugins/commit/e830259bebdb20a5dfef9d8bde4dde7cb84cfae2))
* **intercom:** add support cordova-intercom v14+ ([#4839](https://github.com/danielsogl/awesome-cordova-plugins/issues/4839)) ([61d0854](https://github.com/danielsogl/awesome-cordova-plugins/commit/61d0854f73ec0c59cd528951b168cc7f3e88c8d0))
* **network-permission:** add plugin ([#4830](https://github.com/danielsogl/awesome-cordova-plugins/issues/4830)) ([bff5cce](https://github.com/danielsogl/awesome-cordova-plugins/commit/bff5cce12555292d678539ed4690ec6ac79b8481))
* **shortcuts-android:** add plugin ([#4831](https://github.com/danielsogl/awesome-cordova-plugins/issues/4831)) ([f87a73f](https://github.com/danielsogl/awesome-cordova-plugins/commit/f87a73f29d28dd0a0b3236540945bc97e4db5ddd))
* **sockets-tcp:** add plugin ([#4833](https://github.com/danielsogl/awesome-cordova-plugins/issues/4833)) ([bb5b344](https://github.com/danielsogl/awesome-cordova-plugins/commit/bb5b3441005f9b564390de75cec8313eea9db50a))
* **sockets-udp:** add plugin ([#4832](https://github.com/danielsogl/awesome-cordova-plugins/issues/4832)) ([c40a734](https://github.com/danielsogl/awesome-cordova-plugins/commit/c40a73407d7dde06e1e450c5c658220e275b643b))
# [6.9.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.8.0...v6.9.0) (2024-09-13)
### Bug Fixes
* **deps:** update dependency tslib to v2.7.0 ([#4823](https://github.com/danielsogl/awesome-cordova-plugins/issues/4823)) [skip ci] ([1c21dd1](https://github.com/danielsogl/awesome-cordova-plugins/commit/1c21dd1a7734e5cf82d9d64806d5b159d66f9d37))
### Features
* **approov-advanced-http:** support approov3 methods ([#4817](https://github.com/danielsogl/awesome-cordova-plugins/issues/4817)) ([5f15119](https://github.com/danielsogl/awesome-cordova-plugins/commit/5f1511997101c750e80adb85e2c6b0dfacaf5a31))
* **clevertap:** support clevertap-cordova 3.2.0 ([#4814](https://github.com/danielsogl/awesome-cordova-plugins/issues/4814)) ([4471806](https://github.com/danielsogl/awesome-cordova-plugins/commit/4471806f73ab286bbcab22d28ea2120cb4cc6a2b)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
* **mobile-messaging:** Added fullFeaturedInApps method to config, fetching of the Inbox methods and registerForRemoteAndroidNotifications method ([#4810](https://github.com/danielsogl/awesome-cordova-plugins/issues/4810)) ([63f2fcb](https://github.com/danielsogl/awesome-cordova-plugins/commit/63f2fcbe99b6be14a76a4a6c72ef19594d82905b))
* **webengage:** New Plugin for Notification Inbox ([#4819](https://github.com/danielsogl/awesome-cordova-plugins/issues/4819)) ([3168688](https://github.com/danielsogl/awesome-cordova-plugins/commit/3168688ce44b1353ed6f12e41e06c90647046f71))
# [6.8.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.7.0...v6.8.0) (2024-07-11)

View File

@@ -0,0 +1,36 @@
# IRoot
```text
$ ionic cordova plugin add cordova-plugin-iroot
$ npm install @awesome-cordova-plugins/i-root
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/iroot/)
Plugin Repo: [https://github.com/WuglyakBolgoink/cordova-plugin-iroot](https://github.com/WuglyakBolgoink/cordova-plugin-iroot)
Use this plugin to add an extra layer of security for your app by detecting if the device was rooted (on android) or jailbreaked (on iOS).
## Supported platforms
* Android
* iOS
## Original Plugin Notes
### iOS - Postinstall
To avoid errors like
> -canOpenURL: failed for URL: "cydia://package/com.example.package" - error: "This app is not allowed to query for scheme cydia"
dont forget to add `"cydia"` in `LSApplicationQueriesSchemes` key of `info.plist`. Otherwise `canOpenURL` will always return `false`.
```xml
<xxx>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>cydia</string>
</array>
</xxx>
```

3150
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "awesome-cordova-plugins",
"version": "6.8.0",
"version": "6.16.0",
"description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support",
"homepage": "https://awesome-cordova-plugins.com",
"author": "Daniel Sogl <me@danielsogl.com> (https://danielsogl.com)",
@@ -19,12 +19,13 @@
"lint": "eslint src/**/*.ts",
"readmes": "gulp readmes",
"docs-json": "ts-node -P scripts/tsconfig.json scripts/docs-json",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"shipit": "npm run build && npm run readmes && npm run npmpub",
"generate-release-config": "ts-node -P scripts/tsconfig.json scripts/tasks/generate-release-config",
"generate-release-manifest": "ts-node -P scripts/tsconfig.json scripts/tasks/generate-release-manifest",
"prepare-release": "npm run generate-release-config && npm run generate-release-manifest",
"prettier": "prettier --write --ignore-unknown \"**/*\""
},
"dependencies": {
"tslib": "2.6.3"
"tslib": "2.8.1"
},
"devDependencies": {
"@angular/common": "12.2.17",
@@ -41,34 +42,33 @@
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"async-promise-queue": "1.0.5",
"conventional-changelog-cli": "5.0.0",
"cz-conventional-changelog": "3.3.0",
"dgeni": "0.4.14",
"dgeni-packages": "0.16.10",
"eslint": "8.57.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-jsdoc": "48.7.0",
"fs-extra": "11.2.0",
"eslint": "8.57.1",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-jsdoc": "50.6.17",
"fs-extra": "11.3.0",
"gulp": "5.0.0",
"gulp-rename": "2.0.0",
"gulp-replace": "1.1.4",
"husky": "9.0.11",
"is-ci": "3.0.1",
"husky": "9.1.7",
"is-ci": "4.1.0",
"jest": "27.5.1",
"lint-staged": "15.2.7",
"lint-staged": "16.0.0",
"lodash": "4.17.21",
"minimist": "1.2.8",
"prettier": "2.8.8",
"rimraf": "5.0.5",
"rollup": "4.18.1",
"rollup": "4.41.0",
"rxjs": "6.6.7",
"terser-webpack-plugin": "5.3.10",
"terser-webpack-plugin": "5.3.14",
"ts-jest": "27.1.5",
"ts-node": "10.9.2",
"typescript": "4.2.4",
"unminified-webpack-plugin": "3.0.0",
"webpack": "5.74.0",
"winston": "3.13.1",
"winston": "3.17.0",
"zone.js": "0.11.8"
},
"jest": {

832
release-please-config.json Normal file
View File

@@ -0,0 +1,832 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "node",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false,
"separate-pull-requests": true,
"changelog-sections": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Miscellaneous Chores",
"hidden": false
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles",
"hidden": true
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "test",
"section": "Tests",
"hidden": true
},
{
"type": "build",
"section": "Build System",
"hidden": true
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": true
}
],
"packages": {
".": {
"package-name": "awesome-cordova-plugins"
},
"src/@awesome-cordova-plugins/core": {
"package-name": "@awesome-cordova-plugins/core"
},
"src/@awesome-cordova-plugins/plugins/abbyy-rtr": {
"package-name": "@awesome-cordova-plugins/abbyy-rtr"
},
"src/@awesome-cordova-plugins/plugins/action-sheet": {
"package-name": "@awesome-cordova-plugins/action-sheet"
},
"src/@awesome-cordova-plugins/plugins/adjust": {
"package-name": "@awesome-cordova-plugins/adjust"
},
"src/@awesome-cordova-plugins/plugins/admob": {
"package-name": "@awesome-cordova-plugins/admob"
},
"src/@awesome-cordova-plugins/plugins/admob-plus": {
"package-name": "@awesome-cordova-plugins/admob-plus"
},
"src/@awesome-cordova-plugins/plugins/admob-pro": {
"package-name": "@awesome-cordova-plugins/admob-pro"
},
"src/@awesome-cordova-plugins/plugins/advanced-image-picker": {
"package-name": "@awesome-cordova-plugins/advanced-image-picker"
},
"src/@awesome-cordova-plugins/plugins/aes-256": {
"package-name": "@awesome-cordova-plugins/aes-256"
},
"src/@awesome-cordova-plugins/plugins/airship": {
"package-name": "@awesome-cordova-plugins/airship"
},
"src/@awesome-cordova-plugins/plugins/all-in-one-sdk": {
"package-name": "@awesome-cordova-plugins/all-in-one-sdk"
},
"src/@awesome-cordova-plugins/plugins/analytics-firebase": {
"package-name": "@awesome-cordova-plugins/analytics-firebase"
},
"src/@awesome-cordova-plugins/plugins/android-exoplayer": {
"package-name": "@awesome-cordova-plugins/android-exoplayer"
},
"src/@awesome-cordova-plugins/plugins/android-full-screen": {
"package-name": "@awesome-cordova-plugins/android-full-screen"
},
"src/@awesome-cordova-plugins/plugins/android-notch": {
"package-name": "@awesome-cordova-plugins/android-notch"
},
"src/@awesome-cordova-plugins/plugins/android-permissions": {
"package-name": "@awesome-cordova-plugins/android-permissions"
},
"src/@awesome-cordova-plugins/plugins/anyline": {
"package-name": "@awesome-cordova-plugins/anyline"
},
"src/@awesome-cordova-plugins/plugins/app-availability": {
"package-name": "@awesome-cordova-plugins/app-availability"
},
"src/@awesome-cordova-plugins/plugins/app-center-analytics": {
"package-name": "@awesome-cordova-plugins/app-center-analytics"
},
"src/@awesome-cordova-plugins/plugins/app-center-crashes": {
"package-name": "@awesome-cordova-plugins/app-center-crashes"
},
"src/@awesome-cordova-plugins/plugins/app-center-low-memory": {
"package-name": "@awesome-cordova-plugins/app-center-low-memory"
},
"src/@awesome-cordova-plugins/plugins/app-center-push": {
"package-name": "@awesome-cordova-plugins/app-center-push"
},
"src/@awesome-cordova-plugins/plugins/app-center-shared": {
"package-name": "@awesome-cordova-plugins/app-center-shared"
},
"src/@awesome-cordova-plugins/plugins/app-preferences": {
"package-name": "@awesome-cordova-plugins/app-preferences"
},
"src/@awesome-cordova-plugins/plugins/app-rate": {
"package-name": "@awesome-cordova-plugins/app-rate"
},
"src/@awesome-cordova-plugins/plugins/app-review": {
"package-name": "@awesome-cordova-plugins/app-review"
},
"src/@awesome-cordova-plugins/plugins/app-version": {
"package-name": "@awesome-cordova-plugins/app-version"
},
"src/@awesome-cordova-plugins/plugins/apple-wallet": {
"package-name": "@awesome-cordova-plugins/apple-wallet"
},
"src/@awesome-cordova-plugins/plugins/applovin": {
"package-name": "@awesome-cordova-plugins/applovin"
},
"src/@awesome-cordova-plugins/plugins/approov-advanced-http": {
"package-name": "@awesome-cordova-plugins/approov-advanced-http"
},
"src/@awesome-cordova-plugins/plugins/appsflyer": {
"package-name": "@awesome-cordova-plugins/appsflyer"
},
"src/@awesome-cordova-plugins/plugins/audio-management": {
"package-name": "@awesome-cordova-plugins/audio-management"
},
"src/@awesome-cordova-plugins/plugins/background-fetch": {
"package-name": "@awesome-cordova-plugins/background-fetch"
},
"src/@awesome-cordova-plugins/plugins/background-geolocation": {
"package-name": "@awesome-cordova-plugins/background-geolocation"
},
"src/@awesome-cordova-plugins/plugins/background-mode": {
"package-name": "@awesome-cordova-plugins/background-mode"
},
"src/@awesome-cordova-plugins/plugins/background-upload": {
"package-name": "@awesome-cordova-plugins/background-upload"
},
"src/@awesome-cordova-plugins/plugins/badge": {
"package-name": "@awesome-cordova-plugins/badge"
},
"src/@awesome-cordova-plugins/plugins/barcode-scanner": {
"package-name": "@awesome-cordova-plugins/barcode-scanner"
},
"src/@awesome-cordova-plugins/plugins/barkoder": {
"package-name": "@awesome-cordova-plugins/barkoder"
},
"src/@awesome-cordova-plugins/plugins/battery-status": {
"package-name": "@awesome-cordova-plugins/battery-status"
},
"src/@awesome-cordova-plugins/plugins/biocatch": {
"package-name": "@awesome-cordova-plugins/biocatch"
},
"src/@awesome-cordova-plugins/plugins/biometric-wrapper": {
"package-name": "@awesome-cordova-plugins/biometric-wrapper"
},
"src/@awesome-cordova-plugins/plugins/ble": {
"package-name": "@awesome-cordova-plugins/ble"
},
"src/@awesome-cordova-plugins/plugins/blinkid": {
"package-name": "@awesome-cordova-plugins/blinkid"
},
"src/@awesome-cordova-plugins/plugins/bluetooth-classic-serial-port": {
"package-name": "@awesome-cordova-plugins/bluetooth-classic-serial-port"
},
"src/@awesome-cordova-plugins/plugins/bluetooth-le": {
"package-name": "@awesome-cordova-plugins/bluetooth-le"
},
"src/@awesome-cordova-plugins/plugins/bluetooth-serial": {
"package-name": "@awesome-cordova-plugins/bluetooth-serial"
},
"src/@awesome-cordova-plugins/plugins/branch-io": {
"package-name": "@awesome-cordova-plugins/branch-io"
},
"src/@awesome-cordova-plugins/plugins/brightness": {
"package-name": "@awesome-cordova-plugins/brightness"
},
"src/@awesome-cordova-plugins/plugins/broadcaster": {
"package-name": "@awesome-cordova-plugins/broadcaster"
},
"src/@awesome-cordova-plugins/plugins/browser-tab": {
"package-name": "@awesome-cordova-plugins/browser-tab"
},
"src/@awesome-cordova-plugins/plugins/build-info": {
"package-name": "@awesome-cordova-plugins/build-info"
},
"src/@awesome-cordova-plugins/plugins/calendar": {
"package-name": "@awesome-cordova-plugins/calendar"
},
"src/@awesome-cordova-plugins/plugins/call-directory": {
"package-name": "@awesome-cordova-plugins/call-directory"
},
"src/@awesome-cordova-plugins/plugins/call-number": {
"package-name": "@awesome-cordova-plugins/call-number"
},
"src/@awesome-cordova-plugins/plugins/camera": {
"package-name": "@awesome-cordova-plugins/camera"
},
"src/@awesome-cordova-plugins/plugins/camera-preview": {
"package-name": "@awesome-cordova-plugins/camera-preview"
},
"src/@awesome-cordova-plugins/plugins/cashfree-pg": {
"package-name": "@awesome-cordova-plugins/cashfree-pg"
},
"src/@awesome-cordova-plugins/plugins/checkout": {
"package-name": "@awesome-cordova-plugins/checkout"
},
"src/@awesome-cordova-plugins/plugins/chooser": {
"package-name": "@awesome-cordova-plugins/chooser"
},
"src/@awesome-cordova-plugins/plugins/chooser-simple-file": {
"package-name": "@awesome-cordova-plugins/chooser-simple-file"
},
"src/@awesome-cordova-plugins/plugins/clevertap": {
"package-name": "@awesome-cordova-plugins/clevertap"
},
"src/@awesome-cordova-plugins/plugins/clipboard": {
"package-name": "@awesome-cordova-plugins/clipboard"
},
"src/@awesome-cordova-plugins/plugins/cloud-settings": {
"package-name": "@awesome-cordova-plugins/cloud-settings"
},
"src/@awesome-cordova-plugins/plugins/code-push": {
"package-name": "@awesome-cordova-plugins/code-push"
},
"src/@awesome-cordova-plugins/plugins/contacts": {
"package-name": "@awesome-cordova-plugins/contacts"
},
"src/@awesome-cordova-plugins/plugins/crop-plugin-privacy": {
"package-name": "@awesome-cordova-plugins/crop-plugin-privacy"
},
"src/@awesome-cordova-plugins/plugins/custom-uisdk": {
"package-name": "@awesome-cordova-plugins/custom-uisdk"
},
"src/@awesome-cordova-plugins/plugins/deeplinks": {
"package-name": "@awesome-cordova-plugins/deeplinks"
},
"src/@awesome-cordova-plugins/plugins/device": {
"package-name": "@awesome-cordova-plugins/device"
},
"src/@awesome-cordova-plugins/plugins/device-accounts": {
"package-name": "@awesome-cordova-plugins/device-accounts"
},
"src/@awesome-cordova-plugins/plugins/device-motion": {
"package-name": "@awesome-cordova-plugins/device-motion"
},
"src/@awesome-cordova-plugins/plugins/device-orientation": {
"package-name": "@awesome-cordova-plugins/device-orientation"
},
"src/@awesome-cordova-plugins/plugins/dfu-update": {
"package-name": "@awesome-cordova-plugins/dfu-update"
},
"src/@awesome-cordova-plugins/plugins/diagnostic": {
"package-name": "@awesome-cordova-plugins/diagnostic"
},
"src/@awesome-cordova-plugins/plugins/dialogs": {
"package-name": "@awesome-cordova-plugins/dialogs"
},
"src/@awesome-cordova-plugins/plugins/dns": {
"package-name": "@awesome-cordova-plugins/dns"
},
"src/@awesome-cordova-plugins/plugins/document-picker": {
"package-name": "@awesome-cordova-plugins/document-picker"
},
"src/@awesome-cordova-plugins/plugins/document-scanner": {
"package-name": "@awesome-cordova-plugins/document-scanner"
},
"src/@awesome-cordova-plugins/plugins/document-viewer": {
"package-name": "@awesome-cordova-plugins/document-viewer"
},
"src/@awesome-cordova-plugins/plugins/downloader": {
"package-name": "@awesome-cordova-plugins/downloader"
},
"src/@awesome-cordova-plugins/plugins/dynamsoft-barcode-scanner": {
"package-name": "@awesome-cordova-plugins/dynamsoft-barcode-scanner"
},
"src/@awesome-cordova-plugins/plugins/email-composer": {
"package-name": "@awesome-cordova-plugins/email-composer"
},
"src/@awesome-cordova-plugins/plugins/fabric": {
"package-name": "@awesome-cordova-plugins/fabric"
},
"src/@awesome-cordova-plugins/plugins/facebook": {
"package-name": "@awesome-cordova-plugins/facebook"
},
"src/@awesome-cordova-plugins/plugins/fbsdk": {
"package-name": "@awesome-cordova-plugins/fbsdk"
},
"src/@awesome-cordova-plugins/plugins/fcm": {
"package-name": "@awesome-cordova-plugins/fcm"
},
"src/@awesome-cordova-plugins/plugins/ffmpeg": {
"package-name": "@awesome-cordova-plugins/ffmpeg"
},
"src/@awesome-cordova-plugins/plugins/file": {
"package-name": "@awesome-cordova-plugins/file"
},
"src/@awesome-cordova-plugins/plugins/file-chooser": {
"package-name": "@awesome-cordova-plugins/file-chooser"
},
"src/@awesome-cordova-plugins/plugins/file-md5": {
"package-name": "@awesome-cordova-plugins/file-md5"
},
"src/@awesome-cordova-plugins/plugins/file-opener": {
"package-name": "@awesome-cordova-plugins/file-opener"
},
"src/@awesome-cordova-plugins/plugins/file-path": {
"package-name": "@awesome-cordova-plugins/file-path"
},
"src/@awesome-cordova-plugins/plugins/file-transfer": {
"package-name": "@awesome-cordova-plugins/file-transfer"
},
"src/@awesome-cordova-plugins/plugins/fingerprint-aio": {
"package-name": "@awesome-cordova-plugins/fingerprint-aio"
},
"src/@awesome-cordova-plugins/plugins/firebase": {
"package-name": "@awesome-cordova-plugins/firebase"
},
"src/@awesome-cordova-plugins/plugins/firebase-analytics": {
"package-name": "@awesome-cordova-plugins/firebase-analytics"
},
"src/@awesome-cordova-plugins/plugins/firebase-authentication": {
"package-name": "@awesome-cordova-plugins/firebase-authentication"
},
"src/@awesome-cordova-plugins/plugins/firebase-config": {
"package-name": "@awesome-cordova-plugins/firebase-config"
},
"src/@awesome-cordova-plugins/plugins/firebase-crash": {
"package-name": "@awesome-cordova-plugins/firebase-crash"
},
"src/@awesome-cordova-plugins/plugins/firebase-crashlytics": {
"package-name": "@awesome-cordova-plugins/firebase-crashlytics"
},
"src/@awesome-cordova-plugins/plugins/firebase-dynamic-links": {
"package-name": "@awesome-cordova-plugins/firebase-dynamic-links"
},
"src/@awesome-cordova-plugins/plugins/firebase-messaging": {
"package-name": "@awesome-cordova-plugins/firebase-messaging"
},
"src/@awesome-cordova-plugins/plugins/firebase-model": {
"package-name": "@awesome-cordova-plugins/firebase-model"
},
"src/@awesome-cordova-plugins/plugins/firebase-vision": {
"package-name": "@awesome-cordova-plugins/firebase-vision"
},
"src/@awesome-cordova-plugins/plugins/firebase-x": {
"package-name": "@awesome-cordova-plugins/firebase-x"
},
"src/@awesome-cordova-plugins/plugins/flashlight": {
"package-name": "@awesome-cordova-plugins/flashlight"
},
"src/@awesome-cordova-plugins/plugins/foreground-service": {
"package-name": "@awesome-cordova-plugins/foreground-service"
},
"src/@awesome-cordova-plugins/plugins/ftp": {
"package-name": "@awesome-cordova-plugins/ftp"
},
"src/@awesome-cordova-plugins/plugins/gao-de-location": {
"package-name": "@awesome-cordova-plugins/gao-de-location"
},
"src/@awesome-cordova-plugins/plugins/gcdwebserver": {
"package-name": "@awesome-cordova-plugins/gcdwebserver"
},
"src/@awesome-cordova-plugins/plugins/ge-tui-sdk-plugin": {
"package-name": "@awesome-cordova-plugins/ge-tui-sdk-plugin"
},
"src/@awesome-cordova-plugins/plugins/genius-scan": {
"package-name": "@awesome-cordova-plugins/genius-scan"
},
"src/@awesome-cordova-plugins/plugins/geolocation": {
"package-name": "@awesome-cordova-plugins/geolocation"
},
"src/@awesome-cordova-plugins/plugins/globalization": {
"package-name": "@awesome-cordova-plugins/globalization"
},
"src/@awesome-cordova-plugins/plugins/google-analytics": {
"package-name": "@awesome-cordova-plugins/google-analytics"
},
"src/@awesome-cordova-plugins/plugins/google-nearby": {
"package-name": "@awesome-cordova-plugins/google-nearby"
},
"src/@awesome-cordova-plugins/plugins/google-plus": {
"package-name": "@awesome-cordova-plugins/google-plus"
},
"src/@awesome-cordova-plugins/plugins/header-color": {
"package-name": "@awesome-cordova-plugins/header-color"
},
"src/@awesome-cordova-plugins/plugins/health": {
"package-name": "@awesome-cordova-plugins/health"
},
"src/@awesome-cordova-plugins/plugins/health-kit": {
"package-name": "@awesome-cordova-plugins/health-kit"
},
"src/@awesome-cordova-plugins/plugins/http": {
"package-name": "@awesome-cordova-plugins/http"
},
"src/@awesome-cordova-plugins/plugins/hyper-track": {
"package-name": "@awesome-cordova-plugins/hyper-track"
},
"src/@awesome-cordova-plugins/plugins/i-root": {
"package-name": "@awesome-cordova-plugins/i-root"
},
"src/@awesome-cordova-plugins/plugins/iamport-cordova": {
"package-name": "@awesome-cordova-plugins/iamport-cordova"
},
"src/@awesome-cordova-plugins/plugins/ibeacon": {
"package-name": "@awesome-cordova-plugins/ibeacon"
},
"src/@awesome-cordova-plugins/plugins/image-picker": {
"package-name": "@awesome-cordova-plugins/image-picker"
},
"src/@awesome-cordova-plugins/plugins/image-resizer": {
"package-name": "@awesome-cordova-plugins/image-resizer"
},
"src/@awesome-cordova-plugins/plugins/imap": {
"package-name": "@awesome-cordova-plugins/imap"
},
"src/@awesome-cordova-plugins/plugins/in-app-browser": {
"package-name": "@awesome-cordova-plugins/in-app-browser"
},
"src/@awesome-cordova-plugins/plugins/in-app-purchase-2": {
"package-name": "@awesome-cordova-plugins/in-app-purchase-2"
},
"src/@awesome-cordova-plugins/plugins/in-app-purchase-3": {
"package-name": "@awesome-cordova-plugins/in-app-purchase-3"
},
"src/@awesome-cordova-plugins/plugins/in-app-review": {
"package-name": "@awesome-cordova-plugins/in-app-review"
},
"src/@awesome-cordova-plugins/plugins/in-app-update": {
"package-name": "@awesome-cordova-plugins/in-app-update"
},
"src/@awesome-cordova-plugins/plugins/insomnia": {
"package-name": "@awesome-cordova-plugins/insomnia"
},
"src/@awesome-cordova-plugins/plugins/instagram": {
"package-name": "@awesome-cordova-plugins/instagram"
},
"src/@awesome-cordova-plugins/plugins/intercom": {
"package-name": "@awesome-cordova-plugins/intercom"
},
"src/@awesome-cordova-plugins/plugins/ionic-webview": {
"package-name": "@awesome-cordova-plugins/ionic-webview"
},
"src/@awesome-cordova-plugins/plugins/ios-aswebauthenticationsession-api": {
"package-name": "@awesome-cordova-plugins/ios-aswebauthenticationsession-api"
},
"src/@awesome-cordova-plugins/plugins/is-debug": {
"package-name": "@awesome-cordova-plugins/is-debug"
},
"src/@awesome-cordova-plugins/plugins/keyboard": {
"package-name": "@awesome-cordova-plugins/keyboard"
},
"src/@awesome-cordova-plugins/plugins/keychain": {
"package-name": "@awesome-cordova-plugins/keychain"
},
"src/@awesome-cordova-plugins/plugins/kommunicate": {
"package-name": "@awesome-cordova-plugins/kommunicate"
},
"src/@awesome-cordova-plugins/plugins/launch-navigator": {
"package-name": "@awesome-cordova-plugins/launch-navigator"
},
"src/@awesome-cordova-plugins/plugins/launch-review": {
"package-name": "@awesome-cordova-plugins/launch-review"
},
"src/@awesome-cordova-plugins/plugins/lets-cooee": {
"package-name": "@awesome-cordova-plugins/lets-cooee"
},
"src/@awesome-cordova-plugins/plugins/line-login": {
"package-name": "@awesome-cordova-plugins/line-login"
},
"src/@awesome-cordova-plugins/plugins/local-backup": {
"package-name": "@awesome-cordova-plugins/local-backup"
},
"src/@awesome-cordova-plugins/plugins/local-notifications": {
"package-name": "@awesome-cordova-plugins/local-notifications"
},
"src/@awesome-cordova-plugins/plugins/location-accuracy": {
"package-name": "@awesome-cordova-plugins/location-accuracy"
},
"src/@awesome-cordova-plugins/plugins/lottie-splash-screen": {
"package-name": "@awesome-cordova-plugins/lottie-splash-screen"
},
"src/@awesome-cordova-plugins/plugins/magnetometer": {
"package-name": "@awesome-cordova-plugins/magnetometer"
},
"src/@awesome-cordova-plugins/plugins/market": {
"package-name": "@awesome-cordova-plugins/market"
},
"src/@awesome-cordova-plugins/plugins/media": {
"package-name": "@awesome-cordova-plugins/media"
},
"src/@awesome-cordova-plugins/plugins/media-capture": {
"package-name": "@awesome-cordova-plugins/media-capture"
},
"src/@awesome-cordova-plugins/plugins/metrix": {
"package-name": "@awesome-cordova-plugins/metrix"
},
"src/@awesome-cordova-plugins/plugins/mixpanel": {
"package-name": "@awesome-cordova-plugins/mixpanel"
},
"src/@awesome-cordova-plugins/plugins/mlkit-translate": {
"package-name": "@awesome-cordova-plugins/mlkit-translate"
},
"src/@awesome-cordova-plugins/plugins/mobile-accessibility": {
"package-name": "@awesome-cordova-plugins/mobile-accessibility"
},
"src/@awesome-cordova-plugins/plugins/mobile-messaging": {
"package-name": "@awesome-cordova-plugins/mobile-messaging"
},
"src/@awesome-cordova-plugins/plugins/multiple-document-picker": {
"package-name": "@awesome-cordova-plugins/multiple-document-picker"
},
"src/@awesome-cordova-plugins/plugins/music-controls": {
"package-name": "@awesome-cordova-plugins/music-controls"
},
"src/@awesome-cordova-plugins/plugins/native-audio": {
"package-name": "@awesome-cordova-plugins/native-audio"
},
"src/@awesome-cordova-plugins/plugins/native-geocoder": {
"package-name": "@awesome-cordova-plugins/native-geocoder"
},
"src/@awesome-cordova-plugins/plugins/native-keyboard": {
"package-name": "@awesome-cordova-plugins/native-keyboard"
},
"src/@awesome-cordova-plugins/plugins/native-page-transitions": {
"package-name": "@awesome-cordova-plugins/native-page-transitions"
},
"src/@awesome-cordova-plugins/plugins/native-storage": {
"package-name": "@awesome-cordova-plugins/native-storage"
},
"src/@awesome-cordova-plugins/plugins/native-view": {
"package-name": "@awesome-cordova-plugins/native-view"
},
"src/@awesome-cordova-plugins/plugins/network": {
"package-name": "@awesome-cordova-plugins/network"
},
"src/@awesome-cordova-plugins/plugins/network-interface": {
"package-name": "@awesome-cordova-plugins/network-interface"
},
"src/@awesome-cordova-plugins/plugins/network-permission": {
"package-name": "@awesome-cordova-plugins/network-permission"
},
"src/@awesome-cordova-plugins/plugins/newrelic": {
"package-name": "@awesome-cordova-plugins/newrelic"
},
"src/@awesome-cordova-plugins/plugins/nfc": {
"package-name": "@awesome-cordova-plugins/nfc"
},
"src/@awesome-cordova-plugins/plugins/ocr": {
"package-name": "@awesome-cordova-plugins/ocr"
},
"src/@awesome-cordova-plugins/plugins/onesignal": {
"package-name": "@awesome-cordova-plugins/onesignal"
},
"src/@awesome-cordova-plugins/plugins/open-native-settings": {
"package-name": "@awesome-cordova-plugins/open-native-settings"
},
"src/@awesome-cordova-plugins/plugins/openalpr": {
"package-name": "@awesome-cordova-plugins/openalpr"
},
"src/@awesome-cordova-plugins/plugins/openinstall": {
"package-name": "@awesome-cordova-plugins/openinstall"
},
"src/@awesome-cordova-plugins/plugins/paytabs": {
"package-name": "@awesome-cordova-plugins/paytabs"
},
"src/@awesome-cordova-plugins/plugins/pdf-generator": {
"package-name": "@awesome-cordova-plugins/pdf-generator"
},
"src/@awesome-cordova-plugins/plugins/photo-library": {
"package-name": "@awesome-cordova-plugins/photo-library"
},
"src/@awesome-cordova-plugins/plugins/photo-viewer": {
"package-name": "@awesome-cordova-plugins/photo-viewer"
},
"src/@awesome-cordova-plugins/plugins/play-install-referrer": {
"package-name": "@awesome-cordova-plugins/play-install-referrer"
},
"src/@awesome-cordova-plugins/plugins/pollfish": {
"package-name": "@awesome-cordova-plugins/pollfish"
},
"src/@awesome-cordova-plugins/plugins/power-management": {
"package-name": "@awesome-cordova-plugins/power-management"
},
"src/@awesome-cordova-plugins/plugins/power-optimization": {
"package-name": "@awesome-cordova-plugins/power-optimization"
},
"src/@awesome-cordova-plugins/plugins/preview-any-file": {
"package-name": "@awesome-cordova-plugins/preview-any-file"
},
"src/@awesome-cordova-plugins/plugins/printer": {
"package-name": "@awesome-cordova-plugins/printer"
},
"src/@awesome-cordova-plugins/plugins/pspdfkit-cordova": {
"package-name": "@awesome-cordova-plugins/pspdfkit-cordova"
},
"src/@awesome-cordova-plugins/plugins/purchases": {
"package-name": "@awesome-cordova-plugins/purchases"
},
"src/@awesome-cordova-plugins/plugins/push": {
"package-name": "@awesome-cordova-plugins/push"
},
"src/@awesome-cordova-plugins/plugins/pushape-push": {
"package-name": "@awesome-cordova-plugins/pushape-push"
},
"src/@awesome-cordova-plugins/plugins/safari-view-controller": {
"package-name": "@awesome-cordova-plugins/safari-view-controller"
},
"src/@awesome-cordova-plugins/plugins/save-dialog": {
"package-name": "@awesome-cordova-plugins/save-dialog"
},
"src/@awesome-cordova-plugins/plugins/screen-orientation": {
"package-name": "@awesome-cordova-plugins/screen-orientation"
},
"src/@awesome-cordova-plugins/plugins/screenshot": {
"package-name": "@awesome-cordova-plugins/screenshot"
},
"src/@awesome-cordova-plugins/plugins/secure-storage": {
"package-name": "@awesome-cordova-plugins/secure-storage"
},
"src/@awesome-cordova-plugins/plugins/secure-storage-echo": {
"package-name": "@awesome-cordova-plugins/secure-storage-echo"
},
"src/@awesome-cordova-plugins/plugins/service-discovery": {
"package-name": "@awesome-cordova-plugins/service-discovery"
},
"src/@awesome-cordova-plugins/plugins/shake": {
"package-name": "@awesome-cordova-plugins/shake"
},
"src/@awesome-cordova-plugins/plugins/shortcuts-android": {
"package-name": "@awesome-cordova-plugins/shortcuts-android"
},
"src/@awesome-cordova-plugins/plugins/sign-in-with-apple": {
"package-name": "@awesome-cordova-plugins/sign-in-with-apple"
},
"src/@awesome-cordova-plugins/plugins/smartlook": {
"package-name": "@awesome-cordova-plugins/smartlook"
},
"src/@awesome-cordova-plugins/plugins/sms": {
"package-name": "@awesome-cordova-plugins/sms"
},
"src/@awesome-cordova-plugins/plugins/sms-retriever": {
"package-name": "@awesome-cordova-plugins/sms-retriever"
},
"src/@awesome-cordova-plugins/plugins/sms-retriever-api": {
"package-name": "@awesome-cordova-plugins/sms-retriever-api"
},
"src/@awesome-cordova-plugins/plugins/smtp-client": {
"package-name": "@awesome-cordova-plugins/smtp-client"
},
"src/@awesome-cordova-plugins/plugins/social-sharing": {
"package-name": "@awesome-cordova-plugins/social-sharing"
},
"src/@awesome-cordova-plugins/plugins/sockets-tcp": {
"package-name": "@awesome-cordova-plugins/sockets-tcp"
},
"src/@awesome-cordova-plugins/plugins/sockets-udp": {
"package-name": "@awesome-cordova-plugins/sockets-udp"
},
"src/@awesome-cordova-plugins/plugins/speech-recognition": {
"package-name": "@awesome-cordova-plugins/speech-recognition"
},
"src/@awesome-cordova-plugins/plugins/spinner-dialog": {
"package-name": "@awesome-cordova-plugins/spinner-dialog"
},
"src/@awesome-cordova-plugins/plugins/splash-screen": {
"package-name": "@awesome-cordova-plugins/splash-screen"
},
"src/@awesome-cordova-plugins/plugins/spotify-auth": {
"package-name": "@awesome-cordova-plugins/spotify-auth"
},
"src/@awesome-cordova-plugins/plugins/sqlite": {
"package-name": "@awesome-cordova-plugins/sqlite"
},
"src/@awesome-cordova-plugins/plugins/sqlite-db-copy": {
"package-name": "@awesome-cordova-plugins/sqlite-db-copy"
},
"src/@awesome-cordova-plugins/plugins/sqlite-porter": {
"package-name": "@awesome-cordova-plugins/sqlite-porter"
},
"src/@awesome-cordova-plugins/plugins/ssl-certificate-checker": {
"package-name": "@awesome-cordova-plugins/ssl-certificate-checker"
},
"src/@awesome-cordova-plugins/plugins/star-prnt": {
"package-name": "@awesome-cordova-plugins/star-prnt"
},
"src/@awesome-cordova-plugins/plugins/status-bar": {
"package-name": "@awesome-cordova-plugins/status-bar"
},
"src/@awesome-cordova-plugins/plugins/streaming-media": {
"package-name": "@awesome-cordova-plugins/streaming-media"
},
"src/@awesome-cordova-plugins/plugins/stripe": {
"package-name": "@awesome-cordova-plugins/stripe"
},
"src/@awesome-cordova-plugins/plugins/sum-up": {
"package-name": "@awesome-cordova-plugins/sum-up"
},
"src/@awesome-cordova-plugins/plugins/system-alert-window-permission": {
"package-name": "@awesome-cordova-plugins/system-alert-window-permission"
},
"src/@awesome-cordova-plugins/plugins/taptic-engine": {
"package-name": "@awesome-cordova-plugins/taptic-engine"
},
"src/@awesome-cordova-plugins/plugins/tealium": {
"package-name": "@awesome-cordova-plugins/tealium"
},
"src/@awesome-cordova-plugins/plugins/tealium-adidentifier": {
"package-name": "@awesome-cordova-plugins/tealium-adidentifier"
},
"src/@awesome-cordova-plugins/plugins/tealium-installreferrer": {
"package-name": "@awesome-cordova-plugins/tealium-installreferrer"
},
"src/@awesome-cordova-plugins/plugins/text-to-speech-advanced": {
"package-name": "@awesome-cordova-plugins/text-to-speech-advanced"
},
"src/@awesome-cordova-plugins/plugins/theme-detection": {
"package-name": "@awesome-cordova-plugins/theme-detection"
},
"src/@awesome-cordova-plugins/plugins/three-dee-touch": {
"package-name": "@awesome-cordova-plugins/three-dee-touch"
},
"src/@awesome-cordova-plugins/plugins/toast": {
"package-name": "@awesome-cordova-plugins/toast"
},
"src/@awesome-cordova-plugins/plugins/touch-id": {
"package-name": "@awesome-cordova-plugins/touch-id"
},
"src/@awesome-cordova-plugins/plugins/unique-device-id": {
"package-name": "@awesome-cordova-plugins/unique-device-id"
},
"src/@awesome-cordova-plugins/plugins/unvired-cordova-sdk": {
"package-name": "@awesome-cordova-plugins/unvired-cordova-sdk"
},
"src/@awesome-cordova-plugins/plugins/uptime": {
"package-name": "@awesome-cordova-plugins/uptime"
},
"src/@awesome-cordova-plugins/plugins/urbanairship": {
"package-name": "@awesome-cordova-plugins/urbanairship"
},
"src/@awesome-cordova-plugins/plugins/usabilla-cordova-sdk": {
"package-name": "@awesome-cordova-plugins/usabilla-cordova-sdk"
},
"src/@awesome-cordova-plugins/plugins/vibes": {
"package-name": "@awesome-cordova-plugins/vibes"
},
"src/@awesome-cordova-plugins/plugins/vibration": {
"package-name": "@awesome-cordova-plugins/vibration"
},
"src/@awesome-cordova-plugins/plugins/video-editor": {
"package-name": "@awesome-cordova-plugins/video-editor"
},
"src/@awesome-cordova-plugins/plugins/video-player": {
"package-name": "@awesome-cordova-plugins/video-player"
},
"src/@awesome-cordova-plugins/plugins/we-cap-inbox": {
"package-name": "@awesome-cordova-plugins/we-cap-inbox"
},
"src/@awesome-cordova-plugins/plugins/web-intent": {
"package-name": "@awesome-cordova-plugins/web-intent"
},
"src/@awesome-cordova-plugins/plugins/web-server": {
"package-name": "@awesome-cordova-plugins/web-server"
},
"src/@awesome-cordova-plugins/plugins/web-socket-server": {
"package-name": "@awesome-cordova-plugins/web-socket-server"
},
"src/@awesome-cordova-plugins/plugins/webengage": {
"package-name": "@awesome-cordova-plugins/webengage"
},
"src/@awesome-cordova-plugins/plugins/webim": {
"package-name": "@awesome-cordova-plugins/webim"
},
"src/@awesome-cordova-plugins/plugins/wechat": {
"package-name": "@awesome-cordova-plugins/wechat"
},
"src/@awesome-cordova-plugins/plugins/wheel-selector": {
"package-name": "@awesome-cordova-plugins/wheel-selector"
},
"src/@awesome-cordova-plugins/plugins/wifi-wizard-2": {
"package-name": "@awesome-cordova-plugins/wifi-wizard-2"
},
"src/@awesome-cordova-plugins/plugins/wonderpush": {
"package-name": "@awesome-cordova-plugins/wonderpush"
},
"src/@awesome-cordova-plugins/plugins/youtube-video-player": {
"package-name": "@awesome-cordova-plugins/youtube-video-player"
},
"src/@awesome-cordova-plugins/plugins/zbar": {
"package-name": "@awesome-cordova-plugins/zbar"
},
"src/@awesome-cordova-plugins/plugins/zeroconf": {
"package-name": "@awesome-cordova-plugins/zeroconf"
},
"src/@awesome-cordova-plugins/plugins/zip": {
"package-name": "@awesome-cordova-plugins/zip"
},
"src/@awesome-cordova-plugins/plugins/zoom": {
"package-name": "@awesome-cordova-plugins/zoom"
}
}
}

View File

@@ -1,19 +1,118 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", ":dependencyDashboard"],
"extends": [
"config:recommended",
":semanticCommits",
":dependencyDashboard",
":rebaseStalePrs",
":separateMajorReleases",
":combinePatchMinorReleases",
":ignoreUnstable",
":prImmediately",
":updateNotScheduled",
":automergeDisabled",
":maintainLockFilesWeekly",
":prConcurrentLimit10"
],
"platformAutomerge": true,
"rangeStrategy": "bump",
"semanticCommits": "enabled",
"timezone": "Europe/Berlin",
"schedule": ["before 6am on monday"],
"labels": ["dependencies"],
"assignees": ["danielsogl"],
"reviewers": ["danielsogl"],
"packageRules": [
{
"matchManagers": ["npm"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true,
"platformAutomerge": true,
"groupName": "non-major dependencies",
"groupSlug": "all-minor-patch"
},
{
"matchManagers": ["npm"],
"matchUpdateTypes": ["major"],
"automerge": false,
"groupName": "major dependencies",
"groupSlug": "all-major"
},
{
"groupName": "TypeScript type definitions",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["/^@types//"]
},
{
"groupName": "linting and formatting",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["/^eslint/", "/^prettier/", "/^husky/", "/^lint-staged/"]
},
{
"groupName": "Angular",
"packagePatterns": ["^@angular/", "^@angular-devkit/", "@schematics/angular"],
"allowedVersions": "<=12"
"allowedVersions": "<=12",
"automerge": false
},
{
"matchPackageNames": ["zone.js"],
"allowedVersions": "<=11"
"allowedVersions": "<=11",
"automerge": false
},
{
"matchPackageNames": ["typescript"],
"allowedVersions": "<=4"
"matchPackageNames": ["typescript", "ts-node"],
"allowedVersions": "<=4",
"groupName": "TypeScript core",
"automerge": false
},
{
"groupName": "Build and bundling tools",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["rollup", "webpack", "terser-webpack-plugin", "unminified-webpack-plugin", "rimraf"]
},
{
"groupName": "Testing framework",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["jest", "ts-jest", "@types/jest"]
},
{
"groupName": "Documentation tools",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["dgeni", "dgeni-packages", "gulp", "gulp-rename", "gulp-replace"]
},
{
"groupName": "Utility libraries",
"automerge": true,
"platformAutomerge": true,
"matchPackageNames": ["lodash", "@types/lodash", "fs-extra", "@types/fs-extra", "minimist", "winston"]
},
{
"matchManagers": ["npm"],
"matchDepTypes": ["engines"],
"enabled": false,
"description": "Disable Node.js engine updates"
}
]
],
"vulnerabilityAlerts": {
"enabled": true,
"automerge": true,
"schedule": ["at any time"]
},
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
"schedule": ["before 6am on monday"]
},
"prCreation": "immediate",
"prHourlyLimit": 2,
"prConcurrentLimit": 5,
"updatePinnedDependencies": false,
"enabledManagers": ["npm"],
"ignoreDeps": [],
"ignorePaths": ["**/node_modules/**", "**/dist/**", "**/coverage/**"]
}

View File

@@ -0,0 +1,55 @@
import { writeFileSync } from 'fs-extra';
import { resolve } from 'path';
import { PLUGIN_PATHS, ROOT } from '../build/helpers';
// Base configuration for release-please
const baseConfig = {
$schema: 'https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json',
'release-type': 'node',
'bump-minor-pre-major': false,
'bump-patch-for-minor-pre-major': false,
draft: false,
prerelease: false,
'changelog-sections': [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'chore', section: 'Miscellaneous Chores', hidden: false },
{ type: 'docs', section: 'Documentation' },
{ type: 'style', section: 'Styles', hidden: true },
{ type: 'refactor', section: 'Code Refactoring' },
{ type: 'perf', section: 'Performance Improvements' },
{ type: 'test', section: 'Tests', hidden: true },
{ type: 'build', section: 'Build System', hidden: true },
{ type: 'ci', section: 'Continuous Integration', hidden: true },
],
packages: {},
};
function generateReleaseConfig() {
const config = { ...baseConfig };
// Add core package
config.packages['src/@awesome-cordova-plugins/core'] = {
'package-name': '@awesome-cordova-plugins/core',
};
// Add all plugin packages dynamically
PLUGIN_PATHS.forEach((pluginPath: string) => {
const pluginName = pluginPath.split(/[\/\\]+/).slice(-2)[0];
const packagePath = `src/@awesome-cordova-plugins/plugins/${pluginName}`;
config.packages[packagePath] = {
'package-name': `@awesome-cordova-plugins/${pluginName}`,
};
});
// Write the configuration file
const configPath = resolve(ROOT, 'release-please-config.json');
writeFileSync(configPath, JSON.stringify(config, null, 2));
console.log(`Generated release-please-config.json with ${Object.keys(config.packages).length} packages`);
console.log(`- 1 core package`);
console.log(`- ${Object.keys(config.packages).length - 1} plugin packages`);
}
generateReleaseConfig();

View File

@@ -0,0 +1,32 @@
import { writeFileSync } from 'fs-extra';
import { resolve } from 'path';
import { PLUGIN_PATHS, ROOT } from '../build/helpers';
// Get the current version from package.json
const MAIN_PACKAGE_JSON = require('../../package.json');
const VERSION = MAIN_PACKAGE_JSON.version;
function generateReleaseManifest() {
const manifest = {};
// Add core package with current version
manifest['src/@awesome-cordova-plugins/core'] = VERSION;
// Add all plugin packages with current version
PLUGIN_PATHS.forEach((pluginPath: string) => {
const pluginName = pluginPath.split(/[\/\\]+/).slice(-2)[0];
const packagePath = `src/@awesome-cordova-plugins/plugins/${pluginName}`;
manifest[packagePath] = VERSION;
});
// Write the manifest file
const manifestPath = resolve(ROOT, '.release-please-manifest.json');
writeFileSync(manifestPath, JSON.stringify(manifest, null, 2));
console.log(
`Generated .release-please-manifest.json with version ${VERSION} for ${Object.keys(manifest).length} packages`
);
}
generateReleaseManifest();

File diff suppressed because it is too large Load Diff

View File

@@ -28,98 +28,6 @@ interface AbortedResponse {
aborted: boolean;
}
export interface ApproovLoggableToken {
/**
* Expiry
* The only mandatory claim for Approov tokens. It specifies the expiry time for the token as a Unix timestamp.
*/
exp: number;
/**
* Device ID
* This claim identifies the device for which the token was issued. This is a base64 encoded string representing a 128-bit device identifier.
* Note that this is not, strictly speaking, a device identifier as it is also influenced by the app identifier
* and may change if the same app is uninstalled and then reinstalled on the same device.
*/
did?: string;
/**
* Attestation Response Code
* This is an optional claim that encodes information about a subset of the device property flags and also whether the attestation was a pass or fail.
* The claim is encoded in base32 and is typically 10 characters long (although it may be longer in some circumstances).
* This claim is not included by tokens from the failover.
*/
arc?: string;
/**
* IP Address
* This holds the IP address of the device as seen by the Approov cloud service. It is provided in a human readable IP address format (in either IPv4 or IPv6 format).
* In practice this value can often change between the time a token is issued and the time it is sent to your backend, so you should never block if it differs, but you may include it as a signal that tokens have somehow been stolen and are being replayed.
* This claim is not included by tokens from the failover or if the IP Tracking Policy for the account has been set to none.
*/
ip?: string;
/**
* Issuer
* An optional claim that is added if the issuer inclusion option is enabled. This provides the Approov account ID that was used to issue the token (suffixed with approov.io).
* It can be used as an additional layer of backend verification if signing keys are shared between multiple accounts.
* It indicates that tokens were issued from the expected Approov account. This claim may also be set to an explicit value for long lived Approov tokens.
* This flexibility is designed for use with server-to-server communication (which may only be signed with the account specific secret keys).
*/
iss?: string;
/**
* Annotation
* This is an embedded JSON array of strings showing the list of flags that are set and are in the annotation set for the security policy that is selected.
* This allows additional information to be collected about the state of a particular device without necessarily causing an attestation failure.
* Note that if there are no possible annotations then this claim is not present at all. This claim is not included by tokens from the failover.
*/
anno?: string[];
/**
* Payload Hash
* An optional claim that is added if the protected app passes a token binding argument to the setDataHashInToken method.
* The claim value is set to the base64 encoded SHA256 hash of the provided payload string.
* This is typically used to bind an Approov token to some other data used by your app to enhance security (like a user auth token).
*/
pay?: string;
/**
* Audience
* An optional claim that is added if the audience inclusion option is enabled. This provides the domain for which the token was issued.
* It can be used as an additional layer of backend verification to ensure that tokens intended for one domain cannot be used on to access a different one.
*/
aud?: string;
/**
* Message Siging Key ID
* This is an optional claim that encodes the ID of a key being used for Message Signing.
* This is only present in Approov tokens for which message signing is active. This claim is not included by tokens from the failover.
*/
mskid?: string;
/**
* Measurement Proof Key
* An optional claim to provide the measurement proof key if a measurement has been requested by the SDK on the domain for which the token is issued.
* This is a base64 encoded 128-bit proof key value. Note that if measurement is being used, then JWE tokens will be used to keep this claim secret.
*/
mpk?: string;
/**
* Integrity Measurement Hash
* An optional claim to provide the integrity measurement hash if a measurement has been requested by the SDK on the domain for which the token is issued.
* This is a base64 encoded 256-bit SHA256 measurement value. Note that if measurement is being used, then JWE tokens will be used to keep this claim secret.
*/
imh?: string;
/**
* Device Measurement Hash
* An optional claim to provide the device measurement hash if a measurement has been requested by the SDK on the domain for which the token is issued.
* This is a base64 encoded 256-bit SHA256 measurement value. Note that if measurement is being used, then JWE tokens will be used to keep this claim secret
*/
dmh?: string;
}
/**
* @name HTTP
* @description
@@ -134,9 +42,9 @@ export interface ApproovLoggableToken {
* we have only added approov functionality on top of it. All credit goes to the actual plugin developer.
* @usage
* ```typescript
* import { ApproovHttp } from '@awesome-cordova-plugins/http/ngx';
* import { HTTP } from '@awesome-cordova-plugins/http/ngx';
*
* constructor(private http: ApproovHttp) {}
* constructor(private http: HTTP) {}
*
* ...
*
@@ -161,14 +69,14 @@ export interface ApproovLoggableToken {
* HTTPResponse
*/
@Plugin({
pluginName: 'ApproovHttp',
plugin: 'cordova-approov-advanced-http',
pluginRef: 'cordova.plugin.ApproovHttp',
repo: 'https://github.com/approov/quickstart-ionic-advancedhttp',
pluginName: 'HTTP',
plugin: '@approov/cordova-plugin-advanced-http',
pluginRef: 'cordova.plugin.http',
repo: 'https://github.com/approov/quickstart-cordova-advancedhttp',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class ApproovHttp extends AwesomeCordovaNativePlugin {
export class HTTP extends AwesomeCordovaNativePlugin {
/**
* This enum represents the internal error codes which can be returned in a HTTPResponse object.
*
@@ -751,13 +659,23 @@ export class ApproovHttp extends AwesomeCordovaNativePlugin {
return;
}
@Cordova({ sync: true })
initializeApproov(): void {
@Cordova({ sync: false })
approovInitialize(config: string): Promise<void> {
return;
}
@Cordova({ sync: true })
approovSetDataHashInToken(dataHash: string): void {
approovSetProceedOnNetworkFail(): void {
return;
}
@Cordova({ sync: false })
approovSetDevKey(devKey: string): Promise<void> {
return;
}
@Cordova({ sync: true })
approovSetTokenHeader(header: string, prefix: string): void {
return;
}
@@ -766,8 +684,73 @@ export class ApproovHttp extends AwesomeCordovaNativePlugin {
return;
}
@Cordova()
getApproovLoggableToken(host: string): Promise<ApproovLoggableToken> {
@Cordova({ sync: true })
approovAddSubstitutionHeader(header: string, requiredPrefix: string): void {
return;
}
@Cordova({ sync: true })
approovRemoveSubstitutionHeader(header: string): void {
return;
}
@Cordova({ sync: true })
approovAddSubstitutionQueryParam(key: string): void {
return;
}
@Cordova({ sync: true })
approovRemoveSubstitutionQueryParam(key: string): void {
return;
}
@Cordova({ sync: true })
approovAddExclusionURLRegex(urlRegex: string): void {
return;
}
@Cordova({ sync: true })
approovRemoveExclusionURLRegex(urlRegex: string): void {
return;
}
@Cordova({ sync: false })
approovPrefetch(): Promise<void> {
return;
}
@Cordova({ sync: false })
approovPrecheck(): Promise<void> {
return;
}
@Cordova({ sync: false })
approovGetDeviceID(): Promise<String> {
return;
}
@Cordova({ sync: false })
approovSetDataHashInToken(data: string): Promise<void> {
return;
}
@Cordova({ sync: false })
approovFetchToken(url: string): Promise<String> {
return;
}
@Cordova({ sync: false })
approovGetMessageSignature(message: string): Promise<String> {
return;
}
@Cordova({ sync: false })
approovFetchSecureString(key: string, newDef: string): Promise<String> {
return;
}
@Cordova({ sync: false })
approovFetchCustomJWT(payload: string): Promise<String> {
return;
}
}

View File

@@ -0,0 +1,139 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Audio Management
* @description
* 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.
*
* @usage
* ```typescript
* constructor(public audioManagement: AudioManagement) { }
*
* ...
*
* setAudioMode() {
* this.audioManagement.setAudioMode(AudioMode.NORMAL)
* .then(() => {
* console.log('Device audio mode is now NORMAL');
* })
* .catch((reason) => {
* console.log(reason);
* });
* }
*
* getAudioMode() {
* this.audioManagement.getAudioMode()
* .then((value: AudioModeReturn) => {
* console.log('Device audio mode is ' + value.label + ' (' + value.audioMode + ')');
* })
* .catch((reason) => {
* console.log(reason);
* });
* }
*
* ```
* @interfaces
* AudioMode
* AudioModeReturn
* VolumeType
*/
@Plugin({
pluginName: 'AudioManagement',
plugin: 'clovelced-plugin-audiomanagement',
pluginRef: 'AudioManagement',
repo: 'https://github.com/clovelCed/cordova-plugin-audiomanagement',
platforms: ['Android']
})
@Injectable()
export class AudioManagement extends AwesomeCordovaNativePlugin {
/**
* Sets the `AudioManagement.AudioMode` for the device.
*
* @param {AudioMode} mode the device can be set to: Silent, Normal, Vibrate
* @returns {Promise<void>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
setAudioMode(mode: AudioMode): Promise<void> {
return;
}
/**
* Gets the current `AudioMode` of the device. Thenable returns an object with
* `label` and `audioMode` values.
*
* @returns {Promise<AudioModeReturn>}
*/
@Cordova()
getAudioMode(): Promise<AudioModeReturn> {
return;
}
/**
* Sets the specified `VolumeType` for the device with the value from `volume`.
*
* @param {VolumeType} type the `VolumeType` to set
* @param {number} volume the volume value
* @returns {Promise<void>}
*/
@Cordova({
successIndex: 2,
errorIndex: 3
})
setVolume(type: VolumeType, volume: number): Promise<void> {
return;
}
/**
* Gets the specified `VolumeType`'s `volume`. Thenable returns an object with
* a numeric property for volume, `volume`.
*
* @param {VolumeType} type the `VolumeType` to get
* @returns {Promise<{volume: number}>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
getVolume(type: VolumeType): Promise<{ volume: number }> {
return;
}
/**
* Gets the specified `VolumeType`'s maximum `volume`. Thenable returns an
* object with a numeric property, `maxVolume`.
*
* @param {VolumeType} type the `VolumeType` to get
* @returns {Promise<{maxVolume: number}>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
getMaxVolume(type: VolumeType): Promise<{ maxVolume: number }> {
return;
}
}
export enum AudioMode {
SILENT = 0,
VIBRATE,
NORMAL
}
export enum VolumeType {
RING = 0,
MUSIC,
NOTIFICATION,
SYSTEM
}
export interface AudioModeReturn {
audioMode: AudioMode;
label: string;
}

View File

@@ -0,0 +1,8 @@
# Changelog
## [6.17.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/barkoder-v6.16.0...barkoder-v6.17.0) (2025-06-07)
### Features
* **barkoder:** add plugin ([#4782](https://github.com/danielsogl/awesome-cordova-plugins/issues/4782)) ([12b8046](https://github.com/danielsogl/awesome-cordova-plugins/commit/12b8046541dcf791027695a2aa8115124671ffe0))

View File

@@ -361,6 +361,29 @@ export class BLE extends AwesomeCordovaNativePlugin {
return;
}
/**
* Request connection priority
* Supported Platforms: Android
* @usage
*```
* BLE.requestConnectionPriority('12:34:56:78:9A:BC', 'high').then(() => {
* console.log('Connection priority set');
* }, error => {
* console.log('Could no set connection priority');
* });
* ```
* @param {string} deviceId UUID or MAC address of the peripheral
* @param {string} priority Connection priority can be one of:
* "balanced" - (https://developer.android.com/reference/android/bluetooth/BluetoothGatt#CONNECTION_PRIORITY_BALANCED)
* "high" - (https://developer.android.com/reference/android/bluetooth/BluetoothGatt#CONNECTION_PRIORITY_HIGH)
* "low" - (https://developer.android.com/reference/android/bluetooth/BluetoothGatt#CONNECTION_PRIORITY_LOW_POWER)
* @returns {Promise<any>} Returns a Promise.
*/
@Cordova()
requestConnectionPriority(deviceId: string, priority: string): Promise<any> {
return;
}
/**
* Refresh Device Cache
* This method may fix a issue of old cached services and characteristics.

View File

@@ -63,6 +63,16 @@ export interface BluetoothClassicSerialPortDevice {
})
@Injectable()
export class BluetoothClassicSerialPort extends AwesomeCordovaNativePlugin {
/**
* Initialize
*/
@Cordova({
platforms: ['Android', 'iOS'],
})
initialize(): Promise<any> {
return;
}
/**
* Connect to a Bluetooth device
*

View File

@@ -130,18 +130,6 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Sets the device's Xiaomi push token.
* clevertap-cordova 2.6.0 onwards method requires region as a mandatory parameter.
* @param token {string}
* @param region {string}
* @returns {Promise<any>}
*/
@Cordova()
setPushXiaomiToken(token: string, region: string): Promise<any> {
return;
}
/**
* Sets the device's Baidu push token
*
@@ -353,6 +341,60 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* Get the details of a specific event
*
* @param eventName {string} - The name of the event
* @returns {Promise<any>}
*/
@Cordova()
getUserEventLog(eventName: string): Promise<any> {
return;
}
/**
* Get the count of times an event occurred
*
* @param eventName {string} - The name of the event
* @returns {Promise<any>}
*/
@Cordova()
getUserEventLogCount(eventName: string): Promise<any> {
return;
}
/**
* Get timestamp of user's last app visit
*
* @returns {Promise<any>} - Returns epoch seconds or -1
*/
@Cordova()
getUserLastVisitTs(): Promise<any> {
return;
}
/**
* Get the total number of times the user has launched the app
*
* @returns {Promise<any>}
*/
@Cordova()
getUserAppLaunchCount(): Promise<any> {
return;
}
/**
* Get full event history for the current user
*
* @returns {Promise<any>}
*/
@Cordova()
getUserEventLogHistory(): Promise<any> {
return;
}
/**
* @deprecated - Use getUserEventLog() instead
* Get Event First Time
*
* @param eventName {string}
@@ -365,6 +407,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated - Use getUserEventLog() instead
* Get Event Last Time
*
* @param eventName {string}
@@ -377,6 +420,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated - Use getUserEventLogCount() instead
* Get Event Number of Occurrences
*
* @param eventName {string}
@@ -389,6 +433,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* * @deprecated - Use getUserEventLog() instead
* Get Event Details
*
* @param eventName {string}
@@ -401,6 +446,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated - Use getUserEventLogHistory() instead
* Get Event History
* calls back with object {"eventName1":<event1 details object>, "eventName2":<event2 details object>}
*
@@ -674,6 +720,17 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Deletes all types of files which are preloaded for SDK features like custom in-app templates, app functions and variables etc.
*
* @param expiredOnly {boolean} - to clear only assets which will not be needed further for inapps
* @returns {Promise<any>}
*/
@Cordova()
clearFileResources(expiredOnly: boolean): Promise<any> {
return;
}
/**
* Fetches In Apps from server.
*
@@ -701,6 +758,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated - Use getUserAppLaunchCount() instead
* Get Session Total Visits
* calls back with with int or -1
*
@@ -723,6 +781,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated - Use getUserLastVisitTs() instead
* Get Session Previous Visit Time
* calls back with with epoch seconds or -1
*
@@ -1144,6 +1203,16 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Create File Variable
* @returns {Promise<any>}
* @param {string} variable The String specifying the name of file varible to be created.
*/
@Cordova()
defineFileVariable(variable: string): Promise<any> {
return;
}
/**
* Get a variable or a group for the specified name.
* @param {string} name - name.
@@ -1182,6 +1251,177 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Called when the value of the file variable is downloaded and ready
* @param {name} string the name of the variable
* @returns {Promise<any>}
*/
@Cordova()
onFileValueChanged(name: string): Promise<any> {
return;
}
/**
* Adds a callback to be invoked when variables are initialised with server values. Will be called only once on app start, or when added if server values are already received
* @returns {Promise<any>}
*/
@Cordova()
onOneTimeVariablesChanged(): Promise<any> {
return;
}
/**
* Adds a callback to be invoked when no files need to be downloaded or all downloads have been completed. It is called each time new values are fetched and downloads are completed.
* @returns {Promise<any>}
*/
@Cordova()
onVariablesChangedAndNoDownloadsPending(): Promise<any> {
return;
}
/**
* Adds a callback to be invoked only once for when new values are fetched and downloaded
* @returns {Promise<any>}
*/
@Cordova()
onceVariablesChangedAndNoDownloadsPending(): Promise<any> {
return;
}
/****************************
* Custom Templates methods
****************************/
/**
*
* Uploads Custom in-app templates and app functions to the server. Requires Development/Debug build/configuration.
* @returns {Promise<any>}
*/
@Cordova()
syncCustomTemplates(): Promise<any> {
return;
}
/**
* Uploads Custom in-app templates and app functions to the server.
* @param {boolean} isProduction Provide `true` if templates must be sync in Productuon build/configuration.
* @returns {Promise<any>}
*
*
* Note: This is NO-OP in Android
*/
@Cordova()
syncCustomTemplatesInProd(isProduction: boolean): Promise<any> {
return;
}
/**
* Notify the SDK that an active custom template is dismissed. The active custom template is considered to be
* visible to the user until this method is called. Since the SDK can show only one InApp message at a time, all
* other messages will be queued until the current one is dismissed.
* @param {string} templateName The name of the active template
* @returns {Promise<any>}
*/
@Cordova()
customTemplateSetDismissed(templateName: string): Promise<any> {
return;
}
/**
* Notify the SDK that an active custom template is presented to the user.
* @param {string} templateName The name of the active template
* @returns {Promise<any>}
*/
@Cordova()
customTemplateSetPresented(templateName: string): Promise<any> {
return;
}
/**
* Trigger a custom template action argument by name.
*
* @param {string} templateName The name of an active template for which the action is defined
* @param {string} argName The action argument na
* @returns {Promise<any>}
*/
@Cordova()
customTemplateRunAction(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Retrieve a string argument by name.
*
* @param {string} templateName The name of an active template for which the argument is defined
* @param {string} argName The action argument name
* @returns {Promise<any>}
*/
@Cordova()
customTemplateGetStringArg(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Retrieve a number argument by name.
*
* @param {string} templateName The name of an active template for which the argument is defined
* @param {string} argName The action argument name
* @returns {Promise<any>}
*/
@Cordova()
customTemplateGetNumberArg(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Retrieve a boolean argument by name.
*
* @param {string} templateName The name of an active template for which the argument is defined
* @param {string} argName The action argument name
* @returns {Promise<any>}
*/
@Cordova()
customTemplateGetBooleanArg(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Retrieve a file argument by name.
*
* @param {string} templateName The name of an active template for which the argument is defined
* @param {string} argName The action argument name
* @returns {Promise<any>}
*/
@Cordova()
customTemplateGetFileArg(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Retrieve an object argument by name.
*
* @param {string} templateName The name of an active template for which the argument is defined
* @param {string} argName The action argument name
* @returns {Promise<any>}
*/
@Cordova()
customTemplateGetObjectArg(templateName: string, argName: string): Promise<any> {
return;
}
/**
* Get a string representation of an active's template context with information about all arguments.
* @param {string} templateName The name of an active template
* @returns {Promise<any>}
*/
@Cordova()
customTemplateContextToString(templateName: string): Promise<any> {
return;
}
/****************************
* Android 13 Push Primer
****************************/

View File

@@ -0,0 +1,115 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export enum NotificationVisibility {
Visible = 0,
VisibleNotifyCompleted = 1,
VisibilityHidden = 2,
VisibleNotifyOnlyCompletion = 3
}
export interface DownloadHttpHeader {
header: string;
value: string;
}
export interface DestinationDirectory {
dirType: string;
subPath: string;
}
export interface DownloadRequest {
/**
* Location of the resource to download
*/
uri: string;
/**
* Set the title of this download, to be displayed in notifications (if enabled).
* If no title is given, a default one will be assigned based on the download filename, once the download starts.
*/
title?: string;
/**
* Set a description of this download, to be displayed in notifications (if enabled)
*/
description?: string;
/**
* Set the MIME content type of this download. This will override the content type declared in the server's response.
*/
mimeType?: string;
/**
* Set whether this download should be displayed in the system's Downloads UI. True by default.
*/
visibleInDownloadsUi?: boolean;
/**
* Control whether a system notification is posted by the download manager while this download is running or when it is completed.
*/
notificationVisibility?: NotificationVisibility;
/**
* Set the local destination for the downloaded file to a path within the application's external files directory
*/
destinationInExternalFilesDir?: DestinationDirectory;
/**
* Set the local destination for the downloaded file to a path within the public external storage directory
*/
destinationInExternalPublicDir?: DestinationDirectory;
/**
* Set the local destination for the downloaded file.
* Must be a file URI to a path on external storage, and the calling application must have the WRITE_EXTERNAL_STORAGE permission.
*/
destinationUri?: string;
/**
* Add an HTTP header to be included with the download request. The header will be added to the end of the list.
*/
headers?: DownloadHttpHeader[];
}
/**
* @name Document Downloader
* @description
* This plugin is designed to support downloading files using Android DownloadManager.
* @usage
* ```typescript
* var request: DownloadRequest = {
* uri: YOUR_URI,
* title: 'MyDownload',
* description: '',
* mimeType: '',
* visibleInDownloadsUi: true,
* notificationVisibility: NotificationVisibility.VisibleNotifyCompleted,
* destinationInExternalFilesDir: {
* dirType: 'Downloads',
* subPath: 'MyFile.apk'
* }
* };
*
*
* this.downloader.download(request)
* .then((location: string) => console.log('File downloaded at:'+location))
* .catch((error: any) => console.error(error));
* ```
* @interfaces
* Header
* DestinationDirectory
* DownloadHttpHeader
* @enums
* NotificationVisibility
*/
@Plugin({
pluginName: 'Downloader',
plugin: 'integrator-cordova-plugin-downloader',
pluginRef: 'cordova.plugins.Downloader',
repo: 'https://github.com/Luka313/integrator-cordova-plugin-downloader.git',
platforms: ['Android'],
})
@Injectable()
export class Downloader extends AwesomeCordovaNativePlugin {
/**
* Starts a new download and returns location of the downloaded file on completion
* @param request {DownloadRequest}
*/
@Cordova()
download(request: DownloadRequest): Promise<string> {
return;
}
}

View File

@@ -15,6 +15,18 @@ export interface FacebookLoginResponse {
};
}
export interface FacebookLimitedLoginResponse {
status: string;
authResponse: {
authenticationToken: string;
nonce: string;
userID: string;
};
}
/**
* @name Facebook
* @description
@@ -226,10 +238,11 @@ export class Facebook extends AwesomeCordovaNativePlugin {
* ```
*
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/limited-login/permissions) this app has upon logging in.
* @returns {Promise<FacebookLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
* @param {string} nonce Nonce to create the configuration with.
* @returns {Promise<FacebookLimitedLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
*/
@Cordova()
loginWithLimitedTracking(permissions: string[]): Promise<FacebookLoginResponse> {
loginWithLimitedTracking(permissions: string[], nonce: string): Promise<FacebookLimitedLoginResponse> {
return;
}

View File

@@ -15,6 +15,18 @@ export interface FbSdkLoginResponse {
};
}
export interface FbSdkLimitedLoginResponse {
status: string;
authResponse: {
authenticationToken: string;
nonce: string;
userID: string;
};
}
/**
* @name FbSdk
* @description
@@ -231,10 +243,11 @@ export class FbSdk extends AwesomeCordovaNativePlugin {
* ```
*
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/limited-login/permissions) this app has upon logging in.
* @returns {Promise<FbSdkLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
* @param {string} nonce Nonce to create the configuration with.
* @returns {Promise<FbSdkLimitedLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
*/
@Cordova()
loginWithLimitedTracking(permissions: string[]): Promise<FbSdkLoginResponse> {
loginWithLimitedTracking(permissions: string[], nonce: string): Promise<FbSdkLimitedLoginResponse> {
return;
}

View File

@@ -157,6 +157,22 @@ export interface FingerprintSecretOptions extends FingerprintOptions {
invalidateOnEnrollment?: boolean;
}
export interface FingerprintAvailableOptions {
/**
* (Android): If true will only return success if Class 3 (BIOMETRIC_STRONG) Biometrics are enrolled on the device.
* It is reccomended you use this if planning on using the registerBiometricSecret and loadBiometricSecret methods.
*/
requireStrongBiometrics: boolean;
/**
* (iOS): If true checks if backup authentication option is available, e.g. passcode.
* Default: false, which means check for biometrics only.
*
* @default false
*/
allowBackup?: boolean;
}
/**
* @name Fingerprint AIO
* @description
@@ -209,6 +225,7 @@ export interface FingerprintSecretOptions extends FingerprintOptions {
* @interfaces
* FingerprintOptions
* FingerprintSecretOptions
* FingerprintAvailableOptions
*/
@Plugin({
pluginName: 'FingerprintAIO',
@@ -223,11 +240,14 @@ export class FingerprintAIO extends AwesomeCordovaNativePlugin {
/**
* Check if fingerprint authentication is available
*
* @param {FingerprintAvailableOptions} options Options for platform specific fingerprint API
* @returns {Promise<BIOMETRIC_TYPE>} Returns a promise with result which depends on device and os.
* iPhone X will return 'face' other Android or iOS devices will return 'finger' Android P+ will return 'biometric'
*/
@Cordova()
isAvailable(): Promise<BIOMETRIC_TYPE> {
@Cordova({
callbackOrder: 'reverse'
})
isAvailable(options: FingerprintAvailableOptions): Promise<BIOMETRIC_TYPE> {
return;
}

View File

@@ -1,12 +1,5 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
IonicNativePlugin,
} from '@ionic-native/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export enum FirebaseModelStatus {
@@ -93,7 +86,7 @@ export class FirebaseModelInput {
platforms: ['iOS'], // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class FirebaseModel extends IonicNativePlugin {
export class FirebaseModel extends AwesomeCordovaNativePlugin {
/**
* This function configure the Firebase TFLite model and downloads.
* @param {string} arg1 Name of the TFLite model which is uploaded in the Firebase console

View File

@@ -0,0 +1,54 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name IRoot
* @description
* Use this plugin to add an extra layer of security for your app by detecting if the device was rooted (on android) or jailbreaked (on iOS).
*
* @usage
* ```typescript
* import { IRoot } from '@awesome-cordova-plugins/i-root';
*
* constructor(private iRoot: IRoot) { }
*
* ...
*
* this.iRoot.isRooted()
* .then((res: boolean) => console.log('is rooted?', res))
* .catch((error: string) => console.error(error));
*
* this.iRoot.isRootedWithBusyBox()
* .then((res: boolean) => console.log('is rooted?', res))
* .catch((error: string) => console.error(error));
* ```
*/
@Plugin({
pluginName: 'IRoot',
plugin: 'cordova-plugin-IRoot',
pluginRef: 'IRoot',
repo: 'https://github.com/WuglyakBolgoink/cordova-plugin-IRoot',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class IRoot extends AwesomeCordovaNativePlugin {
/**
* Checks if the device is rooted/jailbroken.
* @return {Promise<boolean>} Resolves to true if the device is Jailbroken/rooted, otherwise false.
*/
@Cordova()
isRooted(): Promise<boolean> {
return;
}
/**
* Android only! Checks if the device was rooted via busybox.
* @return {Promise<boolean>} Resolves to true if the device is Jailbroken/rooted, otherwise false.
*/
@Cordova({
platforms: ['android'],
})
isRootedWithBusyBox(): Promise<boolean> {
return;
}
}

View File

@@ -191,9 +191,13 @@ export interface Content {
*/
type: string;
/**
* Optional. The name of the file.
* The name of the file, if the message content is a file attachment.
*/
fileName?: string;
fileName: string;
/**
* Android ONLY. Optional. "contentID" is a unique identifier for the attachment, used to fetch the file. It is preferred over "fileName" when available.
*/
contentID?: string;
/**
* Message's content.
*/
@@ -454,6 +458,17 @@ export enum FlagEnum {
* console.error(error)
* });
*
* * Download Email Attachment
* * The 'contentID' (the last parameter) can be set to an empty string ('') or null if it's not provided.
* this.imap.downloadEmailAttachment('INBOX', 1545, '/storage/emulated/0/Download', false, 'image001.png', '<f_lqqj1d851>')
* .then((res: boolean) => {
* // Returns "true" if the attachment is successfully saved, else returns "false".
* console.log(res)
* })
* .catch((error: any) => {
* console.error(error)
* });
*
* ```
*/
@Plugin({
@@ -617,4 +632,27 @@ export class Imap extends AwesomeCordovaNativePlugin {
setFlag(folderName: string, messageNums: number[], flag: FlagEnum, status: boolean): Promise<ModificationResult> {
return;
}
/**
* "downloadEmailAttachment(folderName: string, messageNo: number, path: string, replaceIfDuplicate: boolean, fileName: string, contentID: string)"
* Download email attachment using "fileName" or "contentID" Android only. "contentID" is preferred when available, and it works only on Android.
* @param folderName {string} The name of the desired folder.
* @param messageNo {number} Message's consecutive number.
* @param path {string} The file path where the attachment should be saved.
* @param replaceIfDuplicate {boolean} When set to true, duplicate attachments are overwritten, when set to false, the file name is modified by appending a suffix (e.g., file_name (1).type) to avoid overwriting.
* @param fileName {string} The name of the attachment to be downloaded.
* @param contentID {string} Optional parameter. Android ONLY. The "contentID" of the attachment to be downloaded. This parameter is preferred if available.
* @return {Promise<boolean>} Returns boolean status of the process.
*/
@Cordova()
downloadEmailAttachment(
folderName: string,
messageNo: number,
path: string,
replaceIfDuplicate: boolean,
fileName: string,
contentID: string
): Promise<boolean> {
return;
}
}

View File

@@ -125,7 +125,8 @@ export type InAppBrowserEventType =
| 'exit'
| 'beforeload'
| 'message'
| 'customscheme';
| 'customscheme'
| string
export interface InAppBrowserEvent extends Event {
/** the event name */
@@ -245,19 +246,6 @@ export class InAppBrowserObject {
});
}
/**
* A method that allows you to listen to events happening in the browser.
*
* @param event {string} Name of the event
* @returns {Observable<InAppBrowserEvent>} Returns back an observable that will listen to the event on subscribe, and will stop listening to the event on unsubscribe.
*/
@InstanceCheck()
on(event: string): Observable<InAppBrowserEvent> {
return new Observable<InAppBrowserEvent>((observer: Observer<InAppBrowserEvent>) => {
this._objectInstance.addEventListener(event, observer.next.bind(observer));
return () => this._objectInstance.removeEventListener(event, observer.next.bind(observer));
});
}
}
/**

View File

@@ -248,6 +248,9 @@ export class IAPError {
* - **macOS** version 10
* - **Xbox One**
* - (and any platform supporting Microsoft's UWP)
* - **cordova-plugin-purchase** version 12 or lower.
* @see https://github.com/j3k0/cordova-plugin-purchase/wiki/HOWTO:-Migrate-to-v13 For cordova-plugin-purchase versions
* 13 and higher, use awesome cordova plugin InAppPurchase3 instead
* @usage
* ```typescript
* import { InAppPurchase2 } from '@awesome-cordova-plugins/in-app-purchase-2/ngx';

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@ import { Injectable } from '@angular/core';
* @name Intercom
* @description
* This is a plugin that allows your Ionic app to use Intercom for iOS and/or Intercom for Android.
* Follow the offical documentation to setup this plugin correctly: https://developers.intercom.com/docs/cordova-phonegap-configuration
* Follow the offical documentation to setup this plugin correctly: https://developers.intercom.com/installing-intercom/cordova-phonegap/installation
* @usage
* ```typescript
* import { Intercom } from '@awesome-cordova-plugins/intercom/ngx';
@@ -31,196 +31,298 @@ import { Injectable } from '@angular/core';
@Injectable()
export class Intercom extends AwesomeCordovaNativePlugin {
/**
* Register a identified user
*
* @param options {any} Options
* @returns {Promise<any>} Returns a promise
* Login a user with identifiable information.
* Valid identifiers are `userId` and `email` which must be set in an object.
* @param options The object that contains the user's `email` or `userId`.
*/
@Cordova()
registerIdentifiedUser(options: any): Promise<any> {
loginUserWithUserAttributes(options: IntercomLoginUserAttributes): Promise<void> {
return;
}
/**
* Register a unidentified user
*
* @param options {any} Options
* @returns {Promise<any>} Returns a promise
* Login a unidentified user.
* This is a user that doesn't have any identifiable information such as a `userId` or `email`.
*/
@Cordova()
registerUnidentifiedUser(options: any): Promise<any> {
loginUnidentifiedUser(options: { [key: string]: number | string }): Promise<void> {
return;
}
/**
* This resets the Intercom integration's cache of your user's identity and wipes the slate clean.
*
* @returns {Promise<any>} Returns a promise
* Log a user out of their Intercom session.
* This will dismiss any Intercom UI and clear Intercom's local cache.
*/
@Cordova()
reset(): Promise<any> {
logout(): Promise<void> {
return;
}
/**
*
* @returns {Promise<any>} Returns a promise
* Determines if there is currently a user logged in.
*/
@Cordova()
logout(): Promise<any> {
isUserLoggedIn(): Promise<boolean> {
return;
}
/**
* Fetches the user attribtues of the currently logged in user.
*
* @param secureHash {string}
* @param secureData {any}
* @returns {Promise<any>} Returns a promise
* @deprecated Use setUserHash instead as of Intercom Cordova 4.0.0 and higher https://github.com/intercom/intercom-cordova/blob/master/CHANGELOG.md#400-2017-08-29
* return A user registration object.
*/
@Cordova()
setSecureMode(secureHash: string, secureData: any): Promise<any> {
fetchLoggedInUserAttributes(): Promise<any> {
return;
}
/**
* Set `hash` string if you are using Identity Verification for your Intercom workspace.
* @note This should be called before any user login takes place.
*
* @param secureHash {string}
* @returns {Promise<any>} Returns a promise
* Identity Verification helps to make sure that conversations between you and your users are kept private, and that one
* user can't impersonate another. If Identity Verification is enabled for your app, Intercom will sign all requests
* going to the Intercom servers with tokens. It requires your mobile application to have its own server which authenticates the app's users,
* and which can store a secret.
*
* @see More information on Identity Verification can be found {@link https://developers.intercom.com/installing-intercom/cordova-phonegap/identity-verification/ here}
* @param secureHash A HMAC digest of the user ID or email.
*/
@Cordova()
setUserHash(secureHash: string): Promise<any> {
setUserHash(secureHash: string): Promise<void> {
return;
}
/**
* Update a user in Intercom with data specified in an object.
*
* @param attributes {any}
* @returns {Promise<any>} Returns a promise
* @param attributes The object with the user data.
*/
@Cordova()
updateUser(attributes: any): Promise<any> {
updateUser(attributes: IntercomUserAttributes): Promise<void> {
return;
}
/**
* Log an event with a given name and metaData.
* You can log events in Intercom based on user actions in your app.
*
* @param eventName {string}
* @param metaData {any}
* @returns {Promise<any>} Returns a promise
* @param eventName The name of the event.
* @param metaData Metadata Objects support a few simple types that Intercom can present on your behalf,
* @see https://developers.intercom.com/docs/references/rest-api/api.intercom.io/Data-Events/data_event/ Intercom API docs
*/
@Cordova()
logEvent(eventName: string, metaData: any): Promise<any> {
logEvent(eventName: string, metaData: IntercomEventMetaData): Promise<void> {
return;
}
/**
*
* @returns {Promise<any>} Returns a promise
* Present Intercom as a modal overlay in your app.
* The `Home` space is displayed by default.
*/
@Cordova()
displayMessenger(): Promise<any> {
present(): Promise<void> {
return;
}
/**
* Present an Intercom `space` as a modal overlay in your app
* @see {@link Space} for a list of valid spaces.
*
* @returns {Promise<any>} Returns a promise
* @param space The Intercom space to be presented.
*/
@Cordova()
displayMessageComposer(): Promise<any> {
presentSpace(space: IntercomSpace): Promise<void> {
return;
}
/**
* Present Intercom content.
*
* @param initialMessage {string}
* @returns {Promise<any>} Returns a promise
* An IntercomContent object.
*/
@Cordova()
displayMessageComposerWithInitialMessage(initialMessage: string): Promise<any> {
presentContent(content: IntercomPresentContent): Promise<void> {
return;
}
/**
* Present the message composer.
*
* @returns {Promise<any>} Returns a promise
* @param initialMessage An optional message that is used to pre-populate the composer with some text.
*/
@Cordova()
displayConversationsList(): Promise<any> {
presentMessageComposer(initialMessage: string): Promise<void> {
return;
}
/**
* Fetch all Help Center collections.
*
* @returns {Promise<any>} Returns a promise
* @return An array of HelpCenterCollection objects.
*/
@Cordova()
displayHelpCenter(): Promise<any> {
fetchHelpCenterCollections(): Promise<IntercomHelpCenterCollectionContent[]> {
return;
}
/**
* Fetch the contents of a Help Center collection.
*
* @returns {Promise<any>} Returns a promise
* @param collectionId The ID of the Help Center collection.
*
* @return A HelpCenterCollectionContent object.
*/
@Cordova()
unreadConversationCount(): Promise<any> {
fetchHelpCenterCollection(collectionId: string): Promise<IntercomHelpCenterCollectionContent> {
return;
}
/**
* Search the Help Center.
*
* @param visibility {string}
* @returns {Promise<any>} Returns a promise
* @param searchTerm The search term.
*
* @return An array of HelpCenterArticleSearchResult objects.
*/
@Cordova()
setLauncherVisibility(visibility: string): Promise<any> {
searchHelpCenter(searchTerm: string): Promise<IntercomHelpCenterArticleSearchResult> {
return;
}
/**
*
* @param visibility {string}
* @returns {Promise<any>} Returns a promise
* Fetch the current number of unread conversations for the logged in User.
* @return The number of unread conversations.
*/
@Cordova()
setInAppMessageVisibility(visibility: string): Promise<any> {
unreadConversationCount(): Promise<number> {
return;
}
/**
* Show or hide the Intercom Launcher in your app.
* @note The Launcher is hidden by default.
*
* @returns {Promise<any>} Returns a promise
* @param visibility A boolean indicating if the Intercom Launcher should be visible.
*/
@Cordova()
hideMessenger(): Promise<any> {
setLauncherVisibility(visibility: IntercomVisibility): Promise<void> {
return;
}
/**
* Show or hide the Intercom InApp Messages in your app.
* @note All InApp Messages are visible by default.
*
* @returns {Promise<any>} Returns a promise
* @param visibility A boolean indicating if the InApps should be visible.
*/
@Cordova()
registerForPush(): Promise<any> {
setInAppMessageVisibility(visibility: IntercomVisibility): Promise<void> {
return;
}
/**
*
* @param token {string}
* @returns {Promise<any>} Returns a promise
* Hide all Intercom windows that are currently displayed.
* This will hide the Messenger, Help Center, Articles, and in-product messages (eg. Mobile Carousels, chats, and posts).
*/
@Cordova()
sendPushTokenToIntercom(token: string): Promise<any> {
hideIntercom(): Promise<void> {
return;
}
/**
* Set a fixed bottom padding for in app messages and the Intercom Launcher.
* @param bottomPadding The size of the bottom padding in points.
*/
@Cordova()
setBottomPadding(bottomPadding: number): Promise<void> {
return;
}
/**
* Register for push notifications
* @note This function is only available for iOS.
*/
@Cordova()
registerForPush(): Promise<void> {
return;
}
/**
* Send a device token to Intercom to enable push notifications to be sent to the User.
* @param token The device token to send to the server.
*
* @param carouselId {string}
* @returns {Promise<any>} Returns a promise
* @note This function is only available for Android.
*/
@Cordova()
sendPushTokenToIntercom(token: string): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
registerIdentifiedUser(options: any): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
registerUnidentifiedUser(options: any): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
reset(): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayMessenger(): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayHelpCenter(): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayMessageComposerWithInitialMessage(initialMessage: string): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayMessageComposer(): Promise<void> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayHelpCenterCollections(collectionIds: string[]): Promise<any> {
return;
}
/**
* @deprecated
*/
@Cordova()
displayCarousel(carouselId: string): Promise<any> {
@@ -228,9 +330,7 @@ export class Intercom extends AwesomeCordovaNativePlugin {
}
/**
*
* @param articleId {string}
* @returns {Promise<any>} Returns a promise
* @deprecated
*/
@Cordova()
displayArticle(articleId: string): Promise<any> {
@@ -238,22 +338,80 @@ export class Intercom extends AwesomeCordovaNativePlugin {
}
/**
*
* @param bottomPadding {string | number}
* @returns {Promise<any>} Returns a promise
*/
@Cordova()
setBottomPadding(bottomPadding: string | number): Promise<any> {
return;
}
/**
* Programmatically display a Survey
* @param surveyId {string}
* @returns {Promise<any>} Returns a promise
* @deprecated
*/
@Cordova()
displaySurvey(surveyId: string): Promise<any> {
return;
}
}
export enum IntercomVisibility {
VISIBLE = 'VISIBLE',
GONE = 'GONE',
}
export enum IntercomSpace {
Home = 'HOME',
HelpCenter = 'HELP_CENTER',
Messages = 'MESSAGES',
Tickets = 'TICKETS',
}
export interface IntercomHelpCenterCollectionContent {
collectionId: string;
title: string;
summary: string;
articles: any[];
sections: any[];
}
export enum IntercomPresentContentType {
Article = 'ARTICLE',
Carousel = 'CAROUSEL',
Survey = 'SURVEY',
HelpCenterCollections = 'HELP_CENTER_COLLECTIONS',
Conversation = 'CONVERSATION',
}
export type IntercomPresentContent =
| { id: string; type: IntercomPresentContentType }
| { ids: string[]; type: IntercomPresentContentType };
export interface IntercomUserAttributes {
email?: string;
user_id?: string;
name?: string;
phone?: string;
language_override?: string;
signed_up_at?: string;
unsubscribed_from_emails?: string;
custom_attributes?: string;
companies?: string[];
}
export interface IntercomEventMetaData {
created_at: string;
type?: string;
metadata?: any;
[key: string]: number | string | { [key: string]: number | string };
}
export type IntercomLoginUserAttributes =
| {
email: string;
}
| {
userId: string;
}
| {
email: string;
userId: string;
};
export interface IntercomHelpCenterArticleSearchResult {
articleId: string;
title: string;
summary: string;
matchingSnippet: string;
}

View File

@@ -323,7 +323,7 @@ export class LaunchNavigator extends AwesomeCordovaNativePlugin {
*/
@Cordova({
successIndex: 1,
errorIndex: 2
errorIndex: 2,
})
navigate(destination: string | number[], options?: LaunchNavigatorOptions): Promise<any> {
return;
@@ -447,4 +447,16 @@ export class LaunchNavigator extends AwesomeCordovaNativePlugin {
*/
@Cordova({ sync: true })
userSelect(destination: string | number[], options: LaunchNavigatorOptions): void {}
/**
* Sets the Google API key for Android.
*
* @param api_key {string} - Google API key.
* Note: This function is also available on iOS but it does nothing. This is to keep the interface consistent between the platforms
* @returns {Promise<void>}
*/
@Cordova({ platforms: ['Android', 'iOS'] })
setApiKey(api_key: string): Promise<void> {
return;
}
}

View File

@@ -17,7 +17,8 @@ export type Event =
| 'depersonalized'
| 'inAppChat.availabilityUpdated'
| 'inAppChat.unreadMessageCounterUpdated'
| 'deeplink';
| 'deeplink'
| 'inAppChat.viewStateChanged';
export interface CustomEvent {
definitionId: string;
@@ -31,6 +32,7 @@ export interface Configuration {
applicationCode: string;
geofencingEnabled?: boolean;
inAppChatEnabled?: boolean;
fullFeaturedInAppsEnabled?: boolean | undefined;
/**
* Message storage save callback
*/
@@ -167,6 +169,20 @@ export interface Message {
webViewUrl?: string;
inAppOpenTitle?: string | undefined;
inAppDismissTitle?: string;
topic?: string | undefined;
}
export interface MMInbox {
countTotal: number;
countUnread: number;
messages?: Message[] | undefined;
}
export interface MMInboxFilterOptions {
fromDateTime?: string | undefined;
toDateTime?: string | undefined;
topic?: string | undefined;
limit?: number | undefined;
}
export interface MobileMessagingError {
@@ -592,4 +608,55 @@ export class MobileMessaging extends AwesomeCordovaNativePlugin {
resetMessageCounter() {
return;
}
/**
* Registers for Android POST_NOTIFICATIONS permission
* @name registerForAndroidRemoteNotifications
*/
@Cordova()
registerForAndroidRemoteNotifications() {
return;
}
/**
* Fetch mobile inbox data from the server.
*
* @name fetchInboxMessages
* @param token access token (JWT in a strictly predefined format) required for current user to have access to the Inbox messages
* @param externalUserId External User ID is meant to be an ID of a user in an external (non-Infobip) service
* @param filterOptions filtering options applied to messages list in response. Nullable, will return default number of messages
* @param callback will be called on success
* @param {Function} errorCallback will be called on error
*/
@Cordova()
fetchInboxMessages(token: string, externalUserId: string, filterOptions: MMInboxFilterOptions): Promise<MMInbox> {
return;
}
/**
* Fetch mobile inbox without token from the server.
*
* @name fetchInboxMessagesWithoutToken
* @param externalUserId External User ID is meant to be an ID of a user in an external (non-Infobip) service
* @param filterOptions filtering options applied to messages list in response. Nullable, will return default number of messages
* @param callback will be called on success
* @param {Function} errorCallback will be called on error
*/
@Cordova()
fetchInboxMessagesWithoutToken(externalUserId: string, filterOptions: MMInboxFilterOptions): Promise<MMInbox> {
return;
}
/**
* Asynchronously marks inbox messages as seen
*
* @param externalUserId External User ID is meant to be an ID of a user in an external (non-Infobip) service
* @param messageIds array of inbox messages identifiers that need to be marked as seen
* @param callback will be called on success
* @param {Function} errorCallback will be called on error
*/
@Cordova()
setInboxMessagesSeen(externalUserId: string, messageIds: string[]): Promise<string[]> {
return;
}
}

View File

@@ -0,0 +1,44 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Network Permission
* @description
* Requires Cordova plugin: cordova-plugin-network-permission. For more info, please see the [Network permission plugin docs](https://github.com/j5int/cordova-plugin-network-permission).
* @usage
* ```typescript
* import { NetworkPermission } from '@awesome-cordova-plugins/network-permission/ngx';
*
* constructor(private networkPermission: NetworkPermission) { }
*
* ...
*
* this.networkPermission.requestLocalNetworkPermission()
* .then(() => {
* console.log('Permission was granted successful');
* })
* .catch(() => {
* console.log('Permission declined');
* });
*
* ```
*/
@Plugin({
pluginName: 'NetworkPermission',
plugin: 'cordova-plugin-network-permission',
pluginRef: 'localNetworkPermission',
repo: 'https://github.com/j5int/cordova-plugin-network-permission',
platforms: ['iOS'],
})
@Injectable()
export class NetworkPermission extends AwesomeCordovaNativePlugin {
/**
* Request local network permission
*
* @returns {Promise<boolean>}
*/
@Cordova()
requestLocalNetworkPermission(): Promise<boolean> {
return;
}
}

View File

@@ -0,0 +1,56 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
export interface ConfigOptions {
androidId?: string;
serialNumber?: string;
simulatorDisabled?: boolean;
storageDisabled?: boolean;
adEnabled?: boolean;
macDisabled?: boolean;
macAddress?: string;
imeiDisabled?: boolean;
imei?: string;
gaid?: string;
oaid?: string;
}
@Plugin({
pluginName: 'OpenInstall',
plugin: 'cordova-plugin-openinstall',
pluginRef: 'openinstall',
repo: 'https://github.com/openinstall/cordova-plugin-openinstall',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class OpenInstall extends AwesomeCordovaNativePlugin {
@Cordova({ sync: true, platforms: ['Android'] })
configAndroid(options: ConfigOptions): void {}
@Cordova({ sync: true })
serialEnabled(enabled: boolean): void {}
@Cordova({ sync: true })
clipBoardEnabled(enabled: boolean): void {}
@Cordova({ sync: true })
init(): void {}
@Cordova({ sync: true })
getInstall(onSuccess: Function, onError: Function, time: number): void {}
@Cordova({ sync: true, platforms: ['Android'] })
getInstallCanRetry(onSuccess: Function, onError: Function, time: number): void {}
@Cordova({ sync: true })
registerWakeUpHandler(onSuccess: Function, onError: Function): void {}
@Cordova({ sync: true })
reportRegister(): void {}
@Cordova({ sync: true })
reportEffectPoint(pointId: string, pointValue: number, extras?: { [key: string]: string }): void {}
@Cordova({ sync: true })
reportShare(onSuccess: Function, onError: Function, shareCode: string, sharePlatform: string): void {}
}

View File

@@ -23,7 +23,7 @@ declare const navigator: any;
*/
@Plugin({
pluginName: 'Screenshot',
plugin: '@herdwatch-apps/cordova-plugin-screenshot',
plugin: '@herdwatch/cordova-plugin-screenshot',
pluginRef: 'navigator.screenshot',
repo: 'https://github.com/herdwatch-apps/cordova-plugin-screenshot',
platforms: ['Android', 'iOS'],

View File

@@ -0,0 +1,144 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface Intent {
// Defaults to currently running activity
activityClass?: string;
// Defaults to currently running package
activityPackage?: string;
// Defaults to ACTION_VIEW
action?: string;
// Defaults to FLAG_ACTIVITY_NEW_TASK + FLAG_ACTIVITY_CLEAR_TOP
flags?: number;
categories?: string[];
data?: string;
extras?: { [key: string]: any };
}
export interface Shortcut {
id: string;
shortLabel?: string;
longLabel?: string;
iconFromResource?: string;
iconBitmap?: string;
intent?: Intent;
}
/**
* @name ShortcutsAndroid
* @description
* Use this plugin to create shortcuts in Android. Use this plugin to handle Intents on your application.
* For more information on Android App Shortcuts: https://developer.android.com/guide/topics/ui/shortcuts.html
* For more information on Android Intents: https://developer.android.com/guide/components/intents-filters.html
*
* The work that went into creating this plug-in was inspired by the existing plugins: cordova-plugin-shortcut and cordova-plugin-webintent2.
*
* @usage
* Please do refer to the original plugin's repo for detailed usage. The usage example here might not be sufficient.
*
* ```typescript
* import { ShortcutsAndroid } from '@ionic-native/shortcuts-android/ngx';
*
*
* constructor(private shortcutsAndroid: ShortcutsAndroid) { }
*
* ...
*
* this.shortcutsAndroid.supportsDynamic()
* .then((supported: boolean) => console.log(`Dynamic shortcuts are ${supported ? '' : 'not'} supported`))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'ShortcutsAndroid',
plugin: 'cordova-plugin-shortcuts-android',
pluginRef: 'plugins.Shortcuts',
repo: 'https://github.com/avargaskun/cordova-plugin-shortcuts-android',
platforms: ['Android'],
})
@Injectable()
export class ShortcutsAndroid extends AwesomeCordovaNativePlugin {
/**
* Checking if Dynamic Shortcuts are supported
*
* Dynamic shortcuts require SDK 25 or later. Use supportsDynamic to check whether the current device meets those requirements.
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if dynamic shortcuts are supported
*/
@Cordova()
supportsDynamic(): Promise<boolean> {
return;
}
/**
* Checking if Pinned Shortcuts are supported
*
* Pinned shortcuts require SDK 26 or later. Use supportsPinned to check whether the current device meets those requirements.
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if pinned shortcuts are supported
*/
@Cordova()
supportsPinned(): Promise<boolean> {
return;
}
/**
* Setting the application Dynamic Shortcuts
*
* Use `setDynamic` to set the Dynamic Shortcuts for the application, all at once. The shortcuts provided as a parameter will override any existing shortcut. Use an empty array to clear out existing shortcuts.
* @return {Promise<void>}
* @param shortcuts
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
setDynamic(shortcuts: Shortcut[]): Promise<void> {
return;
}
/**
* Adding a Pinned Shortcut to the launcher
*
* Use `addPinned` to add a new Pinned Shortcut to the launcher.
* @param {Shortcut[]} [shortcut] Array of shortcuts to add.
* @return {Promise<void>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
addPinned(shortcut: Shortcut): Promise<void> {
return;
}
/**
* Querying current Intent
*
* Use `getIntent` to get the Intent that was used to launch the current instance of the Cordova activity.
* @return {Promise<Intent>} returns the Intent that was used to launch the current instance of the Cordova activity
*/
@Cordova()
getIntent(): Promise<Intent> {
return;
}
/**
* Subscribe to new Intents
*
* Use onNewIntent to trigger your code every time a new Intent is sent to your Cordova activity. Note that in some conditions this subscription may not be executed.
* @return {Observable<Intent>} emits the new Intent each time a shortcut is activated
*/
@Cordova({
observable: true,
})
onNewIntent(): Observable<Intent> {
return;
}
}

View File

@@ -0,0 +1,269 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin, CordovaProperty } from '@awesome-cordova-plugins/core';
import { Observable, fromEventPattern } from 'rxjs';
import { filter, map } from 'rxjs/operators';
/**
* @name SocketsTcp
* @description
* This plugin provides TCP client sockets for Android and iOS.
* @usage
* ```typescript
* import { SocketsTcp } from '@awesome-cordova-plugins/sockets-tcp/ngx';
*
* constructor(private socketsTcp: SocketsTcp) { }
*
* ...
*
* this.platform.ready().then(() => {
* this.socketsTcp.getSockets()
* .then((result: any) => console.log(res))
* .catch((error: any) => console.error(error));
* })
*
* ```
*/
@Plugin({
pluginName: 'SocketsTcp',
plugin: 'cordova-plugin-chrome-apps-sockets-tcp',
pluginRef: 'chrome.sockets.tcp',
repo: 'https://github.com/KoenLav/cordova-plugin-chrome-apps-sockets-tcp',
install: 'ionic cordova plugin add https://github.com/KoenLav/cordova-plugin-chrome-apps-sockets-tcp',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class SocketsTcp extends AwesomeCordovaNativePlugin {
@CordovaProperty()
onReceive: SocketTcpEvent;
@CordovaProperty()
onReceiveError: SocketTcpEvent;
/**
* @param properties
*/
@Cordova()
create(properties: any): Promise<SocketTcpInfo> {
return;
}
/**
*
* @param socketId
* @param properties
*/
@Cordova()
update(socketId: number, properties: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param paused
*/
@Cordova()
setPaused(socketId: number, paused: boolean): Promise<any> {
return;
}
/**
*
* @param socketId
* @param enabled
* @param delay
*/
@Cordova()
setKeepAlive(socketId: number, enabled: boolean, delay: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param noDelay
*/
@Cordova({
platforms: ['Android'],
})
setNoDelay(socketId: number, noDelay: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param peerAddress
* @param peerPort
*/
@Cordova()
connect(socketId: number, peerAddress: string, peerPort: number): Promise<any> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
disconnect(socketId: number): Promise<any> {
return;
}
/**
*
* @param socketId
* @param options
*/
@Cordova()
secure(socketId: number, options: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param data
*/
@Cordova()
send(socketId: number, data: ArrayBuffer): Promise<any> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
close(socketId: number): Promise<any> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
getInfo(socketId: number): Promise<any> {
return;
}
/**
*
*/
@Cordova()
getSockets(): Promise<SocketTcpInfo[]> {
return;
}
/**
*
* @param socketId
* @param options
*/
@Cordova()
pipeToFile(socketId: number, options: any): Promise<any> {
return;
}
/**
* Watch all incoming data event
*/
public onReceiveData(): Observable<SocketTcpDataInfo> {
return fromEventPattern(
(eventHandler) => this.onReceive.addListener(eventHandler),
(errorEventHandler) => this.onReceive.removeListener(errorEventHandler)
).pipe(
map((socketUdpDataInfo: SocketTcpDataInfo) => {
socketUdpDataInfo.dataAsSting = socketUdpDataInfo.data
? new TextDecoder().decode(socketUdpDataInfo.data).trim()
: null;
return socketUdpDataInfo;
})
);
}
/**
* Watch socket incoming data
* @param socketId
*/
public onReceiveDataBySocketId(socketId: number) {
return this.onReceiveData().pipe(filter((socketDataInfo) => socketDataInfo.socketId === socketId));
}
/**
* Watch all sockets incoming error event listener
*/
public onReceiveDataError(): Observable<SocketTcpErrorInfo> {
return fromEventPattern(
(eventHandler) => this.onReceiveError.addListener(eventHandler),
(errorEventHandler) => this.onReceiveError.removeListener(errorEventHandler)
);
}
/**
* Watch socket incoming error event listener
* @param socketId
*/
public onReceiveDataErrorBySocketId(socketId: number) {
return this.onReceiveDataError().pipe(filter((socketDataInfo) => socketDataInfo.socketId === socketId));
}
}
export interface SocketTcpInfo {
socketId: number;
persistent?: boolean;
bufferSize?: number;
connected?: boolean;
name?: string;
paused?: boolean;
localAddress?: string;
localPort?: number;
peerAddress?: string;
peerPort?: number;
[key: string]: any;
}
export interface SocketTcpDataInfo {
socketId: number;
uri: string;
bytesRead: number;
data: ArrayBuffer;
dataAsSting: string;
}
export interface SocketTcpErrorInfo {
message: string;
resultCode: SocketTcpErrorResultCode;
socketId: number;
e?: boolean;
}
export enum SocketTcpErrorResultCode {
SocketClosedByServer = 1,
ConnectionTimedOut = 2,
GenericSocketError = 3,
SocketNotConnected = 4,
ConnectionRefused = 5,
}
interface SocketTcpEvent {
addListener(cb: (...args: any[]) => void): void;
removeListener(cb: (...args: any[]) => void): void;
fire(): void;
hasListener(): boolean;
hasListeners(): boolean;
// Stub
addRules(): void;
// Stub
getRules(): void;
// Stub
removeRules(): void;
}

View File

@@ -0,0 +1,266 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin, CordovaProperty } from '@awesome-cordova-plugins/core';
import { Observable, fromEventPattern } from 'rxjs';
import { filter, map } from 'rxjs/operators';
/**
* @name SocketsUdp
* @description
* This plugin provides UDP sockets for Android and iOS.
* @usage
* ```typescript
* import { SocketsUdp } from '@awesome-cordova-plugins/sockets-udp/ngx';
*
* constructor(private socketsUdp: SocketsUdp) { }
*
* ...
*
* this.platform.ready().then(() => {
* this.socketsUdp.getSockets()
* .then((result: any) => console.log(res))
* .catch((error: any) => console.error(error));
* })
*
* ```
*/
@Plugin({
pluginName: 'SocketsUdp',
plugin: 'cordova-plugin-chrome-apps-sockets-udp',
pluginRef: 'chrome.sockets.udp',
repo: 'https://github.com/herdwatch-apps/cordova-plugin-chrome-apps-sockets-udp',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class SocketsUdp extends AwesomeCordovaNativePlugin {
@CordovaProperty()
onReceive: SocketUdpEvent;
@CordovaProperty()
onReceiveError: SocketUdpEvent;
/**
*
* @param properties
*/
@Cordova()
create(properties: { persistent?: number; name?: string; bufferSize?: number }): Promise<number> {
return;
}
/**
*
* @param socketId
* @param properties
*/
@Cordova()
update(socketId: number, properties: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param paused
*/
@Cordova()
setPaused(socketId: number, paused: boolean): Promise<any> {
return;
}
/**
*
* @param socketId
* @param address
* @param port
*/
@Cordova()
bind(socketId: number, address: string, port: number): Promise<any> {
return;
}
/**
*
* @param socketId
* @param data
* @param address
* @param port
*/
@Cordova()
send(socketId: number, data: ArrayBuffer, address: string, port: number): Promise<any> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
close(socketId: number): Promise<void> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
getInfo(socketId: number): Promise<SocketUdpInfo> {
return;
}
/**
*
*/
@Cordova()
getSockets(): Promise<SocketUdpInfo[]> {
return;
}
/**
*
* @param socketId
* @param enabled
*/
@Cordova()
setBroadcast(socketId: number, enabled: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param address
*/
@Cordova()
joinGroup(socketId: number, address: number): Promise<any> {
return;
}
/**
*
* @param socketId
* @param address
*/
@Cordova()
leaveGroup(socketId: number, address: string): Promise<any> {
return;
}
/**
*
* @param socketId
* @param ttl
*/
@Cordova()
setMulticastTimeToLive(socketId: number, ttl: any): Promise<any> {
return;
}
/**
*
* @param socketId
* @param enabled
*/
@Cordova()
setMulticastLoopbackMode(socketId: number, enabled: boolean): Promise<any> {
return;
}
/**
*
* @param socketId
*/
@Cordova()
getJoinedGroups(socketId: number): Promise<any> {
return;
}
/**
* Watch all incoming data event
*/
public onReceiveData(): Observable<SocketUdpDataInfo> {
return fromEventPattern(
(eventHandler) => this.onReceive.addListener(eventHandler),
(errorEventHandler) => this.onReceive.removeListener(errorEventHandler)
).pipe(
map((socketUdpDataInfo: SocketUdpDataInfo) => {
socketUdpDataInfo.dataAsString = socketUdpDataInfo.data
? new TextDecoder().decode(socketUdpDataInfo.data).trim()
: null;
return socketUdpDataInfo;
})
);
}
/**
* Watch socket incoming data
* @param socketId
*/
public onReceiveDataBySocketId(socketId: number): Observable<SocketUdpDataInfo> {
return this.onReceiveData().pipe(filter((socketDataInfo) => socketDataInfo.socketId === socketId));
}
/**
* Watch all sockets incoming error event listener
*/
public onReceiveDataError(): Observable<SocketUdpErrorInfo> {
return fromEventPattern(
(eventHandler) => this.onReceiveError.addListener(eventHandler),
(errorEventHandler) => this.onReceiveError.removeListener(errorEventHandler)
);
}
/**
* Watch socket incoming error event listener
* @param socketId
*/
public onReceiveDataErrorBySocketId(socketId: number): Observable<SocketUdpErrorInfo> {
return this.onReceiveDataError().pipe(filter((socketUdpErrorInfo) => socketUdpErrorInfo.socketId === socketId));
}
}
export interface SocketUdpInfo {
socketId: number;
persistent?: boolean;
bufferSize?: number;
name?: string;
paused?: boolean;
localAddress?: string;
localPort?: number;
[key: string]: any;
}
export interface SocketUdpDataInfo {
socketId: number;
data: ArrayBuffer;
dataAsString: string;
remoteAddress: string;
remotePort: number;
}
export interface SocketUdpErrorInfo {
message: string;
resultCode: number;
socketId: number;
}
interface SocketUdpEvent {
addListener(cb: (...args: any[]) => void): void;
removeListener(cb: (...args: any[]) => void): void;
fire(): void;
hasListener(): boolean;
hasListeners(): boolean;
// Stub
addRules(): void;
// Stub
getRules(): void;
// Stub
removeRules(): void;
}

View File

@@ -66,22 +66,6 @@ export class StatusBar extends AwesomeCordovaNativePlugin {
})
styleLightContent() {}
/**
* Use the blackTranslucent statusbar (light text, for dark backgrounds).
*/
@Cordova({
sync: true,
})
styleBlackTranslucent() {}
/**
* Use the blackOpaque statusbar (light text, for dark backgrounds).
*/
@Cordova({
sync: true,
})
styleBlackOpaque() {}
/**
* Set the status bar to a specific named color. Valid options:
* black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown.

View File

@@ -1,10 +1,10 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaFunctionOverride, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface ThreeDeeTouchQuickAction {
/**
* Type that can be used in the onHomeIconPressed callback
* Type that can be used in the registerQuickActionListener callback
*/
type?: string;
@@ -105,7 +105,7 @@ export interface ThreeDeeTouchForceTouch {
*
* this.threeDeeTouch.configureQuickActions(actions);
*
* this.threeDeeTouch.onHomeIconPressed().subscribe(
* this.threeDeeTouch.registerQuickActionListener().subscribe(
* (payload) => {
* // returns an object that is the button you presed
* console.log('Pressed the ${payload.title} button')
@@ -120,9 +120,9 @@ export interface ThreeDeeTouchForceTouch {
*/
@Plugin({
pluginName: 'ThreeDeeTouch',
plugin: 'cordova-plugin-3dtouch',
plugin: '@herdwatch/cordova-plugin-3dtouch',
pluginRef: 'ThreeDeeTouch',
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-3dtouch',
repo: 'https://github.com/herdwatch-apps/cordova-plugin-3dtouch',
platforms: ['iOS'],
})
@Injectable()
@@ -169,8 +169,10 @@ export class ThreeDeeTouch extends AwesomeCordovaNativePlugin {
*
* @returns {Observable<any>} returns an observable that notifies you when he user presses on the home screen icon
*/
@CordovaFunctionOverride()
onHomeIconPressed(): Observable<any> {
@Cordova({
observable: true,
})
registerQuickActionListener(): Observable<ThreeDeeTouchQuickAction> {
return;
}

View File

@@ -0,0 +1,160 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name WE Cap Inbox
* @description
* This plugin provides functionalities to manage notifications in your app.
*
* @usage
* ```typescript
* import { WECapInbox } from '@awesome-cordova-plugins/we-cap-inbox';
*
* constructor(private wECapInbox: WECapInbox) { }
*
* ...
*
* this.WECapInbox.getNotificationCount()
* .then((count: number) => console.log(count))
* .catch((error: string) => console.error(error));
* ```
*/
@Plugin({
pluginName: 'WECapInbox',
plugin: 'we-notificationinbox-cordova', // npm package name, example: cordova-plugin-camera
pluginRef: 'WENotificationInboxPlugin', // the variable reference to call the plugin,
repo: 'https://github.com/WebEngage/we-ionic-notification-inbox',
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class WECapInbox extends AwesomeCordovaNativePlugin {
/**
* Resets the notification count.
* @returns {Promise<void>}
*/
@Cordova()
resetNotificationCount(): Promise<void> {
return;
}
/**
* Retrieves the count of notifications.
* @param {function} successCallback
* @param {function} errorCallback
* @returns {Promise<number>} - The count of notifications.
*/
@Cordova()
getNotificationCount(successCallback: (count: String) => void, errorCallback: (error: string) => void): Promise<any> {
return;
}
/**-
* Retrieves Notification List
* @param {JsonObject | null} offset - Optional offset for notifications
* @param {function} successCallback
* @param {function} errorCallback
* @returns {Promise<any>}
*/
@Cordova()
getNotificationList(
offset: JsonObject | null,
successCallback: (notifications: NotificationResponse) => void,
errorCallback: (error: string) => void
): Promise<any> {
return;
}
/**
* Marks a specific notification as read.
* @param {JsonObject} notificationObject - The notification to mark as read.
* @returns {Promise<void>}
*/
@Cordova()
markRead(notificationObject: JsonObject): Promise<void> {
return;
}
/**
* Marks a specific notification as unread.
* @param {JsonObject} notificationObject - The notification to mark as unread.
* @returns {Promise<void>}
*/
@Cordova()
markUnread(notificationObject: JsonObject): Promise<void> {
return;
}
/**
* Tracks a click event on a notification.
* @param {JsonObject} notificationObject - The notification that was clicked.
* @returns {Promise<void>}
*/
@Cordova()
trackClick(notificationObject: JsonObject): Promise<void> {
return;
}
/**
* Tracks the view event of a notification.
* @param {JsonObject} notificationObject - The notification that was viewed.
* @returns {Promise<void>}
*/
@Cordova()
trackView(notificationObject: JsonObject): Promise<void> {
return;
}
/**
* Marks a specific notification as deleted.
* @param {JsonObject} notificationObject - The notification to delete.
* @returns {Promise<void>}
*/
@Cordova()
markDelete(notificationObject: JsonObject): Promise<void> {
return;
}
/**
* Marks all notifications as read.
* @param {JsonArray} notificationList - An array of notification identifiers to mark as read.
* @returns {Promise<void>}
*/
@Cordova()
readAll(notificationList: JsonArray): Promise<void> {
return;
}
/**
* Marks all notifications as unread.
* @param {JsonArray} notificationList - An array of notification identifiers to mark as unread.
* @returns {Promise<void>}
*/
@Cordova()
unReadAll(notificationList: JsonArray): Promise<void> {
return;
}
/**
* Deletes all notifications.
* @param {JsonArray} notificationList - An array of notification identifiers to delete.
* @returns {Promise<void>}
*/
@Cordova()
deleteAll(notificationList: JsonArray): Promise<void> {
return;
}
}
export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
export type NotificationResponse = {
hasNext: boolean;
messageList: JsonArray;
};
export type JsonObject = {
[key: string]: JsonValue;
};
export type JsonArray = JsonValue[];

View File

@@ -7,7 +7,7 @@ import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-pl
* Awesome Cordova Plugins wrapper that wraps Webengage Cordova plugin for Android and iOS
* @usage
* ```typescript
* import { Webengage, WebengageUser, WebengagePush, WebengageNotification } from '@awesome-cordova-plugins/webengage/ngx';
* import { Webengage, WebengageUser, WebengagePush, WebengageNotification, WebengageJwtManager } from '@awesome-cordova-plugins/webengage/ngx';
*
*
* constructor(private webengage: Webengage, private webengageUser: WebengageUser, private webengagePush: WebengagePush, private webengageNotification: WebengageNotification ) { }
@@ -96,7 +96,17 @@ export class WebengageUser extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
login(userId: string): Promise<any> {
login(userId: string, jwtToken?: string): Promise<any> {
return;
}
/**
* Logs user in
* @param {string} userId
* @returns {Promise<any>}
*/
@Cordova()
setSecureToken(userId: string, jwtToken: string): Promise<any> {
return;
}
@@ -140,6 +150,38 @@ export class WebengageUser extends AwesomeCordovaNativePlugin {
setUserOptIn(channel: string, optIn: any): Promise<any> {
return;
}
/**
* Sets user location
* @param {number} latitude
* @param {number} longitude
* @returns {Promise<any>}
*/
@Cordova()
setLocation(latitude: number, longitude: number): Promise<any> {
return;
}
}
/**
* @hidden
*/
@Plugin({
pluginName: 'Webengage',
plugin: 'cordova-plugin-webengage',
pluginRef: 'webengage.jwtManager',
})
@Injectable()
export class WebengageJwtManager extends AwesomeCordovaNativePlugin {
/**
* Callback function is invoked when a Jwt token is clicked
* @param {any} callback
* @returns {Promise<any>}
*/
@Cordova()
tokenInvalidatedCallback(callback: any): Promise<any> {
return;
}
}
/**