Compare commits

..

472 Commits

Author SHA1 Message Date
Daniel Sogl
a589dac215 6.3.0 2022-12-31 08:19:35 +00:00
renovate[bot]
950a1bb4ff chore(deps): update actions/stale action to v7 (#4468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:14:21 +01:00
renovate[bot]
1b15bf4557 chore(deps): update dependency fs-extra to v11 (#4469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:14:04 +01:00
renovate[bot]
bfd111e9d6 chore(deps): update typescript-eslint monorepo to v5.47.1 (#4467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:11:16 +01:00
renovate[bot]
9715ef8755 chore(deps): update dependency rollup to v3.9.0 (#4466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:10:40 +01:00
renovate[bot]
e21bd1a50e chore(deps): update dependency prettier to v2.8.1 (#4465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:10:06 +01:00
renovate[bot]
99ec80e2e7 chore(deps): update dependency lint-staged to v13.1.0 (#4464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:10:00 +01:00
renovate[bot]
91da2e5020 chore(deps): update dependency eslint to v8.31.0 (#4463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:07:00 +01:00
renovate[bot]
e1ff6de9ef chore(deps): update actions/checkout action to v3.2.0 (#4462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:05:49 +01:00
Nikhil Arroju
d9b3638f3d docs(readme): update capacitor website links (#4416) 2022-12-31 09:04:59 +01:00
ndesai-newrelic
82f7fd9e0a docs(newrelic): update docs (#4420)
* Adding Newrelic support for Awesome plugins

* Adding more static methods for newrelic cordova plugin

* adding documentation for newrelic plugin

* Updating newrelic cordova plugin repo

* Update index.ts

* fix:updating correct cordova plugin repo

* docs: added Documentation for NewRelic Plugin

* ADDED Record Error and Updated set Attribute Method

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-12-31 09:04:42 +01:00
Alex Ryltsov
0579e67e96 feat(fingerprint-aio): update plugin (#4423)
Changes:
- added confirmationRequired param to show method to options
- moved plugin errors to a separate enum
- changes some plugin method return values
2022-12-31 09:04:05 +01:00
dependabot[bot]
2d55ad694c build(deps): bump json5 from 2.2.0 to 2.2.2 (#4459)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-31 09:03:16 +01:00
renovate[bot]
5ae27d8ad4 chore(deps): update dependency @types/node to v18.11.18 (#4460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:03:10 +01:00
renovate[bot]
0ec396b25c chore(deps): update dependency gulp-replace to v1.1.4 (#4461)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:03:04 +01:00
MaximBelov
a095422889 feat(fbsdk): add plugin (#4431) 2022-12-31 09:02:54 +01:00
Simon Smith
a924fb519f Update ISSUE_TEMPLATE.md (#4433)
use checkboxes
2022-12-31 09:02:43 +01:00
MaximBelov
63cfd4488d feat(advanced-image-picker): add plugin (#4434) 2022-12-31 09:02:28 +01:00
MaximBelov
9b4502f929 feat(ffmpeg): add plugin (#4435) 2022-12-31 09:02:18 +01:00
MaximBelov
ba37646fc4 fix(chooser): Update for support android 11+ (#4436)
BREAKING: Updated plugin source https://github.com/MaximBelov/cordova-plugin-chooser
2022-12-31 09:02:04 +01:00
Olivier Favre
3b1d0593da feat(wonderpush): expose getters and setters (#4441) 2022-12-31 09:00:05 +01:00
infacto
ff78ca7fb4 feat(diagnostics): add getBluetoothAuthorizationStatuses function (#4442) 2022-12-31 08:59:22 +01:00
Fabio Martino
b283dc2e76 feat(power-management): add power management support (#4443)
Co-authored-by: Fabio Martino <fabio.martino@babel.es>
2022-12-31 08:56:42 +01:00
renovate[bot]
cc2a78c858 chore(deps): update dependency @types/lodash to v4.14.191 (#4446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 08:56:24 +01:00
renovate[bot]
65d3053a53 chore(deps): update dependency eslint-plugin-jsdoc to v39.6.4 (#4447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 08:56:14 +01:00
Adrian Cando
f02bc78ec2 feat(brightness): add brightness plugin (#4454)
* feat(brightness): add brightness plugin

* doc(brightness): update usage doc
2022-12-31 08:55:48 +01:00
Adrian Cando
7fe3ad1daa feat(unique-device-id): add unique-device-id plugin (#4455) 2022-12-31 08:55:14 +01:00
Adrian Cando
e51a1a79ef feat(mobile-accessibility): add mobile-accessibility plugin (#4456) 2022-12-31 08:54:05 +01:00
piyush-kukadiya
74a80c0953 feat(clevertap): support clevertap-cordova 2.6.0 (#4458)
* 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

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>
2022-12-31 08:52:23 +01:00
dependabot[bot]
e32ac8c6c9 build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#4445)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-04 14:29:06 +01:00
renovate[bot]
cf23a52ea2 chore(deps): update dependency @types/node to v18 (#4395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-04 14:28:58 +01:00
renovate[bot]
e7aab1d814 chore(deps): update dependency husky to v8.0.2 (#4419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-04 14:28:36 +01:00
renovate[bot]
34afbd1c53 chore(deps): update typescript-eslint monorepo to v5.42.1 (#4417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-07 19:34:45 +01:00
renovate[bot]
56054d036e chore(deps): update dependency eslint to v8.27.0 (#4415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-06 16:36:23 +01:00
renovate[bot]
c654ea5925 chore(deps): update dependency eslint-plugin-jsdoc to v39.6.2 (#4414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-05 11:11:20 +01:00
renovate[bot]
70d7acc113 chore(deps): update dependency @types/lodash to v4.14.188 (#4412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 21:57:00 +01:00
Daniel Sogl
60aa74baed 6.2.0 2022-11-04 20:48:47 +00:00
MaximBelov
af55cb25fa feat(device): detect if app is running on a macOS desktop with Apple Silicon (#4299) 2022-11-04 21:46:34 +01:00
Cesar de la Vega
2b8992faf3 feat(purchases)!: migrate RevenueCat to 3.2.1 (#4392)
* feat(purchases)!: migrate RevenueCat to 3.2.0

* update version to 3.2.1
2022-11-04 21:46:09 +01:00
renovate[bot]
e90a6a306c fix(deps): update dependency tslib to v2.4.1 (#4413)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 21:45:39 +01:00
Alex Ryltsov
97f566170e feat(file-chooser): add plugin (#4396) 2022-11-04 21:45:27 +01:00
Alex Ryltsov
d2e92f5589 feat(image-resizer): add plugin (#4397)
* feature: added support for the image-resizer cordova plugin

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-11-04 21:44:53 +01:00
Mathias Verdon
c544b43a51 fix(diagnostic): add getBluetoothAuthorizationStatus function (#4398) 2022-11-04 21:43:46 +01:00
Sawyer Schumacher
755b28e325 feat(ble): add wrapper for starting location notifications (#4399) 2022-11-04 21:43:28 +01:00
Mathias Verdon
6a97dc5e07 fix(diagnostic): add new Android runtime permissions for Bluetooth (#4402) 2022-11-04 21:43:09 +01:00
Nuno Rodrigues
2d347e46ed fix(bluetooth-le): use correct return types (#4411) 2022-11-04 21:42:47 +01:00
ndesai-newrelic
ef499ed290 feat(newrelic): add plugin (#4409)
* Adding Newrelic support for Awesome plugins

* Adding more static methods for newrelic cordova plugin

* adding documentation for newrelic plugin

* Updating newrelic cordova plugin repo

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-11-04 21:42:26 +01:00
Bara Aksayeth
1e258adeb5 feat(crop-privacy): add plugin (#4408)
* feat(crop-privacy): add new plugin

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-11-04 21:40:26 +01:00
renovate[bot]
5c0b31faa7 chore(deps): update dependency rollup to v3.2.5 (#4406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 21:39:40 +01:00
renovate[bot]
d00d54f507 chore(deps): update typescript-eslint monorepo to v5.42.0 (#4405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 21:39:34 +01:00
renovate[bot]
2e5e43fa7b chore(deps): update dependency @types/node to v16.18.3 (#4404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-04 21:39:25 +01:00
renovate[bot]
8eddcb0d45 chore(deps): update dependency eslint-plugin-jsdoc to v39.4.0 (#4403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-30 12:05:29 +01:00
renovate[bot]
4716a9db68 chore(deps): update dependency @types/node to v16.18.2 (#4401)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-29 17:07:06 +02:00
renovate[bot]
7eb57cdde8 chore(deps): update typescript-eslint monorepo to v5.41.0 (#4394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 18:41:56 +02:00
renovate[bot]
6f38115ce2 chore(deps): update dependency eslint-plugin-jsdoc to v39.3.25 (#4390)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 18:41:46 +02:00
renovate[bot]
d76dfae916 chore(deps): update dependency @types/node to v16.18.1 (#4391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 18:41:35 +02:00
Daniel Sogl
b8e3ac4403 6.1.0 2022-10-22 17:29:32 +00:00
Alex Ryltsov
cd81cfabf4 feat(diagnostic): addisCameraRollAuthorized and getCameraRollAuthorizationStatus functions (WIP) (#4362) 2022-10-22 19:27:42 +02:00
Serj Malko
81a8b42a29 feat(webim): update plugin wrapper (#4370)
* feat(plugins): Add Webim SDK plugin

* feat(webim): Add request/response models

* feat(webim): Fix Observable methods

* Update index.ts

Co-authored-by: Малько Сергей Сергеевич <malko@softclub.by>
Co-authored-by: SerjMalko <serhey_rti@mail.ru>
2022-10-22 19:04:29 +02:00
Nico Lueg
6f14ba6031 feat(purchases)!: migrate RevenueCat to 3.1.0 (#4382)
- Breaking Changes can be found here: https://github.com/RevenueCat/cordova-plugin-purchases/releases/tag/3.0.0
2022-10-22 19:03:49 +02:00
Alex Ryltsov
62f664e61a fix(launch-navigator): use currect handlers (#4385) 2022-10-22 19:03:32 +02:00
renovate[bot]
664e3385ce chore(deps): update dependency eslint-plugin-jsdoc to v39.3.15 (#4389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 19:02:35 +02:00
renovate[bot]
8201dc1d14 chore(deps): update dependency rollup to v3.2.3 (#4381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 18:37:33 +02:00
renovate[bot]
375246970c chore(deps): update dependency eslint to v8.26.0 (#4388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-22 18:36:50 +02:00
renovate[bot]
d7c771b250 chore(deps): update dependency @types/node to v16.11.68 (#4386)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 19:20:39 +02:00
renovate[bot]
89b21b7694 chore(deps): update dependency eslint-plugin-jsdoc to v39.3.14 (#4380)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 19:20:27 +02:00
renovate[bot]
5e23ebebdc chore(deps): update typescript-eslint monorepo to v5.40.1 (#4379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 23:26:05 +02:00
renovate[bot]
5bc6693571 chore(deps): update dependency eslint-plugin-jsdoc to v39.3.12 (#4378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 23:25:53 +02:00
renovate[bot]
facadcabaa chore(deps): update dependency rollup to v3.2.2 (#4376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-17 13:26:13 +02:00
Daniel Sogl
d1210b76a7 6.0.1 2022-10-17 11:23:43 +00:00
Daniel Sogl
e7d1641fe9 fix: use correct core version 2022-10-17 11:23:21 +00:00
renovate[bot]
e22cf2bb69 chore(deps): update dependency @types/node to v16.11.66 (#4372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-16 14:27:28 +02:00
renovate[bot]
deb8a61a81 chore(deps): update dependency rollup to v3.2.1 (#4373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-16 14:27:18 +02:00
renovate[bot]
3cca6104df chore(deps): update actions/setup-node action to v3.5.1 (#4371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:20:00 +02:00
Daniel Sogl
de884a55d0 chore: use node v16 in actions 2022-10-15 16:19:39 +00:00
Daniel Sogl
5a22241db5 6.0.0 2022-10-15 16:17:59 +00:00
renovate[bot]
d476af44cd chore(deps): update dependency rollup to v3 (#4367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:16:39 +02:00
renovate[bot]
8b6d6c726b chore(deps): update dependency minimist to v1.2.7 (#4365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:16:24 +02:00
renovate[bot]
7f1bf9520b chore(deps): update dependency @types/node to v16.11.65 (#4364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:16:17 +02:00
renovate[bot]
f9257f4d65 chore(deps): update typescript-eslint monorepo to v5.40.0 (#4363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 18:16:10 +02:00
Johannes Korrek
85441e59ca feat(core): use angular ivy (#4369)
* chore(deps): bump angular and typescript

- required to enable ivy output & partial compilation mode

* chore(build): enable ivy output & partial compilation mode

- change ngx builds to use ivy
- remove some code that is no longer required with ivy
2022-10-15 18:12:20 +02:00
Daniel Sogl
a86c55ba5f 5.46.0 2022-10-09 14:55:04 +00:00
Lihang Xu
f8c6430a26 feat(GCDWebServer): add plugin (#4302)
* add GCDWebServer

* fix plugin ref and add the server options interface

* fix the pluginRef's case

* update name

* add docs
2022-10-09 16:48:59 +02:00
nomadev
98dc7c4be0 feat(bluetooth-le): upgrade to v6.7.0 (#4320)
* Update index.ts

updated plugin with new methods from cordova-plugin-bluetoothle 6.7.0
https://github.com/randdusing/cordova-plugin-bluetoothle/compare/v6.6.2...v6.7.0

* Fixed comments

* Fixed responses in new methods

Co-authored-by: claudio <claudio.corti@hondaracing.co.jp>
Co-authored-by: “Claudio <“claudio.corti@bitcycle.uk”>
2022-10-09 16:47:17 +02:00
Bruno Sales Cardoso
178489ffaa fix(sms-retriever): update startWatching result type (#4309)
* Updating the types to match what we get

* Update index.ts
2022-10-09 16:45:08 +02:00
Khang
bf860c30c2 feat(applovin): add plugin (#4307)
* feat(applovin): add plugin

* fix(applovin): fix pluginRef, add ad hidden events
2022-10-09 16:44:33 +02:00
Uglješa Erceg
a7a10913fc feat(adjust): update wrapper for Adjust Cordova SDK v4.32.0 (#4327) 2022-10-09 16:39:33 +02:00
Clément Prod'homme
406ad4ec45 docs(camera): adjust content type (#4330) 2022-10-09 16:37:32 +02:00
Clément Prod'homme
c3a01431ce docs(facebook): adjust content type (#4331) 2022-10-09 16:36:58 +02:00
Yevhen
dc1ee8c530 feat(firebase-x): add MessagePayloadAps prop (#4344)
* feat(types): add aps for MessagePayload

* fix(types): fix firebase-x on ios
2022-10-09 16:35:48 +02:00
renovate[bot]
b6a44e3a8a chore(deps): update dependency eslint to v8.25.0 (#4360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:33:26 +02:00
dependabot[bot]
7761ed4a39 build(deps): bump async from 2.6.3 to 2.6.4 (#4357)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 16:33:19 +02:00
dependabot[bot]
e799600b6e build(deps): bump ansi-regex and ansi-regex (#4356)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together.

Updates `ansi-regex` from 3.0.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v5.0.1)

Updates `ansi-regex` from 4.1.0 to 5.0.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 16:32:56 +02:00
uzosocom
b0780a8bec feat(app-review): add plugin (#4348) 2022-10-09 16:32:47 +02:00
renovate[bot]
b6cc2d93f0 chore(deps): update actions/checkout action to v3.1.0 (#4359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:31:58 +02:00
renovate[bot]
7817643282 chore(deps): update dependency @types/node to v16.11.64 (#4336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:31:48 +02:00
infacto
b572a10a6e feat(diagnostic): extend parameter for requestLocationAuthorization (#4350) 2022-10-09 16:31:00 +02:00
uzosocom
acb39e5849 feat(device): add sdkVersion (#4354) 2022-10-09 16:28:00 +02:00
Serj Malko
74302846dc feat(webim): add plugin (#4355)
Co-authored-by: Малько Сергей Сергеевич <malko@softclub.by>
2022-10-09 16:27:26 +02:00
renovate[bot]
a76463877c chore(deps): update typescript-eslint monorepo to v5.39.0 (#4337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:25:51 +02:00
renovate[bot]
698692ed59 chore(deps): update dependency @types/lodash to v4.14.186 (#4343)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:25:45 +02:00
renovate[bot]
dfd3d55dbc chore(deps): update actions/setup-node action to v3.5.0 (#4341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 16:25:36 +02:00
renovate[bot]
f2d809f8b3 chore(deps): update typescript-eslint monorepo to v5.38.0 (#4326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 10:11:28 +02:00
renovate[bot]
22d6cd957b chore(deps): update actions/stale action to v6 (#4328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 10:11:21 +02:00
renovate[bot]
2b061556dd chore(deps): update dependency rollup to v2.79.1 (#4329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 10:11:12 +02:00
renovate[bot]
7baa002fb9 chore(deps): update dependency @types/node to v16.11.60 (#4333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-09-26 10:11:05 +02:00
renovate[bot]
2698011d4b chore(deps): update dependency eslint to v8.24.0 (#4334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-26 10:10:48 +02:00
renovate[bot]
b8374ab3b1 chore(deps): update dependency @types/node to v16.11.59 (#4305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 11:37:56 +02:00
renovate[bot]
e85f6cf2b2 chore(deps): update dependency winston to v3.8.2 (#4303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 11:12:50 +02:00
renovate[bot]
f86764abe7 chore(deps): update dependency @types/lodash to v4.14.185 (#4312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 11:12:34 +02:00
renovate[bot]
dcb9b225ce chore(deps): update dependency eslint to v8.23.1 (#4313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 11:12:15 +02:00
renovate[bot]
97739e86f1 chore(deps): update typescript-eslint monorepo to v5.37.0 (#4316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-14 11:12:05 +02:00
renovate[bot]
b3fade36c6 chore(deps): update typescript-eslint monorepo to v5.36.2 (#4300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 19:50:44 +02:00
Daniel Sogl
a6fcc16d12 5.45.0 2022-09-05 17:16:40 +00:00
Daniel Sogl
e420bd1d2a docs: refresh readmes 2022-09-05 17:10:51 +00:00
Marius Backes
8b826e3c1b feat(in-app-purchase-2): update validator for custom headers (#4262) 2022-09-05 19:05:08 +02:00
Quentin Stoeckel
1b45462542 doc: fix Secure Storage broken link (#4265)
It currently leads to a 404 page (https://ionicframework.com/docs/native/secure-storage/): a working anchor would lead to https://ionic.io/docs/secure-storage
2022-09-05 19:04:59 +02:00
Uglješa Erceg
82377f0633 feat(adjust): update wrapper for Adjust Cordova SDK v4.30.0 (#4277) 2022-09-05 19:04:48 +02:00
Ashish Gaikwad
aef160e418 feat(lets-cooee): add event observer and installation documentation (#4278)
* feat(Cooee): add Cooee plugin

* chore(Cooee): update document

* Update index.ts

* feat(lets-cooee): add event observable

* docs(lets-cooee): add lets-cooee documentation

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-09-05 19:04:37 +02:00
Lihang Xu
a801c7d305 feat(dynamsoft-barcode): add setFocus and setZoom (#4281)
* add set zoom for Dynamsoft Barcode Scanner

* update Dynamsoft Barcode Scanner to add setFocus

* feat: add rotate scan option and rotation frame result to Dynamsoft Barcode Scanner

* add comments and rename the rotation result for Dynamsoft Barcode Scanner
2022-09-05 19:04:21 +02:00
Yevhen
898e0b8588 feat(firebase-x): add message typing (#4282) 2022-09-05 19:04:10 +02:00
renovate[bot]
99161e2b73 chore(deps): update dependency @types/lodash to v4.14.184 (#4283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:03:52 +02:00
Srinidhi
678fb71a7f feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token (#4291) 2022-09-05 19:03:26 +02:00
renovate[bot]
6e953e58ca chore(deps): update dependency zone.js to v0.11.8 (#4280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:02:24 +02:00
renovate[bot]
29163b93d6 chore(deps): update dependency terser-webpack-plugin to v5.3.6 (#4279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:02:20 +02:00
renovate[bot]
ba83a81c75 chore(deps): update dependency eslint-plugin-jsdoc to v39.3.6 (#4272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:02:15 +02:00
renovate[bot]
ac1d0aa0a1 chore(deps): update dependency rollup to v2.79.0 (#4268)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:02:08 +02:00
renovate[bot]
5d7cf3940f chore(deps): update typescript-eslint monorepo to v5.36.1 (#4267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:01:58 +02:00
renovate[bot]
725e88080b chore(deps): update dependency webpack to v5.74.0 (#4266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:01:53 +02:00
renovate[bot]
38d59e3455 chore(deps): update dependency eslint to v8.23.0 (#4259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:01:48 +02:00
renovate[bot]
b5b8968ac4 chore(deps): update dependency @types/node to v16.11.57 (#4258)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 19:01:42 +02:00
MaximBelov
ebdd6e9796 feat(intercom): add displaySurvey (#4292) 2022-09-05 19:01:03 +02:00
jcesarmobile
620385befc docs: update template urls (#4293) 2022-09-05 19:00:42 +02:00
Neil Cresswell
ba9c1c154e feat(android-permissions): add android 13 permissions (#4295)
Added new POST_NOTIFICATIONS, READ_MEDIA_AUDIO, READ_MEDIA_IMAGES, and READ_MEDIA_VIDEO permissions. Adding missing Bluetooth permissions for advertise, connect, and scan.
The Bluetooth permissions are already present in the underlying Cordova plugin. The Android 13 permissions have been submitted to the underlying Cordova plugin as a pull request so may not be present there yet, but match the pull request and the actual underlying permission names found in Android 13.
2022-09-05 18:59:34 +02:00
renovate[bot]
dd081cc696 chore(deps): update dependency zone.js to v0.11.7 (#4264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 18:55:45 +02:00
dependabot[bot]
135c6cc8b4 build(deps): bump terser from 5.9.0 to 5.14.2 (#4263)
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 18:02:49 +02:00
renovate[bot]
c7d39dde42 chore(deps): update typescript-eslint monorepo to v5.30.7 (#4248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-19 21:26:19 +02:00
renovate[bot]
eb27d87d92 chore(deps): update dependency rollup to v2.77.0 (#4252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 21:33:41 +02:00
renovate[bot]
878a6e94c2 chore(deps): update dependency @types/node to v16.11.44 (#4249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 20:45:53 +02:00
renovate[bot]
95fa8eb098 chore(deps): update dependency ts-node to v10.9.1 (#4247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 20:45:29 +02:00
renovate[bot]
b1f4639640 chore(deps): update actions/setup-node action to v3.4.1 (#4257)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 20:45:11 +02:00
renovate[bot]
d6697b8a95 chore(deps): update actions/setup-node action to v3.4.0 (#4253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 21:25:48 +02:00
renovate[bot]
41e96d950f chore(deps): update dependency eslint to v8.19.0 (#4246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 10:35:13 +02:00
renovate[bot]
56fc1d4663 chore(deps): update typescript-eslint monorepo to v5.30.3 (#4245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 19:25:22 +02:00
renovate[bot]
9e5953bc27 chore(deps): update typescript-eslint monorepo to v5.30.2 (#4244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 19:22:23 +02:00
renovate[bot]
346ea82652 chore(deps): update dependency winston to v3.8.1 (#4243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 13:44:23 +02:00
Daniel Sogl
8671e18391 5.44.0 2022-06-30 09:09:52 +00:00
Jonathan Ramirez Taboada
0a31a374b1 feat(zip): add plugin (#4238)
* added cordova-plugin-zip

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-06-30 11:05:34 +02:00
Ionel Andrei Muresan
64d2c55880 docs(document-scanner): update example (#4236) 2022-06-30 11:05:04 +02:00
Konstantin
f96b7588de feat(mobile-messaging): add chat methods (#4231)
Co-authored-by: Konstantin Latypov <Konstantin.Latypov@infobip.com>
2022-06-30 11:04:37 +02:00
Ashish Gaikwad
7a528b42d9 feat(cooee): add plugin (#4228)
* feat(Cooee): add Cooee plugin

* chore(Cooee): update document

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-06-30 10:59:42 +02:00
Alex Ryltsov
19fc222ea9 fix(diagnostic): adjust options declaration (#4227) 2022-06-30 10:58:43 +02:00
renovate[bot]
41a85e6587 chore(deps): update dependency winston to v3.8.0 (#4240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 10:57:53 +02:00
Christian von Rohr
04422600ca fix(urbanairship): fix cordova and method wrapper options (#4221)
Co-authored-by: Christian von Rohr <christian.vonrohr@well.ch>
2022-06-30 10:57:35 +02:00
Lihang Xu
4e183b1881 feat(dynamsoft-barcode): update startScanning options (#4205)
* add barcodeBytesBase64 to the BarcodeResult

* update startScanning's param to ScanOptions
2022-06-30 10:56:29 +02:00
Vitor Martins
63c83653c0 feat(file-md5): add plugin (#4201)
* added cordova-plugin-file-md5

* Update index.ts

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2022-06-30 10:55:34 +02:00
renovate[bot]
032f3a160a chore(deps): update typescript-eslint monorepo to v5.30.0 (#4235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 10:54:01 +02:00
renovate[bot]
44967cc02c chore(deps): update dependency eslint-plugin-jsdoc to v39.3.3 (#4233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 10:53:56 +02:00
renovate[bot]
123517eac6 chore(deps): update dependency eslint to v8.18.0 (#4232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 10:53:51 +02:00
renovate[bot]
d1c13567d7 chore(deps): update dependency prettier to v2.7.1 (#4230)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-30 10:53:46 +02:00
renovate[bot]
49df2996c8 chore(deps): update dependency zone.js to v0.11.6 (#4229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-30 10:53:42 +02:00
renovate[bot]
d14d8c413e chore(deps): update dependency @types/node to v16.11.42 (#4220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-30 10:53:38 +02:00
renovate[bot]
511300ea7b chore(deps): update dependency lint-staged to v13.0.3 (#4222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-24 20:29:16 +02:00
renovate[bot]
a3d3d546af chore(deps): update dependency rollup to v2.75.7 (#4219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 20:57:15 +02:00
renovate[bot]
cca5929a7d chore(deps): update typescript-eslint monorepo to v5.28.0 (#4207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 19:03:08 +02:00
renovate[bot]
6e83ebdfb3 chore(deps): update dependency prettier to v2.7.0 (#4225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 19:02:53 +02:00
renovate[bot]
38528e1017 chore(deps): update actions/setup-node action to v3.3.0 (#4218)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-06 16:20:14 +02:00
renovate[bot]
c801668d3f chore(deps): update dependency eslint to v8.17.0 (#4217)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 18:46:46 +02:00
renovate[bot]
bc1ff3da7d chore(deps): update dependency ts-node to v10.8.1 (#4216)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 20:54:30 +02:00
renovate[bot]
a29927837c chore(deps): update dependency rollup to v2.75.5 (#4204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:54:20 +02:00
renovate[bot]
3935e620be chore(deps): update dependency @types/jest to v27.5.2 (#4211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:53:59 +02:00
renovate[bot]
379df77692 chore(deps): update dependency terser-webpack-plugin to v5.3.3 (#4212)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:53:52 +02:00
renovate[bot]
af723c02e3 chore(deps): update dependency webpack to v5.73.0 (#4213)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:53:42 +02:00
renovate[bot]
daa929e229 chore(deps): update dependency lint-staged to v13 (#4210)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 13:53:44 +02:00
renovate[bot]
126f23b303 chore(deps): update dependency @types/node to v16.11.38 (#4209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 13:35:36 +02:00
Daniel Sogl
95b84447ad 5.43.0 2022-05-25 18:18:21 +00:00
Gaven Henry
5ebe762d4b update to create ivy distribution (#4198) 2022-05-25 18:51:19 +02:00
renovate[bot]
ab1ea4aef9 chore(deps): roll back dependency eslint-plugin-jsdoc to 39.3.1 (#4199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 18:50:55 +02:00
renovate[bot]
08db901db6 chore(deps): update typescript-eslint monorepo to v5.26.0 (#4194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-24 18:36:45 +02:00
renovate[bot]
0e922b7e0b chore(deps): update dependency eslint-plugin-jsdoc to v39.3.2 (#4196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-24 18:36:23 +02:00
renovate[bot]
cfa194b71a chore(deps): update dependency lint-staged to v12.4.2 (#4197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-24 18:36:12 +02:00
renovate[bot]
cee00fbcc8 chore(deps): update dependency ts-node to v10.8.0 (#4192)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-22 13:01:02 +02:00
Daniel Sogl
9f65002b6e 5.42.0 2022-05-21 18:34:59 +00:00
Daniel Sogl
7aba998e1c docs: refresh 2022-05-21 18:34:30 +00:00
renovate[bot]
3e1fdd966b chore(deps): update dependency eslint-plugin-jsdoc to v39.3.0 (#4191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:29:57 +02:00
Lincoln Baxter, III
c2b01e0510 feat(in-app-purchase-2): add launchPriceChangeConfirmationFlow (#4127)
See: https://github.com/j3k0/cordova-plugin-purchase/releases/tag/v11.0.0
2022-05-21 20:29:41 +02:00
pavel-kuznetsov-hypertrack
26a8cbe437 feat(hyper-track): add new functions (#4128) 2022-05-21 20:29:08 +02:00
Lihang Xu
7e2452b6ad feat(dynamsoft barcode scanner): update plugin (#4176)
BREAKING: original plugin is replaced by https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader
2022-05-21 20:26:24 +02:00
marcushultgren
5f9f58edba docs(firebase-analytics): resolve typo (#4181)
Manifest typo
2022-05-21 20:23:28 +02:00
Pascal Clanget
6b2c1fd32e fix(keychain): mark useTouchID as required (#4182)
`useTouchID` is not an optional parameter. When it is not explicitly set, the whole app crashes with this error:
> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull boolValue]: unrecognized selector sent to instance 0x111f02f08'

This bug is known since November 2018 and likely won't be fixed: https://github.com/ionic-team/cordova-plugin-ios-keychain/issues/34
2022-05-21 20:22:58 +02:00
刘富东
f5b7b8469b Update SUMMARY.md (#4189)
Modify the link title `Http` to `ApproovHttp` for `plugins/approov-advanced-http.md`
2022-05-21 20:22:13 +02:00
renovate[bot]
c70508e877 chore(deps): update dependency eslint to v8.16.0 (#4190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:21:40 +02:00
renovate[bot]
dd349640ee chore(deps): update dependency rollup to v2.74.1 (#4178)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:21:30 +02:00
renovate[bot]
6406cdc35c chore(deps): update dependency husky to v8 (#4179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:21:24 +02:00
renovate[bot]
6f4d6cf0bc chore(deps): update dependency webpack to v5.72.1 (#4183)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:21:16 +02:00
renovate[bot]
88e78cf9fa chore(deps): update dependency @types/jest to v27.5.1 (#4186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:21:06 +02:00
renovate[bot]
21b7b673e9 chore(deps): update dependency ts-jest to v27.1.5 (#4188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:20:51 +02:00
renovate[bot]
5b9382f2fe chore(deps): update typescript-eslint monorepo to v5.25.0 (#4180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:20:46 +02:00
renovate[bot]
8bda638d19 chore(deps): update dependency @types/node to v16.11.36 (#4185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:20:40 +02:00
renovate[bot]
f81610ef69 chore(deps): update actions/setup-node action to v3.2.0 (#4187)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 20:20:30 +02:00
renovate[bot]
adba813eb0 chore(deps): update dependency eslint to v8.15.0 (#4177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-08 13:20:24 +02:00
renovate[bot]
aa00e37ffd chore(deps): update dependency rollup to v2.72.0 (#4168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 13:49:20 +02:00
renovate[bot]
c7566e2ba0 chore(deps): update dependency @types/jest to v27.5.0 (#4170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 09:37:36 +02:00
renovate[bot]
bf443da2d4 chore(deps): update typescript-eslint monorepo to v5.22.0 (#4171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 09:37:25 +02:00
renovate[bot]
8a4055c06b chore(deps): update dependency @types/node to v16.11.33 (#4169)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 16:05:21 +02:00
renovate[bot]
00a0cbc05b chore(deps): update dependency @types/node to v16.11.32 (#4165)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 12:51:08 +02:00
renovate[bot]
343ca3652d chore(deps): update dependency rollup to v2.71.0 (#4167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-30 12:50:51 +02:00
renovate[bot]
1f5a2f007a chore(deps): update dependency lint-staged to v12.4.1 (#4164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 19:27:31 +02:00
renovate[bot]
bae0a8dbc8 fix(deps): update dependency tslib to v2.4.0 (#4154)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 16:26:28 +02:00
renovate[bot]
18cb1acb2a chore(deps): update dependency @types/node to v16.11.29 (#4160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 16:26:18 +02:00
renovate[bot]
9a4abea1cd chore(deps): update typescript-eslint monorepo to v5.21.0 (#4161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 16:26:13 +02:00
renovate[bot]
46086a7f4f chore(deps): update dependency eslint-plugin-jsdoc to v39.2.9 (#4162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 16:26:07 +02:00
Daniel Sogl
710cf7acc0 Revert "chore(deps): update dependency jest to v28 (#4159)" (#4163)
This reverts commit 206b2183f1.
2022-04-26 16:25:30 +02:00
renovate[bot]
206b2183f1 chore(deps): update dependency jest to v28 (#4159) 2022-04-26 16:02:13 +02:00
renovate[bot]
a8dafc29be chore(deps): update dependency eslint-plugin-jsdoc to v39.2.8 (#4157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 10:29:04 +02:00
renovate[bot]
36ed9a6d9c chore(deps): update dependency @types/node to v16.11.28 (#4158)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 10:28:54 +02:00
renovate[bot]
ab2aec26e3 chore(deps): update dependency eslint to v8.14.0 (#4156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-23 11:18:18 +02:00
renovate[bot]
9f93ba66a5 chore(deps): update dependency lint-staged to v12.4.0 (#4151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 20:26:15 +02:00
renovate[bot]
d735124f59 chore(deps): update actions/checkout action to v3.0.2 (#4152)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 20:25:18 +02:00
renovate[bot]
ba5232cdb0 chore(deps): update dependency eslint-plugin-jsdoc to v39.2.7 (#4150)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-21 20:25:09 +02:00
renovate[bot]
672552bd7d chore(deps): update dependency eslint-plugin-jsdoc to v39.2.4 (#4148)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 11:12:53 +02:00
renovate[bot]
6e2b9a062a chore(deps): update dependency eslint-plugin-jsdoc to v39.2.3 (#4147)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 16:35:02 +02:00
renovate[bot]
893540cf88 chore(deps): update dependency @types/lodash to v4.14.182 (#4146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 16:34:46 +02:00
renovate[bot]
dcad4d7711 chore(deps): update typescript-eslint monorepo to v5.20.0 (#4144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 16:34:39 +02:00
renovate[bot]
bfd3a58276 chore(deps): update dependency eslint-plugin-jsdoc to v39.2.2 (#4143)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 18:57:47 +02:00
renovate[bot]
365571eaf2 chore(deps): update dependency fs-extra to v10.1.0 (#4142)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 18:53:43 +02:00
renovate[bot]
53cd775a71 chore(deps): update dependency lint-staged to v12.3.8 (#4141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 18:53:33 +02:00
renovate[bot]
798ae0a238 chore(deps): update actions/checkout action to v3.0.1 (#4139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 11:05:48 +02:00
renovate[bot]
4b2dea8244 chore(deps): update dependency rollup to v2.70.2 (#4140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 11:05:07 +02:00
renovate[bot]
444b9539a8 chore(deps): update dependency @types/node to v16.11.27 (#4138)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:54:35 +02:00
renovate[bot]
ed83bbe171 chore(deps): update dependency eslint-plugin-jsdoc to v39.2.1 (#4137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 14:52:32 +02:00
renovate[bot]
136d24ae3d chore(deps): update dependency eslint-plugin-jsdoc to v39.2.0 (#4136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 18:48:13 +02:00
renovate[bot]
6ff9625fdc chore(deps): update typescript-eslint monorepo to v5.19.0 (#4135)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 18:48:04 +02:00
renovate[bot]
650027f2cc chore(deps): update actions/setup-node action to v3.1.1 (#4134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 20:21:28 +02:00
renovate[bot]
2b92cc1adf chore(deps): update dependency eslint-plugin-jsdoc to v39.1.0 (#4133)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-10 22:26:18 +02:00
renovate[bot]
19acfe7dbd chore(deps): update dependency webpack to v5.72.0 (#4129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 11:33:51 +02:00
renovate[bot]
9865faa8c5 chore(deps): update dependency eslint-plugin-jsdoc to v39 (#4130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 11:33:35 +02:00
renovate[bot]
24e190ae1f chore(deps): update dependency eslint to v8.13.0 (#4132)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 11:33:25 +02:00
renovate[bot]
17121a8058 chore(deps): update dependency winston to v3.7.2 (#4126)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 19:08:04 +02:00
renovate[bot]
fd88c86e40 chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.18.0 (#4125)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 20:26:07 +02:00
renovate[bot]
02d38860d1 chore(deps): update dependency @typescript-eslint/parser to v5.18.0 (#4124)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 19:57:45 +02:00
renovate[bot]
164ae4039a chore(deps): update dependency winston to v3.7.1 (#4123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 19:11:33 +02:00
Daniel Sogl
9fedc9fda5 5.41.0 2022-04-02 20:38:03 +02:00
J. Chris Tyler
a17dba1f8b feat(star-prnt): allow null port for print methods and openCashDrawer (#4095) 2022-04-02 19:33:13 +02:00
Christian von Rohr
12ef7ac215 feat(urbanairship): new functions for version cordova-urbanairship 14.0 (#4097)
* feat(urbanairship): Add attributes editing and fix tag editing

* feat(urbanairship): Update  for urbanairship 14.0

Co-authored-by: Christian von Rohr <christian.vonrohr@well.ch>
2022-04-02 19:32:33 +02:00
Johann-S
04fdacc22f feat(http): add set client auth mode method (#4100)
Co-authored-by: Johann SERVOIRE <j.servoire@ldlc.com>
2022-04-02 19:31:58 +02:00
glv1at118
07093dc553 docs(email-composer): update example (#4101)
"this.emailComposer.hasClient()" and "this.emailComposer.isAvailable()" method usage is wrong on the official documentation. Please check.
.hasClient and .isAvailable both requires an app name string as the parameter, and they return promises. 
The original code of putting the parameter "app" into the "then()" chainable is not correct, as the "then()" only accepts callback functions as parameters.
Tested and proved in visual studio code.
2022-04-02 19:31:46 +02:00
Mohd Gausul Abdeen
32c65efe10 docs(sms-retriever): update example (#4103)
Update  URL 
 import { SmsRetriever } from '@awesome-cordova-plugins/sms-retriever/ngx';
2022-04-02 19:30:50 +02:00
renovate[bot]
4a43c143fe chore(deps): update dependency prettier to v2.6.2 (#4122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 19:29:45 +02:00
renovate[bot]
6e544f08ac chore(deps): update dependency eslint-plugin-jsdoc to v38.1.6 (#4121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 19:10:02 +02:00
renovate[bot]
e1aaa9ab60 chore(deps): update dependency eslint-plugin-jsdoc to v38.1.5 (#4120)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-02 10:52:45 +02:00
renovate[bot]
4316bbcb07 chore(deps): update actions/setup-node action to v3.1.0 (#4118)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 17:08:40 +02:00
renovate[bot]
08770ca627 chore(deps): update dependency webpack to v5.71.0 (#4119)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 17:08:25 +02:00
renovate[bot]
e965d3ea49 chore(deps): update typescript-eslint monorepo to v5.17.0 (#4112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 17:25:16 +02:00
renovate[bot]
933cb1e0c8 chore(deps): update dependency @types/lodash to v4.14.181 (#4114)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 17:25:10 +02:00
renovate[bot]
6d35716b2f chore(deps): update dependency eslint-plugin-jsdoc to v38.1.4 (#4115)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 17:25:02 +02:00
renovate[bot]
3c03eba60c chore(deps): update dependency eslint-plugin-jsdoc to v38.1.3 (#4111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 19:36:52 +02:00
renovate[bot]
b234620bf1 chore(deps): update dependency eslint-plugin-jsdoc to v38.0.8 (#4110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-27 19:49:32 +02:00
renovate[bot]
e8752e28ba chore(deps): update dependency eslint-plugin-jsdoc to v38.0.7 (#4109)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 09:47:30 +01:00
renovate[bot]
89fc8d490e chore(deps): update dependency eslint to v8.12.0 (#4108)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-26 09:40:00 +01:00
renovate[bot]
273925c0a6 chore(deps): update dependency ts-jest to v27.1.4 (#4105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-25 20:24:21 +01:00
renovate[bot]
3747b82f53 chore(deps): update dependency prettier to v2.6.1 (#4106)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-25 20:24:08 +01:00
renovate[bot]
35d7d5c135 chore(deps): update typescript-eslint monorepo to v5.16.0 (#4098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:19:46 +01:00
renovate[bot]
e8a386a13a chore(deps): update dependency minimist to v1.2.6 (#4099)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:19:11 +01:00
renovate[bot]
0feef6a75d chore(deps): update dependency eslint-plugin-jsdoc to v38.0.6 (#4096)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-21 19:34:14 +01:00
renovate[bot]
2ab626ada9 chore(deps): update dependency lint-staged to v12.3.7 (#4094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 19:11:58 +01:00
renovate[bot]
d02781caaa chore(deps): update dependency prettier to v2.6.0 (#4091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 23:01:58 +01:00
renovate[bot]
7875ca7e6f chore(deps): update dependency lint-staged to v12.3.6 (#4092)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 23:01:36 +01:00
renovate[bot]
278c0619c4 chore(deps): update dependency eslint-plugin-jsdoc to v38.0.4 (#4090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 20:53:52 +01:00
renovate[bot]
7ae78815d3 chore(deps): update dependency @typescript-eslint/parser to v5.15.0 (#4089)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 20:53:47 +01:00
renovate[bot]
9eee42a26e chore(deps): update dependency @types/lodash to v4.14.180 (#4088)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 20:53:30 +01:00
renovate[bot]
99f4c5d093 chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.15.0 (#4087)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 20:23:18 +01:00
renovate[bot]
55da02c808 chore(deps): update dependency rollup to v2.70.1 (#4084)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 20:18:33 +01:00
renovate[bot]
21f7411dd4 chore(deps): update dependency eslint-plugin-jsdoc to v38.0.3 (#4082)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 17:59:17 +01:00
renovate[bot]
74b12329c7 chore(deps): update typescript-eslint monorepo to v5.14.0 (#4079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 10:22:06 +01:00
renovate[bot]
6fec213c33 chore(deps): update dependency eslint to v8.11.0 (#4081)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 10:21:59 +01:00
renovate[bot]
75a6776898 chore(deps): update dependency eslint-plugin-jsdoc to v38 (#4080)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 10:21:50 +01:00
renovate[bot]
d231ec2444 chore(deps): update dependency eslint-plugin-jsdoc to v37.9.7 (#4077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 21:56:30 +01:00
renovate[bot]
be08057704 chore(deps): update dependency rollup to v2.70.0 (#4078)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-07 21:56:20 +01:00
renovate[bot]
3da0c9da94 chore(deps): update dependency rollup to v2.69.2 (#4076)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-06 10:02:22 +01:00
renovate[bot]
52c156ab83 chore(deps): update dependency ts-node to v10.7.0 (#4075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-06 10:02:09 +01:00
renovate[bot]
f1a0785022 chore(deps): update dependency lint-staged to v12.3.5 (#4074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-05 09:58:49 +01:00
Daniel Sogl
a8973a2c2b 5.40.0 2022-03-05 09:53:15 +01:00
Lihang Xu
698fa6f47f add dynamsoft barcode scanner (#4072) 2022-03-04 16:52:29 +01:00
renovate[bot]
c30179a1eb chore(deps): update dependency webpack to v5.70.0 (#4069)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 16:51:44 +01:00
renovate[bot]
2fc051d915 chore(deps): update dependency zone.js to v0.11.5 (#4070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 16:51:16 +01:00
renovate[bot]
a4c84d9bcd chore(deps): update dependency rollup to v2.69.1 (#4073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-04 16:51:01 +01:00
Christian von Rohr
d9e9a6d31a feat(urbanairship): Add attributes editing and fix tag editing (#4058)
Co-authored-by: Christian von Rohr <christian.vonrohr@well.ch>
2022-03-03 15:27:47 +01:00
renovate[bot]
110b370003 chore(deps): update typescript-eslint monorepo to v5.13.0 (#4060)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:27:28 +01:00
J. Chris Tyler
790b9eb15c docs(star-prnt): correct capitalization of example code (#4062) 2022-03-03 15:27:17 +01:00
renovate[bot]
09094cef9d chore(deps): update dependency rollup to v2.69.0 (#4050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:26:50 +01:00
renovate[bot]
105de208e5 chore(deps): update dependency ts-node to v10.6.0 (#4063)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:26:34 +01:00
renovate[bot]
bccfde9fc0 chore(deps): update actions/checkout action to v3 (#4064)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:26:28 +01:00
renovate[bot]
fdb6582eb2 chore(deps): update actions/stale action to v5 (#4065)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:26:20 +01:00
renovate[bot]
11c7a61a81 chore(deps): update dependency eslint-plugin-jsdoc to v37.9.6 (#4066)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:26:10 +01:00
renovate[bot]
983d7f1ed1 chore(deps): update dependency eslint-config-prettier to v8.5.0 (#4068)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 15:09:13 +01:00
renovate[bot]
b0e031d92c chore(deps): update dependency eslint-plugin-jsdoc to v37.9.5 (#4059)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 18:38:20 +01:00
renovate[bot]
9903cea9b6 chore(deps): update dependency @types/lodash to v4.14.179 (#4056)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 11:23:41 +01:00
renovate[bot]
8a2a5bc8bd chore(deps): update dependency eslint to v8.10.0 (#4057)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-26 11:23:29 +01:00
renovate[bot]
4d25f05de8 chore(deps): update dependency @types/jest to v27.4.1 (#4053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 19:21:56 +01:00
renovate[bot]
1c30ae6724 chore(deps): update actions/setup-node action to v3 (#4054)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 19:21:51 +01:00
renovate[bot]
019371de49 chore(deps): update dependency @types/node to v16.11.26 (#4055)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 19:21:44 +01:00
renovate[bot]
e2aef199e6 chore(deps): update typescript-eslint monorepo to v5.12.1 (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 19:33:42 +01:00
renovate[bot]
e220450477 chore(deps): update dependency fs-extra to v10.0.1 (#4052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-22 19:33:03 +01:00
VReactor
daa4887325 feat(browser-tab): add plugin (#4046)
* feat(browser-tab): add plugin

* feat(browser-tab): add documentation

Co-authored-by: Neroda.NN <n.neroda@lcgroup.su>
2022-02-19 21:37:28 +01:00
renovate[bot]
711affd42d chore(deps): update dependency eslint-config-prettier to v8.4.0 (#4047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-19 21:32:31 +01:00
renovate[bot]
bae943a165 chore(deps): update dependency @types/node to v16.11.25 (#4040)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 20:02:30 +01:00
renovate[bot]
e9f75a0c4b chore(deps): update dependency eslint-plugin-jsdoc to v37.9.4 (#4044)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 20:02:14 +01:00
renovate[bot]
9821335ecf chore(deps): update dependency rollup to v2.67.3 (#4045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 20:01:57 +01:00
renovate[bot]
edd6becb78 chore(deps): update dependency eslint-plugin-jsdoc to v37.9.2 (#4042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 19:27:58 +01:00
renovate[bot]
4dba4d1c04 chore(deps): update dependency webpack to v5.69.1 (#4043)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 19:27:51 +01:00
renovate[bot]
49749da17c chore(deps): update dependency webpack to v5.69.0 (#4041)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 19:03:34 +01:00
renovate[bot]
fcdce472df chore(deps): update typescript-eslint monorepo to v5.12.0 (#4039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 20:09:54 +01:00
renovate[bot]
5786dcc16a chore(deps): update dependency lint-staged to v12.3.4 (#4038)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 19:38:58 +01:00
renovate[bot]
fd402a97d5 chore(deps): update dependency winston to v3.6.0 (#4037)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 13:45:32 +01:00
Daniel Sogl
792cb5ce11 5.39.1 2022-02-12 20:25:14 +01:00
renovate[bot]
d3f2b02b30 chore(deps): update dependency eslint to v8.9.0 (#4036)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 17:30:23 +01:00
renovate[bot]
4a42674d6b chore(deps): update dependency eslint-plugin-jsdoc to v37.9.1 (#4035)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-12 17:30:14 +01:00
renovate[bot]
7de0f637fd chore(deps): update dependency @types/node to v16.11.24 (#4034)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 18:11:24 +01:00
Sk Heerah Zafir
8e257f3e08 fix(background-upload): use correct plugin source (#4028)
* Add @spoonconsulting

* Remove ccordova
2022-02-10 13:05:02 +01:00
renovate[bot]
0a772198fb chore(deps): update dependency rollup to v2.67.2 (#4023)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:41 +01:00
renovate[bot]
1f8545f739 chore(deps): update dependency ts-node to v10.5.0 (#4025)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:36 +01:00
renovate[bot]
52acb0d003 chore(deps): update dependency eslint-plugin-jsdoc to v37.8.2 (#4026)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:31 +01:00
renovate[bot]
b721017a17 chore(deps): update typescript-eslint monorepo to v5.11.0 (#4027)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:25 +01:00
renovate[bot]
c6794d2257 chore(deps): update dependency jest to v27.5.1 (#4029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:18 +01:00
renovate[bot]
d2613cb17f chore(deps): update dependency @types/node to v16.11.23 (#4033)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 13:03:09 +01:00
renovate[bot]
145a60685e chore(deps): update dependency jest to v27.5.0 (#4022)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-06 10:30:26 +01:00
renovate[bot]
72dc59123a chore(deps): update dependency eslint-plugin-jsdoc to v37.7.1 (#4020)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 18:58:10 +01:00
renovate[bot]
204d7df921 chore(deps): update dependency rollup to v2.67.0 (#4019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-02 20:50:17 +01:00
Daniel Sogl
827e722d4c 5.39.0 2022-02-01 20:56:43 +00:00
renovate[bot]
77730dd2e1 chore(deps): update dependency @types/node to v16.11.22 (#4015)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 21:51:16 +01:00
renovate[bot]
021ba2c68b chore(deps): update dependency terser-webpack-plugin to v5.3.1 (#4016)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 21:51:11 +01:00
renovate[bot]
65165200d7 chore(deps): update dependency lint-staged to v12.3.3 (#4017)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 21:51:02 +01:00
TAKUYA NAKAYASU
bb1f3268de fix(firebase-x): change incrementCounter signature (#4010) 2022-02-01 10:30:38 +01:00
piyush-kukadiya
24c61a50a7 feat(clevertap): support new clevertap changes (#4011)
* 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

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>
2022-02-01 10:30:12 +01:00
renovate[bot]
d382e3e17e chore(deps): update dependency winston to v3.5.1 (#4014)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-01 10:29:15 +01:00
renovate[bot]
e03e869f76 chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.10.2 (#4012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 20:32:51 +01:00
renovate[bot]
72cc3c79e6 chore(deps): update dependency webpack to v5.68.0 (#4013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 20:25:15 +01:00
renovate[bot]
fce7f2c1af chore(deps): update dependency eslint to v8.8.0 (#4008)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-30 21:11:43 +01:00
renovate[bot]
286d7d8298 chore(deps): update dependency winston to v3.5.0 (#4007)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-28 16:52:55 +01:00
Daniel Sogl
093fda8f74 5.38.0 2022-01-27 08:35:11 +00:00
renovate[bot]
9ba02fe567 chore(deps): update dependency eslint-plugin-jsdoc to v37.7.0 (#4003)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-27 09:34:47 +01:00
renovate[bot]
20ced6738b chore(deps): update dependency lint-staged to v12.3.2 (#4004)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-27 09:34:41 +01:00
Daniel Sogl
3af036f93e docs(): update generated readmes 2022-01-27 08:33:57 +00:00
Daniel Sogl
e6140aaaee feat(market): add plugin 2022-01-27 08:32:31 +00:00
renovate[bot]
8765be4e42 chore(deps): update dependency @typescript-eslint/parser to v5.10.1 (#4000)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 21:29:55 +01:00
renovate[bot]
c3b0377e3c chore(deps): update dependency rollup to v2.66.1 (#4001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 21:29:46 +01:00
renovate[bot]
8ab490b95b chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.10.1 (#3999)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 19:34:48 +01:00
Пронин Андрей
67d8a37d1e feat(chooser-simple-file): add plugin (#3982)
* add chooser actual fork plugin

* * removes base64 functionality as we can use ionic native file plugin to get file directly

* use getFiles

Co-authored-by: Pronin Andrey <a@innoline.pro>
2022-01-23 16:39:28 +01:00
renovate[bot]
8351a26a74 chore(deps): update dependency lint-staged to v12.3.1 (#3998)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 16:24:27 +01:00
renovate[bot]
a9c5ba9d67 chore(deps): update dependency lint-staged to v12.3.0 (#3997)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 16:14:20 +01:00
TAKUYA NAKAYASU
a1e85d2f80 fix(social-sharing): change shareWithOptions parameter typing (#3996) 2022-01-23 16:14:14 +01:00
renovate[bot]
551382a841 chore(deps): update dependency rollup to v2.66.0 (#3994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 16:14:05 +01:00
renovate[bot]
bc51ed7c2c chore(deps): update dependency eslint-plugin-jsdoc to v37.6.3 (#3991)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 20:19:39 +01:00
renovate[bot]
416a4b7626 chore(deps): update dependency webpack to v5.67.0 (#3993)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 20:19:25 +01:00
renovate[bot]
06c9f19ce3 chore(deps): update dependency eslint-plugin-jsdoc to v37.6.2 (#3989)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 15:58:27 +01:00
renovate[bot]
32c6559648 chore(deps): update dependency rollup to v2.65.0 (#3990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-21 15:58:13 +01:00
renovate[bot]
2c25c4be3a chore(deps): update dependency lint-staged to v12.2.2 (#3986)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 20:04:11 +01:00
renovate[bot]
c88310b658 chore(deps): update dependency lint-staged to v12.2.1 (#3983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 14:44:06 +01:00
renovate[bot]
92a2ae5006 chore(deps): update dependency @types/node to v16.11.21 (#3984)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 14:43:55 +01:00
renovate[bot]
3bd839acbb chore(deps): update typescript-eslint monorepo to v5.10.0 (#3981)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 22:06:27 +01:00
renovate[bot]
43136d9447 chore(deps): update dependency @types/node to v16.11.20 (#3980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 19:37:12 +01:00
renovate[bot]
bbab19f5aa chore(deps): update dependency eslint to v8.7.0 (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-16 19:17:24 +01:00
renovate[bot]
8276f460e7 chore(deps): update dependency ts-jest to v27.1.3 (#3978)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-15 10:33:31 +01:00
renovate[bot]
d31111478d chore(deps): update dependency rollup to v2.64.0 (#3977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-15 10:33:17 +01:00
renovate[bot]
20c3b83c23 chore(deps): update dependency webpack to v5.66.0 (#3974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 16:23:32 +01:00
renovate[bot]
c17defd727 chore(deps): update dependency winston to v3.4.0 (#3969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 17:30:43 +01:00
renovate[bot]
68d854f0a5 chore(deps): update typescript-eslint monorepo to v5.9.1 (#3968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 17:30:34 +01:00
renovate[bot]
b2d1e45ba6 chore(deps): update dependency winston to v3.3.4 (#3966)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-10 18:14:29 +01:00
renovate[bot]
7c487064b7 chore(deps): update dependency eslint-plugin-jsdoc to v37.6.1 (#3965)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-09 18:25:20 +01:00
Simone Colazzo
3b8566df93 feat(magnetometer): add magnetometer wrapper (#3887)
* feat(magnetometer): add magnetometer wrapper

* fix(magnetomer): add wrapper parameters

Co-authored-by: Simone Colazzo <si.colazzo@reply.it>
2022-01-08 14:21:04 +01:00
renovate[bot]
a04a70e1a0 chore(deps): update dependency eslint-plugin-jsdoc to v37.5.2 (#3964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-08 14:20:37 +01:00
renovate[bot]
7cad9fd207 chore(deps): update dependency lint-staged to v12.1.7 (#3961)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-08 14:10:12 +01:00
Martin DONADIEU
6a93bb2e9b feat(camera-preview): add storeToFile param (#3958) 2022-01-06 21:28:38 +01:00
renovate[bot]
e1c10171ba chore(deps): update dependency jest to v27.4.7 (#3957)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-06 21:27:42 +01:00
renovate[bot]
7ef395a1f5 chore(deps): update dependency @types/node to v16.11.19 (#3956) 2022-01-04 23:35:29 +01:00
renovate[bot]
3da6e37b20 chore(deps): update typescript-eslint monorepo to v5.9.0 (#3954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 18:24:13 +01:00
renovate[bot]
8e9bbf41e1 chore(deps): update dependency rollup to v2.63.0 (#3955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 18:24:06 +01:00
Marius Backes
7350c630fe feat(sumup): add test and setup function (#3950)
* feat(sumup): add setup and test function

* feat(sumup): add title as parameter in pay function
2022-01-03 15:47:15 +01:00
renovate[bot]
f5c5e7d179 chore(deps): update dependency lint-staged to v12.1.5 (#3951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 15:46:53 +01:00
renovate[bot]
dfbcf412ed chore(deps): update dependency @types/node to v16.11.18 (#3952)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 15:46:42 +01:00
renovate[bot]
8c23123ae8 chore(deps): update dependency eslint-plugin-jsdoc to v37.5.1 (#3953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-03 15:46:35 +01:00
renovate[bot]
2c8d6e4224 chore(deps): update dependency eslint-plugin-jsdoc to v37.5.0 (#3948)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-02 14:38:23 +01:00
renovate[bot]
cc203ee566 chore(deps): update dependency eslint to v8.6.0 (#3949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-02 14:22:14 +01:00
renovate[bot]
c3248915e0 chore(deps): update dependency @types/jest to v27.4.0 (#3947)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-31 12:15:21 +01:00
renovate[bot]
0c282b365a chore(deps): update dependency eslint-plugin-jsdoc to v37.4.2 (#3945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-28 19:09:42 +01:00
renovate[bot]
3a628efa78 chore(deps): update actions/setup-node action to v2.5.1 (#3944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-28 12:43:13 +01:00
renovate[bot]
64ec0cbb07 chore(deps): update typescript-eslint monorepo to v5.8.1 (#3943)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-28 12:43:01 +01:00
renovate[bot]
930e011bf0 chore(deps): update dependency eslint to v8 (#3924)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 22:02:24 +01:00
renovate[bot]
eb2c405e99 chore(deps): update dependency @types/node to v16.11.17 (#3936)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 22:01:41 +01:00
renovate[bot]
bf3c873b43 chore(deps): update dependency rollup to v2.62.0 (#3938)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 22:01:35 +01:00
renovate[bot]
f63db5b94c chore(deps): update dependency lint-staged to v12.1.4 (#3940)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 22:01:29 +01:00
renovate[bot]
642314271c chore(deps): update dependency conventional-changelog-cli to v2.2.2 (#3941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-25 22:01:24 +01:00
Daniel Sogl
7d52794933 refactor(tealium): resolv lint issues 2021-12-25 20:47:29 +00:00
Daniel Sogl
104e66db28 chore(ci): run lint workflow quiet 2021-12-25 20:46:28 +00:00
Karen Tamayo
771552cd42 feat(tealium): update wrapper (#3883)
Co-authored-by: Karen Tamayo <karentamayo@Karens-MBP.webpass.net>
2021-12-21 18:58:13 +01:00
renovate[bot]
50069b6fe8 chore(deps): update dependency @types/node to v16.11.15 (#3916)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 18:57:37 +01:00
renovate[bot]
3b6d3a04fb chore(deps): update dependency eslint-plugin-jsdoc to v37.4.0 (#3929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 18:57:27 +01:00
renovate[bot]
1df610968a chore(deps): update typescript-eslint monorepo to v5.8.0 (#3932)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-21 18:57:18 +01:00
Daniel Sogl
79e10c7b54 Update .gitbook.yaml 2021-12-21 18:42:31 +01:00
Daniel Sogl
da8c059017 Delete README.md 2021-12-21 18:41:53 +01:00
Daniel Sogl
bbb8e20b57 GitBook: [#6] No subject 2021-12-21 17:38:18 +00:00
Jean-Christophe Hoelt
5c7ece4e9b docs(in-app-purchase-2): add missing code block close (#3933) 2021-12-21 16:08:52 +01:00
renovate[bot]
bdab2f82cd chore(deps): update typescript-eslint monorepo to v5 (#3928)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 18:38:18 +01:00
renovate[bot]
e149bc0fdc chore(deps): update dependency eslint-plugin-jsdoc to v37.3.0 (#3917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 18:37:48 +01:00
renovate[bot]
a16099aaae chore(deps): update dependency terser-webpack-plugin to v5.3.0 (#3921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 18:37:40 +01:00
renovate[bot]
ce822f8ed0 chore(deps): update dependency lint-staged to v12.1.3 (#3927)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-19 18:37:25 +01:00
Daniel Sogl
119796b0e7 5.37.3 2021-12-19 11:16:25 +00:00
Daniel Sogl
0922b468a2 closes #3909; fix: allow rxjs 5, 6 and 7 2021-12-19 12:14:32 +01:00
renovate[bot]
6cfc20cd93 chore(deps): update dependency ts-jest to v27.1.2 (#3919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-18 15:23:40 +01:00
renovate[bot]
e4b1d47c07 chore(deps): update dependency rollup to v2.61.1 (#3918)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-18 15:23:32 +01:00
renovate[bot]
47181c1e03 chore(deps): pin dependencies (#3914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 22:13:46 +01:00
renovate[bot]
d095932007 chore(deps): pin dependencies (#3913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 22:04:17 +01:00
Daniel Sogl
bcf4868847 Delete dependabot.yml 2021-12-16 22:01:52 +01:00
renovate[bot]
76743a4811 chore(deps): add renovate.json (#3908)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 22:01:37 +01:00
Daniel Sogl
973a8b76c1 5.37.2 2021-12-16 21:00:31 +00:00
dependabot[bot]
3afcf3c0e9 chore(deps-dev): bump @types/lodash from 4.14.177 to 4.14.178 (#3900)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.177 to 4.14.178.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 19:42:19 +01:00
dependabot[bot]
f04f4f8fb9 chore(deps-dev): bump rollup from 2.60.2 to 2.61.0 (#3899)
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.2 to 2.61.0.
- [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/v2.60.2...v2.61.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 19:42:12 +01:00
dependabot[bot]
429bd8f5b2 chore(deps-dev): bump eslint-plugin-jsdoc from 37.0.3 to 37.2.0 (#3898)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.0.3 to 37.2.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.0.3...v37.2.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 19:42:06 +01:00
dependabot[bot]
98cf6a1be4 chore(deps-dev): bump ts-jest from 27.1.0 to 27.1.1 (#3895)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.1.0 to 27.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.1.0...v27.1.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 19:20:57 +01:00
dependabot[bot]
62207e6ad5 chore(deps-dev): bump @types/node from 16.11.11 to 16.11.12 (#3894)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.11 to 16.11.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 19:20:45 +01:00
Uglješa Erceg
a013e33e2c fix(adjust): added missing AdjustConfig method (#3886) 2021-12-09 17:38:54 +01:00
dependabot[bot]
d10a20ec1d chore(deps-dev): bump webpack from 5.64.2 to 5.65.0 (#3889)
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.2 to 5.65.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.2...v5.65.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 20:36:16 +01:00
dependabot[bot]
6f97eb6bbc chore(deps-dev): bump ts-jest from 27.0.7 to 27.1.0 (#3891)
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 27.0.7 to 27.1.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v27.0.7...v27.1.0)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 20:35:11 +01:00
dependabot[bot]
9a6406c341 chore(deps-dev): bump prettier from 2.4.1 to 2.5.1 (#3892)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-07 20:34:57 +01:00
dependabot[bot]
54e958b570 chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#3878)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 21:37:35 +01:00
dependabot[bot]
a93bfcd8c3 chore(deps-dev): bump rollup from 2.60.1 to 2.60.2 (#3880)
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.1 to 2.60.2.
- [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/v2.60.1...v2.60.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 21:37:28 +01:00
dependabot[bot]
f3f923de22 chore(deps-dev): bump @types/node from 16.11.10 to 16.11.11 (#3882)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.10 to 16.11.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 21:36:56 +01:00
dependabot[bot]
48e39db016 chore(deps-dev): bump jest from 27.3.1 to 27.4.3 (#3884)
Bumps [jest](https://github.com/facebook/jest) from 27.3.1 to 27.4.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.3.1...v27.4.3)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 21:36:50 +01:00
Daniel Sogl
6d44ce555c 5.37.1 2021-11-24 10:27:51 +00:00
dependabot[bot]
fb37d49e46 chore(deps-dev): bump @types/node from 16.11.9 to 16.11.10 (#3873)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.9 to 16.11.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 11:25:16 +01:00
dependabot[bot]
dceef7f32a chore(deps-dev): bump rollup from 2.60.0 to 2.60.1 (#3870)
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.0 to 2.60.1.
- [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/v2.60.0...v2.60.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:58:30 +01:00
dependabot[bot]
175a6ca029 chore(deps-dev): bump lint-staged from 12.0.3 to 12.1.2 (#3872)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.0.3 to 12.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.0.3...v12.1.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:58:22 +01:00
dependabot[bot]
72b466f62b chore(deps-dev): bump webpack from 5.64.1 to 5.64.2 (#3869)
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.1 to 5.64.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.1...v5.64.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:58:08 +01:00
dependabot[bot]
e69f88e5fa chore(deps-dev): bump @types/node from 16.11.8 to 16.11.9 (#3865)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.8 to 16.11.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-22 21:18:40 +01:00
dependabot[bot]
a766261e87 chore(deps-dev): bump @types/lodash from 4.14.176 to 4.14.177 (#3858)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.176 to 4.14.177.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-20 12:17:28 +01:00
dependabot[bot]
86bf521aa4 chore(deps-dev): bump @types/node from 16.11.7 to 16.11.8 (#3864)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.7 to 16.11.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 13:56:40 +01:00
dependabot[bot]
57d0ec878b chore(deps-dev): bump @types/jest from 27.0.2 to 27.0.3 (#3863)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.2 to 27.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 13:56:32 +01:00
dependabot[bot]
4ed2d60ba4 chore(deps-dev): bump lint-staged from 12.0.2 to 12.0.3 (#3862)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.0.2 to 12.0.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.0.2...v12.0.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 13:56:21 +01:00
dependabot[bot]
5d044a774b chore(deps-dev): bump webpack from 5.64.0 to 5.64.1 (#3859)
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.0 to 5.64.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.0...v5.64.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 08:30:09 +01:00
dependabot[bot]
97559595d8 chore(deps-dev): bump lint-staged from 11.2.6 to 12.0.2 (#3857)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.6 to 12.0.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.6...v12.0.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 08:30:00 +01:00
aboedo
2f25396c94 feat(purchases): add setAirshipChannelID method (#3856) 2021-11-15 18:02:53 +01:00
dependabot[bot]
96847444fa chore(deps-dev): bump rollup from 2.59.0 to 2.60.0 (#3854)
Bumps [rollup](https://github.com/rollup/rollup) from 2.59.0 to 2.60.0.
- [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/v2.59.0...v2.60.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-13 12:45:01 +01:00
dependabot[bot]
bf7ba31aab chore(deps-dev): bump webpack from 5.63.0 to 5.64.0 (#3853)
Bumps [webpack](https://github.com/webpack/webpack) from 5.63.0 to 5.64.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.63.0...v5.64.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-12 13:04:37 +01:00
dependabot[bot]
2738adb450 chore(deps-dev): bump webpack from 5.62.1 to 5.63.0 (#3851)
Bumps [webpack](https://github.com/webpack/webpack) from 5.62.1 to 5.63.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.62.1...v5.63.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 22:15:30 +01:00
dependabot[bot]
4516f0fba3 chore(deps-dev): bump @types/node from 16.11.6 to 16.11.7 (#3852)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.6 to 16.11.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 22:05:56 +01:00
dependabot[bot]
923a6fb2c0 chore(deps-dev): bump webpack from 5.61.0 to 5.62.1 (#3846)
Bumps [webpack](https://github.com/webpack/webpack) from 5.61.0 to 5.62.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.61.0...v5.62.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 17:42:54 +01:00
dependabot[bot]
096aab7d59 chore(deps-dev): bump terser-webpack-plugin from 5.2.4 to 5.2.5 (#3848)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.2.4 to 5.2.5.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.2.4...v5.2.5)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 17:42:40 +01:00
dependabot[bot]
c680cb4966 chore(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#3844)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 22:33:51 +01:00
dependabot[bot]
f84e86e621 chore(deps-dev): bump rollup from 2.58.3 to 2.59.0 (#3843)
Bumps [rollup](https://github.com/rollup/rollup) from 2.58.3 to 2.59.0.
- [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/v2.58.3...v2.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-02 18:19:22 +01:00
dependabot[bot]
0a2d28a74d chore(deps-dev): bump webpack from 5.60.0 to 5.61.0 (#3842)
Bumps [webpack](https://github.com/webpack/webpack) from 5.60.0 to 5.61.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.60.0...v5.61.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-29 22:33:27 +02:00
dependabot[bot]
a445327f78 chore(deps-dev): bump lint-staged from 11.2.4 to 11.2.6 (#3841)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.4 to 11.2.6.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.4...v11.2.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 22:28:45 +02:00
dependabot[bot]
0886f361db chore(deps-dev): bump @types/node from 16.11.5 to 16.11.6 (#3840)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.5 to 16.11.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:55:53 +02:00
dependabot[bot]
93e31a509f chore(deps-dev): bump eslint-plugin-jsdoc from 37.0.0 to 37.0.3 (#3836)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.0.0 to 37.0.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v37.0.0...v37.0.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:52:00 +02:00
dependabot[bot]
9cae7e8936 chore(deps-dev): bump lint-staged from 11.2.3 to 11.2.4 (#3838)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.3 to 11.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.3...v11.2.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:48:07 +02:00
dependabot[bot]
7a6d690a0d chore(deps-dev): bump is-ci from 3.0.0 to 3.0.1 (#3837)
Bumps [is-ci](https://github.com/watson/is-ci) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/watson/is-ci/releases)
- [Changelog](https://github.com/watson/is-ci/blob/master/CHANGELOG.md)
- [Commits](https://github.com/watson/is-ci/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: is-ci
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:47:56 +02:00
dependabot[bot]
1e264b53b3 chore(deps-dev): bump webpack from 5.59.1 to 5.60.0 (#3835)
Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.60.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.59.1...v5.60.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:47:38 +02:00
dependabot[bot]
163005d9c4 chore(deps-dev): bump @types/node from 16.11.2 to 16.11.5 (#3834)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.2 to 16.11.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:40:46 +02:00
dependabot[bot]
fe87a6e56c chore(deps-dev): bump rollup from 2.58.0 to 2.58.3 (#3833)
Bumps [rollup](https://github.com/rollup/rollup) from 2.58.0 to 2.58.3.
- [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/v2.58.0...v2.58.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:40:37 +02:00
dependabot[bot]
8c8ca73af0 chore(deps-dev): bump eslint-plugin-jsdoc from 36.1.1 to 37.0.0 (#3832)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 36.1.1 to 37.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v36.1.1...v37.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:40:26 +02:00
dependabot[bot]
15cae61ee2 chore(deps-dev): bump ts-node from 10.3.1 to 10.4.0 (#3831)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.3.1 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.3.1...v10.4.0)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 13:40:16 +02:00
dependabot[bot]
f717880b8c chore(deps-dev): bump @types/lodash from 4.14.175 to 4.14.176 (#3825)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.175 to 4.14.176.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:59:26 +02:00
dependabot[bot]
8b10e201f5 chore(deps-dev): bump ts-node from 10.3.0 to 10.3.1 (#3829)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.3.0 to 10.3.1.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.3.0...v10.3.1)

---
updated-dependencies:
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-22 16:59:17 +02:00
dependabot[bot]
a2a5836804 chore(deps-dev): bump @types/node from 16.11.1 to 16.11.2 (#3826) 2021-10-22 11:32:50 +02:00
dependabot[bot]
2720d84ff5 chore(deps-dev): bump webpack from 5.59.0 to 5.59.1 (#3827) 2021-10-22 11:32:38 +02:00
dependabot[bot]
4ad2d71bca chore(deps-dev): bump husky from 7.0.2 to 7.0.4 (#3828) 2021-10-22 11:32:28 +02:00
dependabot[bot]
6d2428c97e chore(deps-dev): bump webpack from 5.58.2 to 5.59.0 (#3824)
Bumps [webpack](https://github.com/webpack/webpack) from 5.58.2 to 5.59.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.58.2...v5.59.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 15:12:02 +02:00
dependabot[bot]
bfe7a6a0a1 chore(deps-dev): bump @types/node from 16.11.0 to 16.11.1 (#3821)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.11.0 to 16.11.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-20 15:11:53 +02:00
Daniel Sogl
dce0a22b23 chore(package): bump deps 2021-10-19 18:51:21 +02:00
Daniel Sogl
ba62223ce2 refactor(hyper-track): fix type errors 2021-10-19 18:46:32 +02:00
dependabot[bot]
a1d2868343 chore(deps-dev): bump ts-jest from 27.0.6 to 27.0.7 (#3823) 2021-10-19 12:40:34 +02:00
dependabot[bot]
d13f72d851 chore(deps-dev): bump jest from 27.2.5 to 27.3.0 (#3822) 2021-10-19 12:40:24 +02:00
98 changed files with 8594 additions and 3634 deletions

View File

@@ -1 +1 @@
root: ./docs/
root: ./docs/plugins/

View File

@@ -1,7 +1,7 @@
**I'm submitting a ...** (check one with "x")
[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://ionicworldwide.herokuapp.com/
- [ ] bug report
- [ ] feature request
- [ ] support request => Please do not submit support requests here, use the discussions section https://github.com/danielsogl/awesome-cordova-plugins/discussions
**Current behavior:**
<!-- Describe how the bug manifests. -->

View File

@@ -1,11 +0,0 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'

View File

@@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/checkout@v3.2.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v3.5.1
with:
node-version: ${{ matrix.node-version }}
@@ -21,7 +21,7 @@ jobs:
run: npm ci
- name: Lint
run: npm run lint
run: npm run lint -- --quiet
- name: Build
run: npm run build

View File

@@ -9,10 +9,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v3.2.0
- uses: actions/setup-node@v3.5.1
with:
node-version: 14
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
@@ -24,10 +24,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v3.2.0
- uses: actions/setup-node@v3.5.1
with:
node-version: 14
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run shipit

View File

@@ -13,7 +13,7 @@ jobs:
pull-requests: write
steps:
- uses: actions/stale@v4
- uses: actions/stale@v7
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'There has been no recent activity and this issue has been marked inactive.'

View File

@@ -1,3 +1,250 @@
# [6.3.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.2.0...v6.3.0) (2022-12-31)
### Bug Fixes
* **chooser:** Update for support android 11+ ([#4436](https://github.com/danielsogl/awesome-cordova-plugins/issues/4436)) ([ba37646](https://github.com/danielsogl/awesome-cordova-plugins/commit/ba37646fc4b7cc86b497affa0ef932ad374b9080))
### Features
* **advanced-image-picker:** add plugin ([#4434](https://github.com/danielsogl/awesome-cordova-plugins/issues/4434)) ([63cfd44](https://github.com/danielsogl/awesome-cordova-plugins/commit/63cfd4488d17b5cdac8a8302b310acc6c308c5a2))
* **brightness:** add brightness plugin ([#4454](https://github.com/danielsogl/awesome-cordova-plugins/issues/4454)) ([f02bc78](https://github.com/danielsogl/awesome-cordova-plugins/commit/f02bc78ec253f6388750e662571300c82e990b51))
* **clevertap:** support clevertap-cordova 2.6.0 ([#4458](https://github.com/danielsogl/awesome-cordova-plugins/issues/4458)) ([74a80c0](https://github.com/danielsogl/awesome-cordova-plugins/commit/74a80c0953577478bd15fe16ab9edf28dcb27280)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
* **diagnostics:** add getBluetoothAuthorizationStatuses function ([#4442](https://github.com/danielsogl/awesome-cordova-plugins/issues/4442)) ([ff78ca7](https://github.com/danielsogl/awesome-cordova-plugins/commit/ff78ca7fb4335698076282ec9da99433939f276a))
* **fbsdk:** add plugin ([#4431](https://github.com/danielsogl/awesome-cordova-plugins/issues/4431)) ([a095422](https://github.com/danielsogl/awesome-cordova-plugins/commit/a0954228896b53dc42db3cbf6d6e89764d83646d))
* **ffmpeg:** add plugin ([#4435](https://github.com/danielsogl/awesome-cordova-plugins/issues/4435)) ([9b4502f](https://github.com/danielsogl/awesome-cordova-plugins/commit/9b4502f9297d1a0a579db3fd0165c98e0897625e))
* **fingerprint-aio:** update plugin ([#4423](https://github.com/danielsogl/awesome-cordova-plugins/issues/4423)) ([0579e67](https://github.com/danielsogl/awesome-cordova-plugins/commit/0579e67e966eb0469bccd22ee88d0c4c9c375838))
* **mobile-accessibility:** add mobile-accessibility plugin ([#4456](https://github.com/danielsogl/awesome-cordova-plugins/issues/4456)) ([e51a1a7](https://github.com/danielsogl/awesome-cordova-plugins/commit/e51a1a79efcfd99e05783d567472251277f1bf93))
* **power-management:** add power management support ([#4443](https://github.com/danielsogl/awesome-cordova-plugins/issues/4443)) ([b283dc2](https://github.com/danielsogl/awesome-cordova-plugins/commit/b283dc2e761dd897556a8ed955a312b663ca9c5e))
* **unique-device-id:** add unique-device-id plugin ([#4455](https://github.com/danielsogl/awesome-cordova-plugins/issues/4455)) ([7fe3ad1](https://github.com/danielsogl/awesome-cordova-plugins/commit/7fe3ad1daabeac6c8365ddfce4d2b44df94ed00b))
* **wonderpush:** expose getters and setters ([#4441](https://github.com/danielsogl/awesome-cordova-plugins/issues/4441)) ([3b1d059](https://github.com/danielsogl/awesome-cordova-plugins/commit/3b1d0593daf5732ea9f6268af84a612a575a3941))
# [6.2.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.1.0...v6.2.0) (2022-11-04)
### Bug Fixes
* **bluetooth-le:** use correct return types ([#4411](https://github.com/danielsogl/awesome-cordova-plugins/issues/4411)) ([2d347e4](https://github.com/danielsogl/awesome-cordova-plugins/commit/2d347e46edb47a13e662e55ae8c126021a54ea85))
* **deps:** update dependency tslib to v2.4.1 ([#4413](https://github.com/danielsogl/awesome-cordova-plugins/issues/4413)) ([e90a6a3](https://github.com/danielsogl/awesome-cordova-plugins/commit/e90a6a306c24bf5b58ff2419fe1e8fea73c62472))
* **diagnostic:** add getBluetoothAuthorizationStatus function ([#4398](https://github.com/danielsogl/awesome-cordova-plugins/issues/4398)) ([c544b43](https://github.com/danielsogl/awesome-cordova-plugins/commit/c544b43a5198566b2e56a0c3e0bbeb74e5527f0e))
* **diagnostic:** add new Android runtime permissions for Bluetooth ([#4402](https://github.com/danielsogl/awesome-cordova-plugins/issues/4402)) ([6a97dc5](https://github.com/danielsogl/awesome-cordova-plugins/commit/6a97dc5e07ace559b766482ca1ee1a187ffb5d0c))
### Features
* **ble:** add wrapper for starting location notifications ([#4399](https://github.com/danielsogl/awesome-cordova-plugins/issues/4399)) ([755b28e](https://github.com/danielsogl/awesome-cordova-plugins/commit/755b28e32534d75a6f8079b9be5a8e1b81aef636))
* **crop-privacy:** add plugin ([#4408](https://github.com/danielsogl/awesome-cordova-plugins/issues/4408)) ([1e258ad](https://github.com/danielsogl/awesome-cordova-plugins/commit/1e258adeb5506d3bfa3eff755a710fa6373f6dcc))
* **device:** detect if app is running on a macOS desktop with Apple Silicon ([#4299](https://github.com/danielsogl/awesome-cordova-plugins/issues/4299)) ([af55cb2](https://github.com/danielsogl/awesome-cordova-plugins/commit/af55cb25fa39146c0ed79d94e3805a401b881cc2))
* **file-chooser:** add plugin ([#4396](https://github.com/danielsogl/awesome-cordova-plugins/issues/4396)) ([97f5661](https://github.com/danielsogl/awesome-cordova-plugins/commit/97f566170efdc90f48a4f7b4aef292dccfb0165c))
* **image-resizer:** add plugin ([#4397](https://github.com/danielsogl/awesome-cordova-plugins/issues/4397)) ([d2e92f5](https://github.com/danielsogl/awesome-cordova-plugins/commit/d2e92f558972d62e6061494bee3562c70dfe7de1))
* **newrelic:** add plugin ([#4409](https://github.com/danielsogl/awesome-cordova-plugins/issues/4409)) ([ef499ed](https://github.com/danielsogl/awesome-cordova-plugins/commit/ef499ed290d399a76ff3428b2dca63bd7ae0977f))
# [6.1.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.0.1...v6.1.0) (2022-10-22)
### Bug Fixes
* **launch-navigator:** use currect handlers ([#4385](https://github.com/danielsogl/awesome-cordova-plugins/issues/4385)) ([62f664e](https://github.com/danielsogl/awesome-cordova-plugins/commit/62f664e61a31f7b8be395cd6ce575604c5b5e88c))
### Features
* **diagnostic:** addisCameraRollAuthorized and getCameraRollAuthorizationStatus functions (WIP) ([#4362](https://github.com/danielsogl/awesome-cordova-plugins/issues/4362)) ([cd81cfa](https://github.com/danielsogl/awesome-cordova-plugins/commit/cd81cfabf4a3027d65597a3b7079da5998988891))
* **webim:** update plugin wrapper ([#4370](https://github.com/danielsogl/awesome-cordova-plugins/issues/4370)) ([81a8b42](https://github.com/danielsogl/awesome-cordova-plugins/commit/81a8b42a29f8b83fdcae8f6bcdf5179d009ad72d))
## [6.0.1](https://github.com/danielsogl/awesome-cordova-plugins/compare/v6.0.0...v6.0.1) (2022-10-17)
### Bug Fixes
* use correct core version ([e7d1641](https://github.com/danielsogl/awesome-cordova-plugins/commit/e7d1641fe9b3cc18bbfab0fb7f23d8b3a4136e9b))
# [6.0.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.46.0...v6.0.0) (2022-10-15)
### Features
* **core:** use angular ivy ([#4369](https://github.com/danielsogl/awesome-cordova-plugins/issues/4369)) ([85441e5](https://github.com/danielsogl/awesome-cordova-plugins/commit/85441e59cac2ac9f40b9da55647ec89c9bafb2ea))
# [5.46.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.45.0...v5.46.0) (2022-10-09)
### Bug Fixes
* **sms-retriever:** update startWatching result type ([#4309](https://github.com/danielsogl/awesome-cordova-plugins/issues/4309)) ([178489f](https://github.com/danielsogl/awesome-cordova-plugins/commit/178489ffaae6ad256ca1536bc79e63354c72516f))
### Features
* **adjust:** update wrapper for Adjust Cordova SDK v4.32.0 ([#4327](https://github.com/danielsogl/awesome-cordova-plugins/issues/4327)) ([a7a1091](https://github.com/danielsogl/awesome-cordova-plugins/commit/a7a10913fcfc218dddd1b55b24aa797b47e3bf73))
* **app-review:** add plugin ([#4348](https://github.com/danielsogl/awesome-cordova-plugins/issues/4348)) ([b0780a8](https://github.com/danielsogl/awesome-cordova-plugins/commit/b0780a8bec1f061489966ab29ebd44736eb3536e))
* **applovin:** add plugin ([#4307](https://github.com/danielsogl/awesome-cordova-plugins/issues/4307)) ([bf860c3](https://github.com/danielsogl/awesome-cordova-plugins/commit/bf860c30c216e05bc516c179979210c1645570a9))
* **bluetooth-le:** upgrade to v6.7.0 ([#4320](https://github.com/danielsogl/awesome-cordova-plugins/issues/4320)) ([98dc7c4](https://github.com/danielsogl/awesome-cordova-plugins/commit/98dc7c4be0c3a63775a63926e5958bcde79e7d5c))
* **device:** add sdkVersion ([#4354](https://github.com/danielsogl/awesome-cordova-plugins/issues/4354)) ([acb39e5](https://github.com/danielsogl/awesome-cordova-plugins/commit/acb39e5849f368e2d2ac75baa5d341b189206e27))
* **diagnostic:** extend parameter for requestLocationAuthorization ([#4350](https://github.com/danielsogl/awesome-cordova-plugins/issues/4350)) ([b572a10](https://github.com/danielsogl/awesome-cordova-plugins/commit/b572a10a6e1e4063fdd19a04acc09d049b973d67))
* **firebase-x:** add MessagePayloadAps prop ([#4344](https://github.com/danielsogl/awesome-cordova-plugins/issues/4344)) ([dc1ee8c](https://github.com/danielsogl/awesome-cordova-plugins/commit/dc1ee8c5306196562a0013924014a0d7adfa5059))
* **GCDWebServer:** add plugin ([#4302](https://github.com/danielsogl/awesome-cordova-plugins/issues/4302)) ([f8c6430](https://github.com/danielsogl/awesome-cordova-plugins/commit/f8c6430a26f5b489255c4f36629f245ed23bb280))
* **webim:** add plugin ([#4355](https://github.com/danielsogl/awesome-cordova-plugins/issues/4355)) ([7430284](https://github.com/danielsogl/awesome-cordova-plugins/commit/74302846dc387423d51da79be82f7e0fee4a45bf))
# [5.45.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.44.0...v5.45.0) (2022-09-05)
### Features
* **adjust:** update wrapper for Adjust Cordova SDK v4.30.0 ([#4277](https://github.com/danielsogl/awesome-cordova-plugins/issues/4277)) ([82377f0](https://github.com/danielsogl/awesome-cordova-plugins/commit/82377f06330e8618e50a57004c9a79cafa66d972))
* **android-permissions:** add android 13 permissions ([#4295](https://github.com/danielsogl/awesome-cordova-plugins/issues/4295)) ([ba9c1c1](https://github.com/danielsogl/awesome-cordova-plugins/commit/ba9c1c154e76900f9570a7f3acc7728fd32a89a2))
* **dynamsoft-barcode:** add setFocus and setZoom ([#4281](https://github.com/danielsogl/awesome-cordova-plugins/issues/4281)) ([a801c7d](https://github.com/danielsogl/awesome-cordova-plugins/commit/a801c7d3054d285c962b4657f4b224c9a9ad67cf))
* **firebase-x:** add message typing ([#4282](https://github.com/danielsogl/awesome-cordova-plugins/issues/4282)) ([898e0b8](https://github.com/danielsogl/awesome-cordova-plugins/commit/898e0b8588f479aea228746c2b3e177c6066f757))
* **in-app-purchase-2:** update validator for custom headers ([#4262](https://github.com/danielsogl/awesome-cordova-plugins/issues/4262)) ([8b826e3](https://github.com/danielsogl/awesome-cordova-plugins/commit/8b826e3c1b2b53e0d188e90d22f34948b2362cd4))
* **intercom:** add displaySurvey ([#4292](https://github.com/danielsogl/awesome-cordova-plugins/issues/4292)) ([ebdd6e9](https://github.com/danielsogl/awesome-cordova-plugins/commit/ebdd6e97964d6c1e862f0160180d6e056f91de88))
* **lets-cooee:** add event observer and installation documentation ([#4278](https://github.com/danielsogl/awesome-cordova-plugins/issues/4278)) ([aef160e](https://github.com/danielsogl/awesome-cordova-plugins/commit/aef160e4180d28598a8ef25c75cd8057dd59f81f))
* **unvired-cordova-sdk:** Add new function to regenrate the JWT Token ([#4291](https://github.com/danielsogl/awesome-cordova-plugins/issues/4291)) ([678fb71](https://github.com/danielsogl/awesome-cordova-plugins/commit/678fb71a7f4cf1ad34c2746fdaa3690a13df4fe4))
# [5.44.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.43.0...v5.44.0) (2022-06-30)
### Bug Fixes
* **diagnostic:** adjust options declaration ([#4227](https://github.com/danielsogl/awesome-cordova-plugins/issues/4227)) ([19fc222](https://github.com/danielsogl/awesome-cordova-plugins/commit/19fc222ea93c79c53156aa0a05b3dc0bffa77a7e))
* **urbanairship:** fix cordova and method wrapper options ([#4221](https://github.com/danielsogl/awesome-cordova-plugins/issues/4221)) ([0442260](https://github.com/danielsogl/awesome-cordova-plugins/commit/04422600ca9675ff1f5ff763e3aba03b7abb8455))
### Features
* **cooee:** add plugin ([#4228](https://github.com/danielsogl/awesome-cordova-plugins/issues/4228)) ([7a528b4](https://github.com/danielsogl/awesome-cordova-plugins/commit/7a528b42d9427222d01b8e0da675045996be042d))
* **dynamsoft-barcode:** update startScanning options ([#4205](https://github.com/danielsogl/awesome-cordova-plugins/issues/4205)) ([4e183b1](https://github.com/danielsogl/awesome-cordova-plugins/commit/4e183b18818864b23501fa4bccd2813ca4149e5a))
* **file-md5:** add plugin ([#4201](https://github.com/danielsogl/awesome-cordova-plugins/issues/4201)) ([63c8365](https://github.com/danielsogl/awesome-cordova-plugins/commit/63c83653c0d0942d9cac2185bd8b9f38a5b4980c))
* **mobile-messaging:** add chat methods ([#4231](https://github.com/danielsogl/awesome-cordova-plugins/issues/4231)) ([f96b758](https://github.com/danielsogl/awesome-cordova-plugins/commit/f96b7588dece0ed1119d7166168486315f9fc714))
* **zip:** add plugin ([#4238](https://github.com/danielsogl/awesome-cordova-plugins/issues/4238)) ([0a31a37](https://github.com/danielsogl/awesome-cordova-plugins/commit/0a31a374b1a73403785a1e6c9104381ee9761940))
# [5.43.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.42.0...v5.43.0) (2022-05-25)
# [5.42.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.41.0...v5.42.0) (2022-05-21)
### Bug Fixes
* **deps:** update dependency tslib to v2.4.0 ([#4154](https://github.com/danielsogl/awesome-cordova-plugins/issues/4154)) ([bae0a8d](https://github.com/danielsogl/awesome-cordova-plugins/commit/bae0a8dbc85fb751470365080b1a35689d9d6be4))
* **keychain:** mark useTouchID as required ([#4182](https://github.com/danielsogl/awesome-cordova-plugins/issues/4182)) ([6b2c1fd](https://github.com/danielsogl/awesome-cordova-plugins/commit/6b2c1fd32e068a25dccd0f9fda5357fdc9eb7c26))
### Features
* **dynamsoft barcode scanner:** update plugin ([#4176](https://github.com/danielsogl/awesome-cordova-plugins/issues/4176)) ([7e2452b](https://github.com/danielsogl/awesome-cordova-plugins/commit/7e2452b6ad0526247dcb310d37f819026c90451c))
* **hyper-track:** add new functions ([#4128](https://github.com/danielsogl/awesome-cordova-plugins/issues/4128)) ([26a8cbe](https://github.com/danielsogl/awesome-cordova-plugins/commit/26a8cbe437f63e8dd80b9fac643ee68070b9a1cf))
* **in-app-purchase-2:** add launchPriceChangeConfirmationFlow ([#4127](https://github.com/danielsogl/awesome-cordova-plugins/issues/4127)) ([c2b01e0](https://github.com/danielsogl/awesome-cordova-plugins/commit/c2b01e051086d87747597ac3554feaa8772a71d1))
### Reverts
* Revert "chore(deps): update dependency jest to v28 (#4159)" (#4163) ([710cf7a](https://github.com/danielsogl/awesome-cordova-plugins/commit/710cf7acc0d12c981adb9b00db96945e4348c643)), closes [#4159](https://github.com/danielsogl/awesome-cordova-plugins/issues/4159) [#4163](https://github.com/danielsogl/awesome-cordova-plugins/issues/4163)
# [5.41.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.40.0...v5.41.0) (2022-04-02)
### Features
* **http:** add set client auth mode method ([#4100](https://github.com/danielsogl/awesome-cordova-plugins/issues/4100)) ([04fdacc](https://github.com/danielsogl/awesome-cordova-plugins/commit/04fdacc22feba4eedf14c76b0a9c408ec1ee1bdf))
* **star-prnt:** allow null port for print methods and openCashDrawer ([#4095](https://github.com/danielsogl/awesome-cordova-plugins/issues/4095)) ([a17dba1](https://github.com/danielsogl/awesome-cordova-plugins/commit/a17dba1f8b6570d76d5c8a30f437edb2dca9abea))
* **urbanairship:** new functions for version cordova-urbanairship 14.0 ([#4097](https://github.com/danielsogl/awesome-cordova-plugins/issues/4097)) ([12ef7ac](https://github.com/danielsogl/awesome-cordova-plugins/commit/12ef7ac215f1f9cf718a004fae9e7f4d01f597b8))
# [5.40.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.39.1...v5.40.0) (2022-03-05)
### Features
* **browser-tab:** add plugin ([#4046](https://github.com/danielsogl/awesome-cordova-plugins/issues/4046)) ([daa4887](https://github.com/danielsogl/awesome-cordova-plugins/commit/daa48873255d0fc31608cc8515e08386c01db6dd))
* **urbanairship:** Add attributes editing and fix tag editing ([#4058](https://github.com/danielsogl/awesome-cordova-plugins/issues/4058)) ([d9e9a6d](https://github.com/danielsogl/awesome-cordova-plugins/commit/d9e9a6d31aed0308bc3cb0bf07ee7e1682e2f66f))
## [5.39.1](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.39.0...v5.39.1) (2022-02-12)
### Bug Fixes
* **background-upload:** use correct plugin source ([#4028](https://github.com/danielsogl/awesome-cordova-plugins/issues/4028)) ([8e257f3](https://github.com/danielsogl/awesome-cordova-plugins/commit/8e257f3e08528954a69581eef98871d1fb146441))
# [5.39.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.38.0...v5.39.0) (2022-02-01)
### Bug Fixes
* **firebase-x:** change incrementCounter signature ([#4010](https://github.com/danielsogl/awesome-cordova-plugins/issues/4010)) ([bb1f326](https://github.com/danielsogl/awesome-cordova-plugins/commit/bb1f3268dede9633f5736cedfa5f4ccc15f89aa9))
### Features
* **clevertap:** support new clevertap changes ([#4011](https://github.com/danielsogl/awesome-cordova-plugins/issues/4011)) ([24c61a5](https://github.com/danielsogl/awesome-cordova-plugins/commit/24c61a50a76cc174245624ea71f21bf0f556a317)), closes [#3491](https://github.com/danielsogl/awesome-cordova-plugins/issues/3491)
# [5.38.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.37.3...v5.38.0) (2022-01-27)
### Bug Fixes
* **social-sharing:** change shareWithOptions parameter typing ([#3996](https://github.com/danielsogl/awesome-cordova-plugins/issues/3996)) ([a1e85d2](https://github.com/danielsogl/awesome-cordova-plugins/commit/a1e85d2f80a18a4b2da93abdd85ebd5ab04f1b16))
### Features
* **camera-preview:** add storeToFile param ([#3958](https://github.com/danielsogl/awesome-cordova-plugins/issues/3958)) ([6a93bb2](https://github.com/danielsogl/awesome-cordova-plugins/commit/6a93bb2e9b450d89112768e78c5cf888b85fcffa))
* **chooser-simple-file:** add plugin ([#3982](https://github.com/danielsogl/awesome-cordova-plugins/issues/3982)) ([67d8a37](https://github.com/danielsogl/awesome-cordova-plugins/commit/67d8a37d1e1d526da8beab8ac8e05b09312f30e4))
* **magnetometer:** add magnetometer wrapper ([#3887](https://github.com/danielsogl/awesome-cordova-plugins/issues/3887)) ([3b8566d](https://github.com/danielsogl/awesome-cordova-plugins/commit/3b8566df939773a4b9a1604a4af3a60e24cf9aed))
* **market:** add plugin ([e6140aa](https://github.com/danielsogl/awesome-cordova-plugins/commit/e6140aaaeef735731a292aabb3972624754f10c3))
* **sumup:** add test and setup function ([#3950](https://github.com/danielsogl/awesome-cordova-plugins/issues/3950)) ([7350c63](https://github.com/danielsogl/awesome-cordova-plugins/commit/7350c630fea4db8c31a07f46b4464bab2f1b55e4))
* **tealium:** update wrapper ([#3883](https://github.com/danielsogl/awesome-cordova-plugins/issues/3883)) ([771552c](https://github.com/danielsogl/awesome-cordova-plugins/commit/771552cd4286b755b5bd7a8bddb755bb3c3d5d0c))
## [5.37.3](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.37.2...v5.37.3) (2021-12-19)
## [5.37.2](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.37.1...v5.37.2) (2021-12-16)
### Bug Fixes
* **adjust:** added missing AdjustConfig method ([#3886](https://github.com/danielsogl/awesome-cordova-plugins/issues/3886)) ([a013e33](https://github.com/danielsogl/awesome-cordova-plugins/commit/a013e33e2c672c0faef75bef7bf1c28a8a62bb8e))
## [5.37.1](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.37.0...v5.37.1) (2021-11-24)
### Features
* **purchases:** add `setAirshipChannelID` method ([#3856](https://github.com/danielsogl/awesome-cordova-plugins/issues/3856)) ([2f25396](https://github.com/danielsogl/awesome-cordova-plugins/commit/2f25396c944a86b92de86cdf2e841ee7179bef19))
# [5.37.0](https://github.com/danielsogl/awesome-cordova-plugins/compare/v5.36.1...v5.37.0) (2021-10-16)

View File

@@ -10,7 +10,7 @@ To learn more about the reasons why Ionic Native was renamed to Awesome Cordova
## Capacitor Support
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitor.ionicframework.com), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitor.ionicframework.com/docs/cordova/using-cordova-plugins).
In addition to Cordova, Awesome Cordova Plugins also works with [Capacitor](https://capacitorjs.com), Ionic's official native runtime. Basic usage below. For complete details, [see the Capacitor documentation](https://capacitorjs.com/docs/v2/cordova/using-cordova-plugins).
## Installation

View File

@@ -1,2 +0,0 @@
# Initial page

View File

@@ -107,7 +107,7 @@
* [LocalBackup](plugins/local-backup.md)
* [Native Geocoder](plugins/native-geocoder.md)
* [Coordinates](plugins/hyper-track.md)
* [HTTP](plugins/approov-advanced-http.md)
* [ApproovHTTP](plugins/approov-advanced-http.md)
* [Answers](plugins/fabric.md)
* [UriHelper](plugins/nfc.md)
* [Dialogs](plugins/dialogs.md)
@@ -214,6 +214,9 @@
* [Android Notch](plugins/android-notch.md)
* [Network Interface](plugins/network-interface.md)
* [Printer](plugins/printer.md)
* [Browser Tab](plugins/browser-tab.md)
* [Dynamsoft Barcode Scanner](plugins/dynamsoft-barcode-scanner.md)
* [GCDWebServer](plugins/gcdwebserver.md)
* [Installation](installation.md)
* [FAQ](faq.md)

View File

@@ -1,5 +1,7 @@
# AdjustPlayStoreSubscription
plugin add com.adjust.sdk
# Adjust
```
$ ionic cordova plugin add com.adjust.sdk
$ npm install @awesome-cordova-plugins/adjust
```

View File

@@ -0,0 +1,20 @@
# Applovin
```
$ ionic cordova plugin add cordova-plugin-applovin-max
$ npm install @awesome-cordova-plugins/applovin
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/applovin/)
Plugin Repo: [https://github.com/AppLovin/AppLovin-MAX-Cordova](https://github.com/AppLovin/AppLovin-MAX-Cordova)
This plugin allows you to easily configure, integrate and interact with Applovin ads.
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,17 @@
# Browser Tab
```
$ ionic cordova plugin add cordova-plugin-browsertab
$ npm install @awesome-cordova-plugins/browser-tab
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/browser-tab/)
Plugin Repo: [https://github.com/google/cordova-plugin-browsertab](https://github.com/google/cordova-plugin-browsertab)
This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,17 @@
# Browser Tab
```
$ ionic cordova plugin add cordova-plugin-browsertab
$ npm install @awesome-cordova-plugins/browser-tab
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/browser-tab/)
Plugin Repo: [https://github.com/google/cordova-plugin-browsertab](https://github.com/google/cordova-plugin-browsertab)
This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,32 @@
# Chooser
```
$ ionic cordova plugin add cordova-plugin-simple-file-chooser
$ npm install @awesome-cordova-plugins/chooser-simple-file
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/chooser-simple-file/)
Plugin Repo: [https://github.com/hc-oss/cordova-plugin-simple-file-chooser](https://github.com/hc-oss/cordova-plugin-simple-file-chooser)
File chooser plugin for Cordova.
The following must be added to config.xml to prevent crashing when selecting large files on Android:
```xml
<platform name="android">
<edit-config
file="app/src/main/AndroidManifest.xml"
mode="merge"
target="/manifest/application">
<application android:largeHeap="true" />
</edit-config>
</platform>
```
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,20 @@
# Dynamsoft Barcode Scanner
```
$ ionic cordova plugin add cordova-plugin-dynamsoft-barcode-reader
$ npm install @awesome-cordova-plugins/dynamsoft-barcode-scanner
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/dynamsoft-barcode-scanner/)
Plugin Repo: [https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader](https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader)
The Dynamsoft Barcode Scanner Plugin can read barcodes from images as well as camera previews.
## Supported platforms
* Android
* iOS

View File

@@ -0,0 +1,20 @@
# dynamsoft-barcode-scanner
```
$ ''
$ npm install @awesome-cordova-plugins/dynamsoft-barcode-scanner
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/dynamsoft-barcode-scanner/)
Plugin Repo: [https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader](https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader)
This plugin scans barcodes using Dynamsoft Barcode Reader
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,20 @@
# File MD5
```
$ ionic cordova plugin add cordova-plugin-file-md5
$ npm install @awesome-cordova-plugins/file-md5
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/file-md5/)
Plugin Repo: [https://github.com/mramonlopez/cordova-plugin-file-md5](https://github.com/mramonlopez/cordova-plugin-file-md5)
This plugin reads large files in chunks and build the md5sum incrementally.
## Supported platforms
- Android
- iOS

View File

@@ -23,7 +23,7 @@ Go to firebase console and export google-services.json and GoogleService-Info.pl
NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.
## Using capacitor?
For Android you'll have to add in __android/app/src/main/AndroidManfiest.xml__ under `<application>`
For Android you'll have to add in __android/app/src/main/AndroidManifest.xml__ under `<application>`
```
<meta-data
tools:replace="android:value"

19
docs/plugins/gcdwebserver.md Executable file
View File

@@ -0,0 +1,19 @@
# GCDWebServer
```
$ ionic cordova plugin add cordova-plugin-gcdwebserver
$ npm install @awesome-cordova-plugins/gcdwebserver
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/gcdwebserver/)
Plugin Repo: [https://github.com/xulihang/cordova-plugin-gcdwebserver](https://github.com/xulihang/cordova-plugin-gcdwebserver)
The [GCDWebServer](https://github.com/swisspol/GCDWebServer/) Plugin can start an HTTP server to serve static files.
## Supported platforms
iOS

View File

@@ -0,0 +1,19 @@
# GCDWebServer
```
$ ionic cordova plugin add cordova-plugin-gcdwebserver
$ npm install @awesome-cordova-plugins/gcdwebserver
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/gcdwebserver/)
Plugin Repo: [https://github.com/xulihang/cordova-plugin-gcdwebserver](https://github.com/xulihang/cordova-plugin-gcdwebserver)
The [GCDWebServer](https://github.com/swisspol/GCDWebServer/) Plugin can start an HTTP server to serve static files.
## Supported platforms
iOS

View File

@@ -13,7 +13,7 @@ Get and set data in the iOS Keychain
Requires Cordova plugin: `cordova-plugin-ios-keychain`. For more info, please see the [Keychain plugin docs](https://github.com/ionic-team/cordova-plugin-ios-keychain).
See also [Secure Storage](https://ionicframework.com/docs/native/secure-storage/) for more supported platforms.
See also [Secure Storage](https://ionic.io/docs/secure-storage) for more supported platforms.
## Supported platforms

View File

@@ -0,0 +1,20 @@
# Lets Cooee
```
$ ionic cordova plugin add @letscooee/cordova-plugin --variable COOEE_APP_ID=appId
$ npm install @awesome-cordova-plugins/lets-cooee
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/lets-cooee/)
Plugin Repo: [https://github.com/letscooee/cordova-plugin-cooee](https://github.com/letscooee/cordova-plugin-cooee)
AI driven Personalised Notifications for Better Customer Engagement
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,20 @@
# Device eMagnetometer
```
$ ionic cordova plugin add cordova-plugin-magnetometer
$ npm install @awesome-cordova-plugins/magnetometer
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/magnetometer/)
Plugin Repo: [https://github.com/sdesalas/cordova-plugin-magnetometer](https://github.com/sdesalas/cordova-plugin-magnetometer)
Requires Cordova plugin: `cordova-plugin-magnetometer`. For more info, please see the [Device Orientation docs](https://github.com/sdesalas/cordova-plugin-magnetometer).
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,20 @@
# Market
```
$ ionic cordova plugin add cordova-plugin-market
$ npm install @awesome-cordova-plugins/market
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/market/)
Plugin Repo: [https://github.com/xmartlabs/cordova-plugin-market](https://github.com/xmartlabs/cordova-plugin-market)
Opens an app's page in the market place (Google Play, App Store)
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,20 @@
# newrelic mobile
```
$ ionic cordova plugin add https://github.com/newrelic/newrelic-cordova-plugin.git --variable IOS_APP_TOKEN="{ios-app-token}" --variable ANDROID_APP_TOKEN="{android-app-token}"
$ npm install @awesome-cordova-plugins/newrelic
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/newrelic/)
Plugin Repo: [https://github.com/newrelic/newrelic-cordova-plugin](https://github.com/newrelic/newrelic-cordova-plugin)
This NewRelic plugin collect crashes, network traffic, and other information for hybrid apps using native components.
## Supported platforms
- Android
- iOS

View File

@@ -0,0 +1,19 @@
# Power Management
```text
$ ionic cordova plugin add cordova-plugin-powermanagement
$ npm install @awesome-cordova-plugins/power-management
```
## [Usage Documentation](https://github.com/Viras-/cordova-plugin-powermanagement/)
Plugin Repo: [https://github.com/Viras-/cordova-plugin-powermanagement](https://github.com/Viras-/cordova-plugin-powermanagement)
A Cordova plugin that offers access to the devices power-management functionality.
It should be used for applications which keep running for a long time without any user interaction.
## Supported platforms
* Android
* iOS

View File

@@ -0,0 +1,19 @@
# Power Management
```text
$ ionic cordova plugin add cordova-plugin-powermanagement
$ npm install @awesome-cordova-plugins/power-management
```
## [Usage Documentation](https://github.com/Viras-/cordova-plugin-powermanagement/)
Plugin Repo: [https://github.com/Viras-/cordova-plugin-powermanagement](https://github.com/Viras-/cordova-plugin-powermanagement)
A Cordova plugin that offers access to the devices power-management functionality.
It should be used for applications which keep running for a long time without any user interaction.
## Supported platforms
* Android
* iOS

View File

@@ -1,7 +1,7 @@
# Purchases
```
$ ionic cordova plugin add cordova-plugin-purchases@2.3.0
$ ionic cordova plugin add cordova-plugin-purchases@2.4.0
$ npm install @awesome-cordova-plugins/purchases
```

View File

@@ -1,7 +1,5 @@
# Smartlook
```
$ ionic cordova plugin add https://github.com/smartlook/cordova-smartlook.git
# SmartlookEventTrackingMode
ova plugin add https://github.com/smartlook/cordova-smartlook.git
$ npm install @awesome-cordova-plugins/smartlook
```

View File

@@ -9,9 +9,9 @@ $ npm install @awesome-cordova-plugins/tealium
Plugin Repo: [https://github.com/Tealium/cordova-plugin](https://github.com/Tealium/cordova-plugin)
This plugin provides a TypeScript wrapper around the [Tealium](https://www.tealium.com) Cordova plugin for Ionic Native.
This plugin does provides a wrapper around the Tealium Cordova Plugin for Ionic Native.
For full documentation, see [https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618](https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618)
For full documentation, see [https://docs.tealium.com/platforms/cordova/](https://docs.tealium.com/platforms/cordova/)
## Supported platforms

View File

@@ -1,5 +1,5 @@
# LoginParameters
SDK
# UnviredResult
a SDK
```
$ ionic cordova plugin add @awesome-cordova-plugins/unvired-cordova-sdk

View File

@@ -7,12 +7,13 @@ $ npm install @awesome-cordova-plugins/urbanairship
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/urbanairship/)
Plugin Repo: [https://www.npmjs.com/package/urbanairship-cordova](https://www.npmjs.com/package/urbanairship-cordova)
Plugin Repo: [https://github.com/urbanairship/urbanairship-cordova](https://github.com/urbanairship/urbanairship-cordova)
Npm: [https://www.npmjs.com/package/urbanairship-cordova](https://www.npmjs.com/package/urbanairship-cordova)
This plugin does something
## Supported platforms
* Android
* iOS
* iOS

View File

@@ -0,0 +1,20 @@
# Zip
```
$ ionic cordova plugin add cordova-plugin-zip
$ npm install @awesome-cordova-plugins/zip
```
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/zip/)
Plugin Repo: [https://github.com/MobileChromeApps/cordova-plugin-zip](https://github.com/MobileChromeApps/cordova-plugin-zip)
A Cordova plugin to unzip files in Android and iOS.
## Supported platforms
- Android
- iOS

5783
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": "5.37.0",
"version": "6.3.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)",
@@ -24,52 +24,52 @@
"prettier": "prettier --write --ignore-unknown \"**/*\""
},
"dependencies": {
"tslib": "^2.3.1"
"tslib": "2.4.1"
},
"devDependencies": {
"@angular/common": "^11.2.14",
"@angular/compiler": "^11.2.14",
"@angular/compiler-cli": "^11.2.14",
"@angular/core": "^11.2.14",
"@angular/common": "12.2.16",
"@angular/compiler": "12.2.16",
"@angular/compiler-cli": "12.2.16",
"@angular/core": "12.2.16",
"@types/cordova": "0.0.34",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.175",
"@types/node": "^16.11.0",
"@types/rimraf": "^3.0.2",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"async-promise-queue": "^1.0.5",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "^3.3.0",
"dgeni": "^0.4.14",
"@types/fs-extra": "9.0.13",
"@types/jest": "27.5.2",
"@types/lodash": "4.14.191",
"@types/node": "18.11.18",
"@types/rimraf": "3.0.2",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"async-promise-queue": "1.0.5",
"conventional-changelog-cli": "2.2.2",
"cz-conventional-changelog": "3.3.0",
"dgeni": "0.4.14",
"dgeni-packages": "0.16.10",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsdoc": "^36.1.1",
"fs-extra": "^10.0.0",
"gulp": "^4.0.2",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"husky": "^7.0.1",
"is-ci": "^3.0.0",
"jest": "^27.2.5",
"lint-staged": "^11.2.3",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.58.0",
"rxjs": "^6.6.7",
"terser-webpack-plugin": "^5.2.4",
"ts-jest": "^27.0.6",
"ts-node": "^10.3.0",
"typescript": "~4.1.6",
"unminified-webpack-plugin": "^3.0.0",
"webpack": "^5.58.2",
"winston": "^3.3.3",
"zone.js": "^0.11.4"
"eslint": "8.31.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "39.6.4",
"fs-extra": "11.1.0",
"gulp": "4.0.2",
"gulp-rename": "2.0.0",
"gulp-replace": "1.1.4",
"husky": "8.0.2",
"is-ci": "3.0.1",
"jest": "27.5.1",
"lint-staged": "13.1.0",
"lodash": "4.17.21",
"minimist": "1.2.7",
"prettier": "2.8.1",
"rimraf": "3.0.2",
"rollup": "3.9.0",
"rxjs": "6.6.7",
"terser-webpack-plugin": "5.3.6",
"ts-jest": "27.1.5",
"ts-node": "10.9.1",
"typescript": "4.2.4",
"unminified-webpack-plugin": "3.0.0",
"webpack": "5.74.0",
"winston": "3.8.2",
"zone.js": "0.11.8"
},
"jest": {
"testEnvironment": "jsdom",

5
renovate.json Normal file
View File

@@ -0,0 +1,5 @@
{
"extends": [
"config:base"
]
}

View File

@@ -21,7 +21,8 @@ export function getProgram(rootNames: string[] = createSourceFiles()) {
options.inlineSourceMap = true;
options.importHelpers = true;
options.inlineSources = true;
options.enableIvy = false;
options.enableIvy = true;
options.compilationMode = 'partial';
delete options.baseUrl;
@@ -77,38 +78,6 @@ export function generateLegacyBundles() {
);
}
// remove reference to @awesome-cordova-plugins/core decorators
export function modifyMetadata() {
PLUGIN_PATHS.map((p) =>
p.replace(join(ROOT, 'src'), join(ROOT, 'dist')).replace('index.ts', 'ngx/index.metadata.json')
).forEach((p) => {
const content = readJSONSync(p);
let _prop: { members: { [x: string]: any[] } };
for (const prop in content[0].metadata) {
_prop = content[0].metadata[prop];
removeIonicNativeDecorators(_prop);
if (_prop.members) {
for (const memberProp in _prop.members) {
removeIonicNativeDecorators(_prop.members[memberProp][0]);
}
}
}
writeJSONSync(p, content);
});
}
function removeIonicNativeDecorators(node: any) {
if (node.decorators && node.decorators.length) {
node.decorators = node.decorators.filter(
(d: { expression: { module: string } }) => d.expression.module !== '@awesome-cordova-plugins/core'
);
}
if (node.decorators && !node.decorators.length) delete node.decorators;
}
function createSourceFiles(): string[] {
return PLUGIN_PATHS.map((indexPath: string) => {
const ngxPath = resolve(indexPath.replace('index.ts', ''), 'ngx'),

View File

@@ -2,7 +2,6 @@ import {
cleanupNgx,
generateLegacyBundles,
generateDeclarationFiles,
modifyMetadata,
transpileNgx,
transpileNgxCore,
} from '../build/ngx';
@@ -11,5 +10,4 @@ transpileNgxCore();
transpileNgx();
generateLegacyBundles();
generateDeclarationFiles();
modifyMetadata();
cleanupNgx();

View File

@@ -30,8 +30,8 @@ const DIST = resolve(ROOT, 'dist/@awesome-cordova-plugins');
const PACKAGES = [];
const MIN_CORE_VERSION = '^5.1.0';
const RXJS_VERSION = '^5.5.0 || ^7.3.0';
const MIN_CORE_VERSION = '^6.0.1';
const RXJS_VERSION = '^5.5.0 || ^6.5.0 || ^7.3.0';
const PLUGIN_PEER_DEPENDENCIES = {
'@awesome-cordova-plugins/core': MIN_CORE_VERSION,

View File

@@ -65,6 +65,9 @@ export class AdjustConfig {
private allowiAdInfoReading: boolean = null; // iOS only
private allowIdfaReading: boolean = null; // iOS only
private allowAdServicesInfoReading: boolean = null; // iOS only
private coppaCompliantEnabled: boolean = null;
private playStoreKidsAppEnabled: boolean = null; // Android only
private linkMeEnabled: boolean = null; // iOS only
private attributionCallback: (attribution: AdjustAttribution) => void = null;
private eventTrackingSucceededCallback: (event: AdjustEventSuccess) => void = null;
@@ -119,6 +122,14 @@ export class AdjustConfig {
this.eventBufferingEnabled = eventBufferingEnabled;
}
setCoppaCompliantEnabled(coppaCompliantEnabled: boolean) {
this.coppaCompliantEnabled = coppaCompliantEnabled;
}
setPlayStoreKidsAppEnabled(playStoreKidsAppEnabled: boolean) {
this.playStoreKidsAppEnabled = playStoreKidsAppEnabled;
}
setUserAgent(userAgent: string) {
this.userAgent = userAgent;
}
@@ -159,6 +170,10 @@ export class AdjustConfig {
this.allowAdServicesInfoReading = allowAdServicesInfoReading;
}
setLinkMeEnabled(linkMeEnabled: boolean) {
this.linkMeEnabled = linkMeEnabled;
}
setAttributionCallbackListener(attributionCallback: (attribution: AdjustAttribution) => void) {
this.attributionCallback = attributionCallback;
}
@@ -240,6 +255,10 @@ export class AdjustConfig {
private hasDeferredDeeplinkCallbackListener() {
return this.deferredDeeplinkCallback !== null;
}
private hasConversionValueUpdatedCallbackListener() {
return this.conversionValueUpdatedCallback !== null;
}
}
export class AdjustAppStoreSubscription {
@@ -316,6 +335,7 @@ export class AdjustPlayStoreSubscription {
export class AdjustThirdPartySharing {
private isEnabled: boolean;
private granularOptions: string[] = [];
private partnerSharingSettings: any[] = [];
constructor(isEnabled: boolean) {
this.isEnabled = isEnabled;
@@ -326,6 +346,12 @@ export class AdjustThirdPartySharing {
this.granularOptions.push(key);
this.granularOptions.push(value);
}
addPartnerSharingSetting(partnerName: string, key: string, value: boolean): void {
this.partnerSharingSettings.push(partnerName);
this.partnerSharingSettings.push(key);
this.partnerSharingSettings.push(value);
}
}
export class AdjustAdRevenue {
@@ -387,6 +413,7 @@ export interface AdjustAttribution {
costType: string;
costAmount: string;
costCurrency: string;
fbInstallReferrer: string; // Android only
}
export interface AdjustSessionSuccess {
@@ -450,7 +477,11 @@ export enum AdjustAdRevenueSource {
AdRevenueSourceAppLovinMAX = 'applovin_max_sdk',
AdRevenueSourceMopub = 'mopub',
AdRevenueSourceAdMob = 'admob_sdk',
AdRevenueSourceIronsource = 'ironsource_sdk',
AdRevenueSourceIronSource = 'ironsource_sdk',
AdRevenueSourceAdMost = "admost_sdk",
AdRevenueSourceUnity = "unity_sdk",
AdRevenueSourceHeliumChartboost = "helium_chartboost_sdk",
AdRevenueSourcePublisher = "publisher_sdk",
}
/**
@@ -459,6 +490,7 @@ export enum AdjustAdRevenueSource {
* This is the Ionic Cordova SDK of Adjust™. You can read more about Adjust™ at adjust.com.
*
* Requires Cordova plugin: `com.adjust.sdk`. For more info, please see the [Adjust Cordova SDK](https://github.com/adjust/cordova_sdk)
*
* @usage
* ```typescript
* import { Adjust, AdjustConfig, AdjustEnvironment } from '@awesome-cordova-plugins/adjust/ngx';
@@ -501,6 +533,7 @@ export enum AdjustAdRevenueSource {
})
@Injectable()
export class Adjust extends AwesomeCordovaNativePlugin {
/**
* This method initializes Adjust SDK
*
@@ -619,7 +652,7 @@ export class Adjust extends AwesomeCordovaNativePlugin {
gdprForgetMe(): void {}
/**
* You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing purposes, but has allowed it to be shared for statistics purposes.
* You can now notify Adjust when a user has exercised their right to stop sharing their data with partners for marketing purposes, but has allowed it to be shared for statistics purposes.
* Calling the following method will instruct the Adjust SDK to communicate the user's choice to disable data sharing to the Adjust backend
*/
@Cordova({ sync: true })
@@ -666,6 +699,12 @@ export class Adjust extends AwesomeCordovaNativePlugin {
return;
}
/**
* Instruct to Adjust SDK to check current state of att_status
*/
@Cordova({ sync: true })
checkForNewAttStatus(): void {}
/**
* If you want to access information about a user's current attribution whenever you need it, you can make a call to this function
*
@@ -766,4 +805,14 @@ export class Adjust extends AwesomeCordovaNativePlugin {
getAppTrackingAuthorizationStatus(): Promise<number> {
return;
}
}
/**
* To obtain the last deep link which has opened your iOS app, call this function
*
* @returns {Promise<string>} Returns a promise with iOS deep link string value
*/
@Cordova()
getLastDeeplink(): Promise<string> {
return;
}
}

View File

@@ -0,0 +1,166 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
interface PresentOptions {
/**
* Which Media Types are allowed to be selected
* default: "IMAGE"
*/
mediaType?: 'IMAGE' | 'VIDEO' | 'ALL';
/**
* Show possibility to take via Camera
* default: true
*/
showCameraTile?: boolean;
/**
* On which Screen the Picker should be started (iOS only)
* default: "LIBRARY"
*/
startOnScreen?: 'LIBRARY' | 'IMAGE' | 'VIDEO';
/**
* Date format of the Scroll Indicator (Android only)
* default: "YYYY.MM"
*/
scrollIndicatorDateFormat?: string;
/**
* Show Title (Android only)
* default: true
*/
showTitle?: boolean;
/**
* Customize the Title (Android only)
* default: "Select Image"
*/
title?: string;
/**
* Show the zoomIndicator at the Images (Android only)
* default: true
*/
zoomIndicator?: boolean;
/**
* Min Count of files to be selected
* default: 0 (android), 1 (iOS)
*/
min?: number;
/**
* Message to be shown if min Count not reached (Android only)
* default: "You need to select a minimum of ... pictures")"
*/
minCountMessage?: string;
/**
* Max Count of files can selected
* default: 0 (android), 1 (iOS)
*/
max?: number;
/**
* Message to be shown if max Count is reached
* default: "You can select a maximum of ... pictures"
*/
maxCountMessage?: string;
/**
* Change Done Button Text
*/
buttonText?: string;
/**
* Show Library as Dropdown (Android only)
* default: false
*/
asDropdown?: boolean;
/**
* Return the Result as base64
* default: false
*/
asBase64?: boolean;
/**
* Return the Image as JPEG
* default: false
*/
asJpeg?: boolean;
/**
* Video Compression Option (iOS only)
* available options: https://github.com/Yummypets/YPImagePicker/blob/23158e138bd649b40762bf2e4aa4beb0d463a121/Source/Configuration/YPImagePickerConfiguration.swift#L226-L240
* default: AVAssetExportPresetHighestQuality
*/
videoCompression?: string;
}
interface Result {
type: 'image' | 'video';
isBase64: boolean;
src: string;
}
export enum ErrorCodes {
UnsupportedAction = 1,
WrongJsonObject = 2,
PickerCanceled = 3,
UnknownError = 10,
}
/**
* Used for every Plugin Error Callback
*/
interface AdvancedImagePickerError {
/**
* One of the AdvancedImagePickerErrorCodes
*/
code: ErrorCodes;
/**
* If available some more info (mostly exception message)
*/
message: string;
}
/**
* @name AdvancedImagePicker
* @description
* This Cordova Plugin is for a better (multiple) ImagePicker with more options.
*
* @usage
* ```typescript
* import { AdvancedImagePicker } from '@awesome-cordova-plugins/advanced-image-picker/npx';
*
*
* constructor(private advancedImagePicker: AdvancedImagePicker) { }
*
* ...
*
*
* this.advancedImagePicker.present{
* // config here
* })
* .then((res: Result[]) => console.log(res))
* .catch((error: AdvancedImagePickerError) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'AdvancedImagePicker',
plugin: 'cordova-plugin-advanced-imagepicker',
pluginRef: 'AdvancedImagePicker',
repo: 'https://github.com/EinfachHans/cordova-plugin-advanced-imagepicker',
install: 'ionic cordova plugin add cordova-plugin-advanced-imagepicker',
installVariables: ['ANDROID_IMAGE_PICKER_VERSION'],
platforms: ['Android', 'iOS'],
})
@Injectable()
export class AdvancedImagePicker extends AwesomeCordovaNativePlugin {
/**
* Present the ImagePicker
* @param options {PresentOptions} https://github.com/EinfachHans/cordova-plugin-advanced-imagepicker/tree/master#parameters
* @return {Promise<Result[]>}
*/
@Cordova()
present(options: PresentOptions): Promise<Result[]> {
return;
}
/**
* Cleans all temp stored Files that was created by this Plugin (iOS only)
*/
@Cordova({ platforms: ['iOS'] })
cleanup(): Promise<void> {
return;
}
}

View File

@@ -67,7 +67,10 @@ export class AndroidPermissions extends AwesomeCordovaNativePlugin {
BIND_WALLPAPER: 'android.permission.BIND_WALLPAPER',
BLUETOOTH: 'android.permission.BLUETOOTH',
BLUETOOTH_ADMIN: 'android.permission.BLUETOOTH_ADMIN',
BLUETOOTH_ADVERTISE: 'android.permission.BLUETOOTH_ADVERTISE',
BLUETOOTH_CONNECT: 'android.permission.BLUETOOTH_CONNECT',
BLUETOOTH_PRIVILEGED: 'android.permission.BLUETOOTH_PRIVILEGED',
BLUETOOTH_SCAN: 'android.permission.BLUETOOTH_SCAN',
BODY_SENSORS: 'android.permission.BODY_SENSORS',
BRICK: 'android.permission.BRICK',
BROADCAST_PACKAGE_REMOVED: 'android.permission.BROADCAST_PACKAGE_REMOVED',
@@ -123,6 +126,7 @@ export class AndroidPermissions extends AwesomeCordovaNativePlugin {
MOUNT_UNMOUNT_FILESYSTEMS: 'android.permission.MOUNT_UNMOUNT_FILESYSTEMS',
NFC: 'android.permission.NFC',
PERSISTENT_ACTIVITY: 'android.permission.PERSISTENT_ACTIVITY',
POST_NOTIFICATIONS: 'android.permission.POST_NOTIFICATIONS',
PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS',
READ_CALENDAR: 'android.permission.READ_CALENDAR',
READ_CALL_LOG: 'android.permission.READ_CALL_LOG',
@@ -132,6 +136,9 @@ export class AndroidPermissions extends AwesomeCordovaNativePlugin {
READ_HISTORY_BOOKMARKS: 'com.android.browser.permission.READ_HISTORY_BOOKMARKS',
READ_INPUT_STATE: 'android.permission.READ_INPUT_STATE',
READ_LOGS: 'android.permission.READ_LOGS',
READ_MEDIA_AUDIO: 'android.permission.READ_MEDIA_AUDIO',
READ_MEDIA_IMAGES: 'android.permission.READ_MEDIA_IMAGES',
READ_MEDIA_VIDEO: 'android.permission.READ_MEDIA_VIDEO',
READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',
READ_PROFILE: 'android.permission.READ_PROFILE',
READ_SMS: 'android.permission.READ_SMS',

View File

@@ -0,0 +1,55 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name App Review
* @description
* Cordova plugin to review app
*
* @usage
* ```typescript
* import { AppReview } from '@awesome-cordova-plugins/app-review/ngx';
*
*
* constructor(private appReview: AppReview) { }
*
* ...
*
*
* this.appReview.requestReview()
* .then(() => console.log('Success'))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'AppReview',
plugin: 'cordova-plugin-app-review',
pluginRef: 'cordova.plugins.AppReview',
repo: 'https://github.com/chemerisuk/cordova-plugin-app-review',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class AppReview extends AwesomeCordovaNativePlugin {
/**
* Launches in-app review dialog.
*
* @returns {Promise<void>} Callback when operation is completed
*/
@Cordova({ sync: true })
requestReview(): Promise<void> {
return;
}
/**
* Launches App/Play store page with a review form. By default current app screen
* is displayed but you can pass a package name string to show another app details.
*
* @param {string} [packageName] Package name to show instead of the current app.
* @returns {Promise<void>} Callback when operation is completed
*/
@Cordova({ sync: true })
openStoreScreen(packageName?: string): Promise<void> {
return;
}
}

View File

@@ -0,0 +1,340 @@
import { Injectable } from '@angular/core';
import { AwesomeCordovaNativePlugin, Cordova, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface InitializeConfig {
hasUserConsentValue: boolean;
isAgeRestrictedUserValue: boolean;
isDoNotSellValue: boolean;
isTabletValue: boolean;
}
export interface AdInfo {
adUnitId: string;
creativeId: string;
networkName: string;
placement: string;
revenue: number;
}
export enum AdViewPosition {
TOP_CENTER = 'top_center',
TOP_RIGHT = 'top_right',
CENTERED = 'centered',
CENTER_LEFT = 'center_left',
CENTER_RIGHT = 'center_right',
BOTTOM_LEFT = 'bottom_left',
BOTTOM_CENTER = 'bottom_center',
BOTTOM_RIGHT = 'bottom_right',
}
export enum ConsentDialogState {
UNKNOWN = 0,
APPLIES = 1,
DOES_NOT_APPLY = 2,
}
/**
* @name Applovin
* @description
* This plugin allows you to easily configure, integrate and interact with Applovin ads.
* @usage
* ```typescript
* import { Applovin } from '@awesome-cordova-plugins/applovin';
*
*
* constructor(private applovin: Applovin) { }
*
*
* this.applovin.initialize(sdkKey)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
*
* this.applovin.loadInterstitial(adUnitId)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
*
* this.applovin.showInterstitial(adUnitId, placement)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
* ```
*/
@Plugin({
pluginName: 'Applovin',
plugin: 'cordova-plugin-applovin-max',
pluginRef: 'applovin',
repo: 'https://github.com/AppLovin/AppLovin-MAX-Cordova',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Applovin extends AwesomeCordovaNativePlugin {
/**
* Initialize the AppLovin SDK.
*
* @param {string} sdkKey The SDK key generated for your AppLovin account.
*/
@Cordova()
initialize(sdkKey: string): Promise<InitializeConfig> {
return;
}
@Cordova()
showMediationDebugger(): Promise<any> {
return;
}
@Cordova()
getConsentDialogState(): Promise<ConsentDialogState> {
return;
}
@Cordova()
setHasUserConsent(hasUserConsent: boolean): Promise<any> {
return;
}
@Cordova()
hasUserConsent(): Promise<boolean> {
return;
}
@Cordova()
setIsAgeRestrictedUser(isAgeRestrictedUser: boolean): Promise<any> {
return;
}
@Cordova()
isAgeRestrictedUser(): Promise<boolean> {
return;
}
@Cordova()
setDoNotSell(isDoNotSell: boolean): Promise<any> {
return;
}
@Cordova()
isDoNotSell(): Promise<boolean> {
return;
}
@Cordova()
isTablet(): Promise<boolean> {
return;
}
@Cordova()
setUserId(userId: string): Promise<any> {
return;
}
@Cordova()
setMuted(): Promise<boolean> {
return;
}
@Cordova()
setVerboseLogging(verboseLoggingEnabled: boolean): Promise<any> {
return;
}
@Cordova()
setTestDeviceAdvertisingIds(advertisingIds: string[]): Promise<any> {
return;
}
@Cordova()
trackEvent(event: string, parameters?: object): Promise<any> {
return;
}
/** BANNERS */
@Cordova()
createBanner(adUnitId: string, position: AdViewPosition): Promise<any> {
return;
}
@Cordova()
setBannerBackgroundColor(adUnitId: string, hexColorCode: string): Promise<any> {
return;
}
@Cordova()
setBannerPlacement(adUnitId: string, placement: string): Promise<any> {
return;
}
@Cordova()
setBannerExtraParameter(adUnitId: string, key: string, value: string): Promise<any> {
return;
}
@Cordova()
showBanner(adUnitId: string): Promise<any> {
return;
}
@Cordova()
hideBanner(adUnitId: string): Promise<any> {
return;
}
@Cordova()
destroyBanner(adUnitId: string): Promise<any> {
return;
}
/** MRECS */
@Cordova()
createMRec(adUnitId: string, position: AdViewPosition): Promise<any> {
return;
}
@Cordova()
setMRecBackgroundColor(adUnitId: string, hexColorCode: string): Promise<any> {
return;
}
@Cordova()
setMRecPlacement(adUnitId: string, placement: string): Promise<any> {
return;
}
@Cordova()
setMRecExtraParameter(adUnitId: string, key: string, value: string): Promise<any> {
return;
}
@Cordova()
showMRec(adUnitId: string): Promise<any> {
return;
}
@Cordova()
hideMRec(adUnitId: string): Promise<any> {
return;
}
@Cordova()
destroyMRec(adUnitId: string): Promise<any> {
return;
}
/** INTERSTITIALS */
@Cordova()
loadInterstitial(adUnitId: string): Promise<any> {
return;
}
@Cordova()
showInterstitial(adUnitId: string, placement?: string): Promise<any> {
return;
}
@Cordova()
setInterstitialExtraParameter(adUnitId: string, key: string, value: string): Promise<any> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnInterstitialLoadedEvent',
})
onInterstitialLoaded(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnInterstitialLoadFailedEvent',
})
onInterstitialLoadFailed(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnInterstitialDisplayedEvent',
})
onInterstitialDisplayed(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnInterstitialHiddenEvent',
})
onInterstitialHidden(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnInterstitialAdFailedToDisplayEvent',
})
onInterstitialAdFailedToDisplay(): Observable<AdInfo> {
return;
}
/** REWARDED ADS */
@Cordova()
loadRewardedAd(adUnitId: string): Promise<any> {
return;
}
@Cordova()
showRewardedAd(adUnitId: string, placement?: string): Promise<any> {
return;
}
@Cordova()
setRewardedAdExtraParameter(adUnitId: string, key: string, value: string): Promise<any> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnRewardedAdLoadedEvent',
})
onRewardedAdLoaded(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnRewardedAdLoadFailedEvent',
})
onRewardedAdLoadFailed(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnRewardedAdDisplayedEvent',
})
onRewardedAdDisplayed(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnRewardedAdHiddenEvent',
})
onRewardedAdHidden(): Observable<AdInfo> {
return;
}
@Cordova({
eventObservable: true,
event: 'OnRewardedAdAdFailedToDisplayEvent',
})
onRewardedAdAdFailedToDisplay(): Observable<AdInfo> {
return;
}
}

View File

@@ -95,10 +95,10 @@ export class FileTransferManager {
*/
@Plugin({
pluginName: 'BackgroundUpload',
plugin: 'cordova-plugin-background-upload',
plugin: '@spoonconsulting/cordova-plugin-background-upload',
pluginRef: 'FileTransferManager',
repo: 'https://github.com/spoonconsulting/cordova-plugin-background-upload',
install: 'ionic cordova plugin add cordova-plugin-background-upload',
install: 'ionic cordova plugin add @spoonconsulting/cordova-plugin-background-upload',
platforms: ['Android', 'iOS'],
})
@Injectable()

View File

@@ -564,6 +564,37 @@ export class BLE extends AwesomeCordovaNativePlugin {
return;
}
/**
* Registers to be notified when Location service state changes on the device.
*
* @usage
* ```
* ble.startLocationStateNotifications(success, failure);
* // Or using await with promises
* // Note, initial promise resolves or rejects depending on whether the subscribe was successful
* await ble.withPromises.startLocationStateNotifications(success, failure)
* ```
* @returns {Observable<any>} Returns an Observable that notifies when Location is enabled or disabled on the device.
*/
@Cordova({
observable: true,
clearFunction: 'stopLocationStateNotifications',
clearWithArgs: false,
})
startLocationStateNotifications(): Observable<any> {
return;
}
/**
* Stop location state notifications.
*
* @returns {Promise<any>}
*/
@Cordova()
stopLocationStateNotifications(): Promise<any> {
return;
}
/**
* Open System Bluetooth settings (Android only).
*

View File

@@ -1,5 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, CordovaProperty, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { AwesomeCordovaNativePlugin, Cordova, CordovaProperty, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/* Available status of device */
@@ -535,10 +535,10 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* Retrieved paired Bluetooth LE devices. In iOS, devices that are "paired" to will not return during a normal scan.
* Callback is "instant" compared to a scan.
* @param {{ services: string[] }} An array of service IDs to filter the retrieval by. If no service IDs are specified, no devices will be returned.
* @returns {Promise<{ devices: DeviceInfo[] }>}
* @returns {Promise<DeviceInfo[]>}
*/
@Cordova({ callbackOrder: 'reverse' })
retrieveConnected(params?: { services?: string[] }): Promise<{ devices: DeviceInfo[] }> {
retrieveConnected(params?: { services?: string[] }): Promise<DeviceInfo[]> {
return;
}
@@ -548,7 +548,7 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* Bond with a device.
* The device doesn't need to be connected to initiate bonding. Android support only.
* @param {{ address: string }} params The address/identifier provided by the scan's return object
* @returns {(Observable<{ status: DeviceInfo }>)}
* @returns {(Observable<DeviceInfo>)}
* success:
* The first success callback should always return with status == bonding.
* If the bond is created, the callback will return again with status == bonded.
@@ -557,7 +557,7 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* The callback that will be triggered when the bond operation fails
*/
@Cordova({ callbackOrder: 'reverse', observable: true })
bond(params: { address: string }): Observable<{ status: DeviceInfo }> {
bond(params: { address: string }): Observable<DeviceInfo> {
return;
}
@@ -566,12 +566,12 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* @param params.address
* Unbond with a device. The device doesn't need to be connected to initiate bonding. Android support only.
* @param {{address: string}} params The address/identifier
* @returns {Promise<{ status: DeviceInfo }>}
* @returns {Promise<DeviceInfo>}
* success: The success callback should always return with status == unbonded, that is passed with device object
* error: The callback that will be triggered when the unbond operation fails
*/
@Cordova({ callbackOrder: 'reverse' })
unbond(params: { address: string }): Promise<{ status: DeviceInfo }> {
unbond(params: { address: string }): Promise<DeviceInfo> {
return;
}
@@ -582,7 +582,7 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* @param connectError The callback that will be triggered when the connect operation fails
* @param params The connection params
* @param {ConnectionParams} params
* @returns {(Observable<{ status: DeviceInfo }>)}
* @returns {(Observable<DeviceInfo>)}
* success: device object with status
* error: The callback that will be triggered when the unbond operation fails
*/
@@ -670,10 +670,10 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* Discover the service's characteristics.
* Not providing an array of characteristics will return all characteristics and take longer to discover. iOS support only.
* @param {CharacteristicParams} params Characteristic params
* @returns {Promise<{ characteristics: Characteristics }>} The service id and an Array of characteristics
* @returns {Promise<Characteristics>} The service id and an Array of characteristics
*/
@Cordova({ callbackOrder: 'reverse' })
characteristics(params: CharacteristicParams): Promise<{ characteristics: Characteristics }> {
characteristics(params: CharacteristicParams): Promise<Characteristics> {
return;
}
@@ -681,10 +681,10 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
* @name descriptors (iOS)
* Discover the characteristic's descriptors. iOS support only.
* @param {DescriptorParams} params
* @returns {Promise<{ descriptors: Descriptors }>}
* @returns {Promise<Descriptors>}
*/
@Cordova({ callbackOrder: 'reverse' })
descriptors(params: DescriptorParams): Promise<{ descriptors: Descriptors }> {
descriptors(params: DescriptorParams): Promise<Descriptors> {
return;
}
@@ -929,6 +929,72 @@ export class BluetoothLE extends AwesomeCordovaNativePlugin {
return;
}
/**
* @name hasPermissionBtScan (useful only for Android 12+ / API 31+)
* Determine whether scan privileges in Android API 31+
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ hasPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
hasPermissionBtScan(): Promise<{ hasPermission: boolean }> {
return;
}
/**
* @name requestPermissionBtScan (useful only for Android 12+ / API 31)
* Request scan privileges in Android API 31.
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ requestPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
requestPermissionBtScan(): Promise<{ requestPermission: boolean }> {
return;
}
/**
* @name hasPermissionBtConnect (useful only for Android 12+ / API 31)
* Determine if device has the permission to connect or not.
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ hasPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
hasPermissionBtConnect(): Promise<{ hasPermission: boolean }> {
return;
}
/**
* @name requestPermissionBtConnect (useful only for Android 12+ / API 31)
* Prompt permission settings page. requestPermissionBtConnect property returns whether connect permission has been granted or not.
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ requestPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
requestPermissionBtConnect(): Promise<{ requestPermission: boolean }> {
return;
}
/**
* @name hasPermissionBtAdvertise (useful only for Android 12+ / API 31)
* Determine if device has the permission to advertise or not.
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ hasPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
hasPermissionBtAdvertise(): Promise<{ hasPermission: boolean }> {
return;
}
/**
* @name requestPermissionBtAdvertise (useful only for Android 12+ / API 31)
* Prompt permission settings page. requestPermissionBtAdvertise property returns whether connect permission has been granted or not.
* Will return an error if called on iOS or Android versions prior to 12.0.
* @returns {Promise<{ requestPermission: boolean }>}
*/
@Cordova({ callbackOrder: 'reverse' })
requestPermissionBtAdvertise(): Promise<{ requestPermission: boolean }> {
return;
}
/**
* @name initializePeripheral
* Initialize Bluetooth on the device. Must be called before anything else.

View File

@@ -0,0 +1,62 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name Brightness
* @description
* The Brightness plugin let you control the display brightness of your device.
*
* Requires Cordova plugin: `cordova-plugin-brightness`. For more info, please see the [Brightness plugin docs](https://github.com/mgcrea/cordova-plugin-brightness).
*
* @usage
* ```typescript
* import { Brightness } from '@awesome-cordova-plugins/brightness/ngx';
*
*
* constructor(private brightness: Brightness) { }
*
* ...
*
*
* let brightnessValue = 0.8;
* this.brightness.setBrightness(brightnessValue);
* ```
*/
@Plugin({
pluginName: 'Brightness',
plugin: 'cordova-plugin-brightness',
pluginRef: 'cordova.plugins.brightness',
repo: 'https://github.com/mgcrea/cordova-plugin-brightness',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Brightness extends AwesomeCordovaNativePlugin {
/**
* Sets the brightness of the display.
* @param value {number} Floating number between 0 and 1 in which case 1 means 100% brightness and 0 means 0% brightness.
* @returns {Promise<any>} Returns a Promise that resolves if setting brightness was successful.
*/
@Cordova()
setBrightness(value: number): Promise<any> {
return;
}
/**
* Reads the current brightness of the device display.
* @returns {Promise<any>} Returns a Promise that resolves with the
* brightness value of the device display (floating number between 0 and 1).
*/
@Cordova()
getBrightness(): Promise<any> {
return;
}
/**
* Keeps the screen on. Prevents the device from setting the screen to sleep.
* @param {boolean} value
*/
@Cordova()
setKeepScreenOn(value: boolean): void {
return;
}
}

View File

@@ -0,0 +1,63 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Browser Tab
* @description
* This plugin provides an interface to in-app browser tabs that exist on some mobile platforms, specifically [Custom Tabs](http://developer.android.com/tools/support-library/features.html#custom-tabs) on Android (including the [Chrome Custom Tabs](https://developer.chrome.com/multidevice/android/customtabs) implementation), and [SFSafariViewController](https://developer.apple.com/library/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/) on iOS.
*
* @usage
* ```typescript
* import { BrowserTab } from '@awesome-cordova-plugins/browser-tab/ngx';
*
* constructor(private browserTab: BrowserTab) {
*
* browserTab.isAvailable()
* .then(isAvailable => {
* if (isAvailable) {
* browserTab.openUrl('https://ionic.io');
* } else {
* // open URL with InAppBrowser instead or SafariViewController
* }
* });
* }
*
* ```
*/
@Plugin({
pluginName: 'BrowserTab',
plugin: 'cordova-plugin-browsertab',
pluginRef: 'cordova.plugins.browsertab',
repo: 'https://github.com/google/cordova-plugin-browsertab',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class BrowserTab extends AwesomeCordovaNativePlugin {
/**
* Check if BrowserTab option is available
* @return {Promise<any>} Returns a promise that resolves when check is successful and returns true or false
*/
@Cordova()
isAvailable(): Promise<any> {
return;
}
/**
* Opens the provided URL using a browser tab
* @param {string} url The URL you want to open
* @return {Promise<any>} Returns a promise that resolves when check open was successful
*/
@Cordova()
openUrl(url: string): Promise<any> {
return;
}
/**
* Closes browser tab
* @return {Promise<any>} Returns a promise that resolves when close was finished
*/
@Cordova()
close(): Promise<any> {
return;
}
}

View File

@@ -30,6 +30,9 @@ export interface CameraPreviewOptions {
/** Preview box drag across the screen, default 'false' */
previewDrag?: boolean;
/** Capture images to a file and return back the file path instead of returning base64 encoded data. */
storeToFile: boolean;
/** Preview box to the back of the webview (true => back, false => front) , default false */
toBack?: boolean;

View File

@@ -132,10 +132,10 @@ export enum Direction {
* [Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add
* ```xml
* <config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
* <string>You can take photos</string>
* <string>You can take photos</string>
* </config-file>
* ```
* inside of the <platform name='ios> section
* inside of the `<platform name='ios>` section
* @usage
* ```typescript
* import { Camera, CameraOptions } from '@awesome-cordova-plugins/camera/ngx';

View File

@@ -0,0 +1,64 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface ChooserResult {
mediaType: string;
name: string;
uri: string;
}
/**
* @name Chooser
* @description
* File chooser plugin for Cordova.
*
* The following must be added to config.xml to prevent crashing when selecting large files on Android:
* ```xml
* <platform name="android">
* <edit-config
* file="app/src/main/AndroidManifest.xml"
* mode="merge"
* target="/manifest/application">
* <application android:largeHeap="true" />
* </edit-config>
* </platform>
* ```
* @usage
* ```typescript
* import { Chooser } from '@awesome-cordova-plugins/chooser-simple-file/ngx';
*
*
* constructor(private chooser: Chooser) { }
*
* ...
*
*
* this.chooser.getFiles()
* .then(files => console.log(files ? files.name : 'canceled'))
* .catch((error: any) => console.error(error));
*
* ```
* @interfaces
* ChooserResult
*/
@Plugin({
pluginName: 'Chooser',
plugin: 'cordova-plugin-simple-file-chooser',
pluginRef: 'chooser',
repo: 'https://github.com/hc-oss/cordova-plugin-simple-file-chooser',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Chooser extends AwesomeCordovaNativePlugin {
/**
* Displays native prompt for user to select a file.
*
* @param {string} [accept] Optional MIME type filter (e.g. 'image/gif,video/*').
* @returns {Promise<any>} Promise containing selected file's
* data: MIME type, display name, and original URI.
*/
@Cordova()
getFiles(accept?: string): Promise<ChooserResult[] | undefined> {
return;
}
}

View File

@@ -1,12 +1,24 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface ChooserOptions {
mimeTypes?: string;
maxFileSize?: number;
}
export interface ChooserResult {
data?: Uint8Array;
dataURI?: string;
mediaType: string;
path: string;
/**
* without extension
*/
name: string;
uri: string;
/**
* with extension
*/
displayName: string;
mimeType: string;
extension: string;
size: number;
}
/**
@@ -47,32 +59,23 @@ export interface ChooserResult {
pluginName: 'Chooser',
plugin: 'cordova-plugin-chooser',
pluginRef: 'chooser',
repo: 'https://github.com/cyph/cordova-plugin-chooser',
repo: 'https://github.com/MaximBelov/cordova-plugin-chooser',
platforms: ['Android', 'iOS'],
install: 'ionic cordova plugin add http://github.com/MaximBelov/cordova-plugin-chooser.git',
})
@Injectable()
export class Chooser extends AwesomeCordovaNativePlugin {
/**
* Displays native prompt for user to select a file.
*
* @param {string} [accept] Optional MIME type filter (e.g. 'image/gif,video/*').
* @returns {Promise<any>} Promise containing selected file's raw binary data,
* base64-encoded data: URI, MIME type, display name, and original URI.
* @param {Object} options
* @param {string} options.mimeTypes Optional MIME type filter (e.g. 'image/gif,video/*').
* @param {string} options.maxFileSize Optional Max file size.
* @returns {Promise<any>} Promise containing selected file's
* data: MIME type, display name, and original URI.
*/
@Cordova()
getFile(accept?: string): Promise<ChooserResult | undefined> {
return;
}
/**
* Displays native prompt for user to select a file.
*
* @param {string} [accept] Optional MIME type filter (e.g. 'image/gif,video/*').
* @returns {Promise<any>} Promise containing selected file's MIME type, display name, and original URI.
* If user cancels, promise will be resolved as undefined.
* If error occurs, promise will be rejected.
*/
@Cordova()
getFileMetadata(accept?: string): Promise<ChooserResult | undefined> {
getFile(options?: ChooserOptions): Promise<ChooserResult | undefined> {
return;
}
}

View File

@@ -121,13 +121,14 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* Sets the device's Xiaomi push token
*
* 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): Promise<any> {
setPushXiaomiToken(token: string, region: string): Promise<any> {
return;
}
@@ -474,28 +475,6 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Set profile attributes from facebook user
*
* @param profile {any} facebook graph user object
* @returns {Promise<any>}
*/
@Cordova()
profileSetGraphUser(profile: any): Promise<any> {
return;
}
/**
* Set profile attributes rom google plus user
*
* @param profile {any} google plus user object
* @returns {Promise<any>}
*/
@Cordova()
profileGooglePlusUser(profile: any): Promise<any> {
return;
}
/**
* Get User Profile Property
*
@@ -509,6 +488,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated This method is deprecated. Use getCleverTapID() instead.
* Get a unique CleverTap identifier suitable for use with install attribution providers.
* calls back with unique CleverTap attribution identifier
*
@@ -520,6 +500,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}
/**
* @deprecated This method is deprecated. Use getCleverTapID() instead.
* Get User Profile CleverTapID
* calls back with CleverTapID or false
*
@@ -530,6 +511,17 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Get User Profile CleverTapID
* calls back with CleverTapID
*
* @returns {Promise<any>}
*/
@Cordova()
getCleverTapID(): Promise<any> {
return;
}
/**
* Remove the property specified by key from the user profile
*
@@ -601,6 +593,66 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Method for incrementing a value for a single-value profile property (if it exists).
*
* @param key {string}
* @param value {number}
* @returns {Promise<any>}
*/
@Cordova()
profileIncrementValueBy(key: string,value: number): Promise<any> {
return;
}
/**
* Method for decrementing a value for a single-value profile property (if it exists).
*
* @param key {string}
* @param value {number}
* @returns {Promise<any>}
*/
@Cordova()
profileDecrementValueBy(key: string,value: number): Promise<any> {
return;
}
/*******************
* In-App Controls
******************/
/**
* Suspends and saves inApp notifications until 'resumeInAppNotifications' is called for current session.
* Automatically resumes InApp notifications display on CleverTap shared instance creation.
* Pending inApp notifications are displayed only for current session.
*
* @returns {Promise<any>}
*/
@Cordova()
suspendInAppNotifications(): Promise<any> {
return;
}
/**
* Discards inApp notifications until 'resumeInAppNotifications' is called for current session.
* Automatically resumes InApp notifications display on CleverTap shared instance creation.
* Pending inApp notifications are not displayed.
*/
@Cordova()
discardInAppNotifications(): Promise<any> {
return;
}
/**
* Resumes displaying inApps notifications and shows pending inApp notifications if any.
*
* @returns {Promise<any>}
*/
@Cordova()
resumeInAppNotifications(): Promise<any> {
return;
}
/*******************
* Session
******************/
@@ -676,6 +728,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
/****************************
* Notification Inbox methods
****************************/
/**
* Call this method to initialize the App Inbox
*/
@@ -752,6 +805,17 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Call this method to delete bulk Inbox Messages for Given Message Ids
*
* @param messageIds {any} array of strings
* @returns {Promise<any>}
*/
@Cordova()
deleteInboxMessagesForIds(messageIds: any): Promise<any> {
return;
}
/**
* Call this to Mark Read Inbox Message For Id
*
@@ -785,293 +849,6 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}
/**
* Call this to SetUIEditor Connection
*
* @param enabled {boolean}
* @returns {Promise<any>}
*/
@Cordova()
setUIEditorConnectionEnabled(enabled: boolean): Promise<any> {
return;
}
/**
* Call this to Register Boolean Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerBooleanVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Double Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerDoubleVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Integer Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerIntegerVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register String Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerStringVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register List of Boolean Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerListOfBooleanVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register List of Double Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerListOfDoubleVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register List of Integer Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerListOfIntegerVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register List of String Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerListOfStringVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Map of Boolean Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerMapOfBooleanVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Map of Double Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerMapOfDoubleVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Map of Integer Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerMapOfIntegerVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Register Map of String Variable
*
* @param varName {string}
* @returns {Promise<any>}
*/
@Cordova()
registerMapOfStringVariable(varName: string): Promise<any> {
return;
}
/**
* Call this to Get Boolean Variable
*
* @param varName {string}
* @param defaultValue {boolean}
* @returns {Promise<any>}
*/
@Cordova()
getBooleanVariable(varName: string, defaultValue: boolean): Promise<any> {
return;
}
/**
* Call this to Get Double Variable
*
* @param varName {string}
* @param defaultValue {number}
* @returns {Promise<any>}
*/
@Cordova()
getDoubleVariable(varName: string, defaultValue: number): Promise<any> {
return;
}
/**
* Call this to Get Integer Variable
*
* @param varName {string}
* @param defaultValue {number}
* @returns {Promise<any>}
*/
@Cordova()
getIntegerVariable(varName: string, defaultValue: number): Promise<any> {
return;
}
/**
* Call this to Get String Variable
*
* @param varName {string}
* @param defaultValue {string}
* @returns {Promise<any>}
*/
@Cordova()
getStringVariable(varName: string, defaultValue: string): Promise<any> {
return;
}
/**
* Call this to Get List of Boolean Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getListOfBooleanVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get List of Double Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getListOfDoubleVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get List of Integer Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getListOfIntegerVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get List of String Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getListOfStringVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to get Map of Boolean Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getMapOfBooleanVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get Map of Double Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getMapOfDoubleVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get Map of Integer Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getMapOfIntegerVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get Map of String Variable
*
* @param varName {string}
* @param defaultValue {any}
* @returns {Promise<any>}
*/
@Cordova()
getMapOfStringVariable(varName: string, defaultValue: any): Promise<any> {
return;
}
/**
* Call this to Get All Display Units
*
@@ -1208,7 +985,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getString(): Promise<any> {
getString(key: string): Promise<any> {
return;
}
@@ -1219,7 +996,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getBoolean(): Promise<any> {
getBoolean(key: string): Promise<any> {
return;
}
@@ -1230,7 +1007,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getLong(): Promise<any> {
getLong(key: string): Promise<any> {
return;
}
@@ -1241,7 +1018,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getDouble(): Promise<any> {
getDouble(key: string): Promise<any> {
return;
}

View File

@@ -0,0 +1,57 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
export interface CropOption {
/** The resulting JPEG quality (ignored on Android). default: 100 */
quality?: number;
/** The resulting JPEG picture width. default: -1 */
targetWidth?: number;
/** The resulting JPEG picture height. default: -1 */
targetHeight?: number;
}
/**
* @name Crop Plugin Privacy
* @description
* This plugin does something
*
* @usage
* ```typescript
* import { CropPluginPrivacy } from '@awesome-cordova-plugins/crop-plugin-privacy/ngx';
*
*
* constructor(private cropPluginPrivacy: CropPluginPrivacy) { }
*
* ...
*
*
* this.cropPluginPrivacy.functionName('/path/to/image', { quality: 100, targetWidth: 1, targetHeight: 1 })
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'CropPluginPrivacy',
plugin: 'cordova-plugin-crop-privacy',
pluginRef: 'crop',
repo: 'https://github.com/BaraAksayeth25/cordova-plugin-crop-privacy',
platforms: ['Android']
})
@Injectable()
export class CropPluginPrivacy extends AwesomeCordovaNativePlugin {
/**
* This function does something
* @param arg1 {string} path destination
* @param arg2 {object} Cropping configuration
* @return {Promise<any>} return the file path
*/
@Cordova()
cropImage(arg1: string, arg2: CropOption): Promise<any> {
return; // We add return; here to avoid any IDE / Compiler errors
}
}

View File

@@ -62,4 +62,12 @@ export class Device extends AwesomeCordovaNativePlugin {
/** Get the device hardware serial number. */
@CordovaProperty()
serial: string;
/** Get the Android device's SDK version. (Android-only) */
@CordovaProperty()
sdkVersion?: string;
/** Detect if app is running on a macOS desktop with Apple Silicon. */
@CordovaProperty()
isiOSAppOnMac: string;
}

View File

@@ -66,6 +66,9 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
WRITE_EXTERNAL_STORAGE: 'WRITE_EXTERNAL_STORAGE',
READ_EXTERNAL_STORAGE: 'READ_EXTERNAL_STORAGE',
BODY_SENSORS: 'BODY_SENSORS',
BLUETOOTH_ADVERTISE: "BLUETOOTH_ADVERTISE",
BLUETOOTH_SCAN: "BLUETOOTH_SCAN",
BLUETOOTH_CONNECT: "BLUETOOTH_CONNECT",
};
@CordovaProperty()
@@ -88,12 +91,11 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
};
/**
* iOS ONLY
* Location accuracy authorization
*/
locationAccuracyAuthorization: {
FULL: 'full';
REDUCED: 'reduced';
locationAccuracyAuthorization = {
FULL: 'full',
REDUCED: 'reduced',
};
permissionGroups = {
@@ -114,6 +116,7 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
SENSORS: ['BODY_SENSORS'],
SMS: ['SEND_SMS', 'RECEIVE_SMS', 'READ_SMS', 'RECEIVE_WAP_PUSH', 'RECEIVE_MMS'],
STORAGE: ['READ_EXTERNAL_STORAGE', 'WRITE_EXTERNAL_STORAGE'],
NEARBY_DEVICES: ["BLUETOOTH_ADVERTISE", "BLUETOOTH_SCAN", "BLUETOOTH_CONNECT"],
};
locationMode = {
@@ -154,6 +157,18 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
UNKNOWN: string;
};
/**
* Access to the photo library (iOS 14+)
*
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
*
*/
photoLibraryAccessLevel = {
ADD_ONLY: 'add_only',
READ_WRITE: 'read_write',
};
/**
* Checks if app is able to access device location.
*
@@ -294,11 +309,12 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
* Returns the location authorization status for the application.
* Note for Android: this is intended for Android 6 / API 23 and above. Calling on Android 5 / API 22 and below will always return GRANTED status as permissions are already granted at installation time.
*
* @param {string} [mode] iOS only: location authorization mode: "always" or "when_in_use". If not specified, defaults to "when_in_use".
* @param {string} [mode] location authorization mode: "always" or "when_in_use". If not specified, defaults to "when_in_use". (this.locationAuthorizationMode)
* @param {string} [accuracy] requested location accuracy: "full" or "reduced". If not specified, defaults to "full". (this.locationAccuracyAuthorization)
* @returns {Promise<any>}
*/
@Cordova({ platforms: ['Android', 'iOS'], callbackOrder: 'reverse' })
requestLocationAuthorization(mode?: string): Promise<any> {
requestLocationAuthorization(mode?: string, accuracy?: string): Promise<any> {
return;
}
@@ -671,6 +687,27 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
return;
}
/**
* Returns the Bluetooth authorization status of the application on the device.
*
* @returns {Promise<any>}
*/
@Cordova({ platforms: ['Android', 'iOS'] })
getBluetoothAuthorizationStatus(): Promise<any> {
return;
}
/**
* Returns the individual authorization status for each Bluetooth run-time permission on Android 12+ / API 31+
* On Android 11 / API 30 and below, all will be returned as GRANTED if the manifest has BLUETOOTH since they are implicitly granted at build-time.
*
* @returns {Promise<any>}
*/
@Cordova({ platforms: ['Android'] })
getBluetoothAuthorizationStatuses(): Promise<any> {
return;
}
/**
* Checks if the application is authorized to use external storage.
*
@@ -814,20 +851,34 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
/**
* Checks if the application is authorized to use the Camera Roll in Photos app.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
* Defaults to ADD_ONLY if not specified
* Has no effect on iOS 13 or below
*
* @returns {Promise<boolean>}
*/
@Cordova({ platforms: ['iOS'] })
isCameraRollAuthorized(): Promise<boolean> {
@Cordova({ platforms: ['iOS'], callbackOrder: 'reverse' })
isCameraRollAuthorized(accessLevel?: string): Promise<boolean> {
return;
}
/**
* Returns the authorization status for the application to use the Camera Roll in Photos app.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
* Defaults to ADD_ONLY if not specified
* Has no effect on iOS 13 or below
*
* @returns {Promise<string>}
*/
@Cordova({ platforms: ['iOS'] })
getCameraRollAuthorizationStatus(): Promise<string> {
@Cordova({ platforms: ['iOS'], callbackOrder: 'reverse' })
getCameraRollAuthorizationStatus(accessLevel?: string): Promise<string> {
return;
}
@@ -836,10 +887,17 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
* Should only be called if authorization status is NOT_REQUESTED.
* Calling it when in any other state will have no effect.
*
* @param accessLevel - (optional) On iOS 14+, specifies the level of access to the photo library to query as a constant in cordova.plugins.diagnostic.photoLibraryAccessLevel`
* Possible values are:
* ADD_ONLY - can add to but not read from Photo Library
* READ_WRITE - can both add to and read from Photo Library
* Defaults to ADD_ONLY if not specified
* Has no effect on iOS 13 or below
*
* @returns {Promise<any>}
*/
@Cordova({ platforms: ['iOS'] })
requestCameraRollAuthorization(): Promise<any> {
@Cordova({ platforms: ['iOS'], callbackOrder: 'reverse' })
requestCameraRollAuthorization(accessLevel?: string): Promise<any> {
return;
}
@@ -1006,13 +1064,13 @@ export class Diagnostic extends AwesomeCordovaNativePlugin {
}
/**
* Returns the location accuracy authorization for the application on iOS 14+. Note: calling on iOS <14 will result in the Promise being rejected.
* Returns the location accuracy authorization for the application on iOS 14+ and Android 12+. Note: calling on iOS <14 or Android <12 will always return cordova.plugins.diagnostic.locationAccuracyAuthorization.FULL
*
* Learn more about this method [here](https://github.com/dpa99c/cordova-diagnostic-plugin#getlocationaccuracyauthorization)
*
* @returns {Promise<string>}
*/
@Cordova({ platform: ['iOS'] })
@Cordova({ platforms: ['iOS', 'Android'] })
getLocationAccuracyAuthorization(): Promise<string> {
return;
}

View File

@@ -50,7 +50,7 @@ export interface DocumentScannerOptions {
* This plugin processes images of documents, compensating for perspective.
* @usage
* ```typescript
* import { DocumentScanner, DocumentScannerOptions } from '@awesome-cordova-plugins/document-scanner';
* import { DocumentScanner, DocumentScannerOptions } from '@awesome-cordova-plugins/document-scanner/ngx';
*
*
* constructor(private documentScanner: DocumentScanner) { }

View File

@@ -0,0 +1,209 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
AwesomeCordovaNativePlugin,
} from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
* dceLicense: License of Dynamsoft Camera Enhancer
* resolution: use EnumResolution
* rotate: convert frame to bitmap and rotate it
*/
export interface ScanOptions {
dceLicense?: string;
resolution?: number;
rotate?: boolean;
}
export interface FrameResult {
frameWidth: number;
frameHeight: number;
frameRotation: number;
results: BarcodeResult[];
}
export interface BarcodeResult {
barcodeText: string;
barcodeFormat: string;
barcodeBytesBase64?: string;
x1: number;
x2: number;
x3: number;
x4: number;
y1: number;
y2: number;
y3: number;
y4: number;
}
export enum EnumResolution {
RESOLUTION_AUTO = 0,
RESOLUTION_480P = 1,
RESOLUTION_720P = 2,
RESOLUTION_1080P = 3,
RESOLUTION_2K = 4,
RESOLUTION_4K = 5,
}
/**
* @name dynamsoft-barcode-scanner
* @description
* This plugin scans barcodes using Dynamsoft Barcode Reader
*
* @usage
* ```typescript
* import { dynamsoft-barcode-scanner } from '@awesome-cordova-plugins/dynamsoft-barcode-scanner';
*
*
* constructor(private dynamsoft-barcode-scanner: dynamsoft-barcode-scanner) { }
*
* ...
*
*
* await this.dynamsoft-barcode-scanner.init("license");
* this.dynamsoft-barcode-scanner.startScanning("license").subscribe(result => {
console.log(result);
});
*
* ```
*/
@Plugin({
pluginName: 'dynamsoft-barcode-scanner',
plugin: 'cordova-plugin-dynamsoft-barcode-reader',
pluginRef: 'cordova.plugins.DBR',
repo: 'https://github.com/xulihang/cordova-plugin-dynamsoft-barcode-reader',
install: '',
installVariables: [],
platforms: ['Android', 'iOS'],
})
@Injectable()
export class BarcodeScanner extends AwesomeCordovaNativePlugin {
/**
* Initialize Dynamsoft Barcode Reader
* @param license {string}
* @return {Promise<any>} Returns a promise that resolves when the initialization is done
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
init(license: string): Promise<any> {
return;
}
/**
* Set up runtime settings
* @param settings {string} runtime settings template in JSON
* @return {Promise<any>} Returns a promise
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
initRuntimeSettingsWithString(settings?: string): Promise<any> {
return;
}
/**
* Output runtime settings to JSON string
* @return {Promise<String>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
outputSettingsToString(): Promise<string> {
return;
}
/**
* destroy Dynamsoft Barcode Reader
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
destroy(): Promise<any> {
return;
}
/**
* start the camera to scan barcodes
* @param options {ScanOptions}
* @return {Observable<FrameResult>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
observable: true,
})
startScanning(options?: ScanOptions): Observable<FrameResult> {
return;
}
/**
* stop scanning
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
stopScanning(): Promise<any> {
return;
}
/**
* resume scanning
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
resumeScanning(): Promise<any> {
return;
}
/**
* pause scanning
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
pauseScanning(): Promise<any> {
return;
}
/**
* get resolution like: 1280x720
* @return {Promise<string>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
getResolution(): Promise<string> {
return;
}
/**
* switch torch
* @param desiredStatus {string} on or off
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
switchTorch(desiredStatus: string): Promise<any> {
return;
}
/**
* set zoom
* @param factor {number} zoom factor
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
setZoom(factor: number): Promise<any> {
return;
}
/**
* set focus
* @param point focus point
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
setFocus(point: { x: number; y: number }): Promise<any> {
return;
}
}

View File

@@ -67,7 +67,7 @@ export interface EmailComposerOptions {
* // Returns an array of configured email clients for the device
* });
*
* this.emailComposer.hasClient().then(app, (isValid: boolean) => {
* this.emailComposer.hasClient(app).then((isValid: boolean) => {
* if (isValid) {
* // Now we know we have a valid email client configured
* // Not specifying an app will return true if at least one email client is configured
@@ -80,7 +80,7 @@ export interface EmailComposerOptions {
* }
* });
*
* this.emailComposer.isAvailable().then(app, (available: boolean) => {
* this.emailComposer.isAvailable(app).then((available: boolean) => {
* if(available) {
* // Now we know we can send an email, calls hasClient and hasAccount
* // Not specifying an app will return true if at least one email client is configured

View File

@@ -49,7 +49,7 @@ export interface FacebookLoginResponse {
* At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
*
* Take note of the `id` for the next step:
* ```
* ```xml
* <widget id="com.mycompany.testapp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
* ```
*

View File

@@ -0,0 +1,484 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
export interface FbSdkLoginResponse {
status: string;
authResponse: {
accessToken: string;
data_access_expiration_time: string;
expiresIn: number;
userID: string;
};
}
/**
* @name FbSdk
* @description
* Use the Facebook SDK plugin to obtain access to the native FB application on iOS and Android.
*
* Requires Cordova plugin: `cordova-plugin-fbsdk`. For more info, please see the [Facebook SDK](https://github.com/MaximBelov/cordova-plugin-fbsdk).
*
* #### Installation
*
* To use the FB plugin, you first have to create a new Facebook App inside of the Facebook developer portal at [https://developers.facebook.com/apps](https://developers.facebook.com/apps).
*
* [![fb-getstarted-1](/img/docs/native/Facebook/1.png)](https://developers.facebook.com/apps/)
*
* Retrieve the `App ID` and `App Name`.
*
* [![fb-getstarted-2](/img/docs/native/Facebook/2.png)](https://developers.facebook.com/apps/)
*
* Then type in the following command in your Terminal, where APP_ID and APP_NAME are the values from the Facebook Developer portal.
*
* ```bash
* ionic cordova plugin add cordova-plugin-fbsdk --variable APP_ID="123456789" --variable APP_NAME="myApplication" --variable CLIENT_TOKEN="abcd1234"
* ```
*
* After, you'll need to add the native platforms you'll be using to your app in the Facebook Developer portal under your app's Settings:
*
* [![fb-getstarted-3](/img/docs/native/Facebook/3.png)](https://developers.facebook.com/apps/)
*
* Click `'Add Platform'`.
*
* [![fb-getstarted-4](/img/docs/native/Facebook/4.png)](https://developers.facebook.com/apps/)
*
* At this point you'll need to open your project's [`config.xml`](https://cordova.apache.org/docs/en/latest/config_ref/index.html) file, found in the root directory of your project.
*
* Take note of the `id` for the next step:
* ```
* <widget id="com.mycompany.testapp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
* ```
*
* You can also edit the `id` to whatever you'd like it to be.
*
* #### Client Access Tokens
*
* [](https://developers.facebook.com/docs/facebook-login/guides/access-tokens#clienttokens)
*
*
* #### iOS Install
* Under 'Bundle ID', add the `id` from your `config.xml` file:
*
* [![fb-getstarted-5](/img/docs/native/Facebook/5.png)](https://developers.facebook.com/apps/)
*
*
* #### Android Install
* Under 'Google Play Package Name', add the `id` from your `config.xml` file:
*
* [![fb-getstarted-6](/img/docs/native/Facebook/6.png)](https://developers.facebook.com/apps/)
*
*
* And that's it! You can now make calls to Facebook using the plugin.
*
* ## Events
*
* App events allow you to understand the makeup of users engaging with your app, measure the performance of your Facebook mobile app ads, and reach specific sets of your users with Facebook mobile app ads.
*
* - [iOS] [https://developers.facebook.com/docs/ios/app-events](https://developers.facebook.com/docs/ios/app-events)
* - [Android] [https://developers.facebook.com/docs/android/app-events](https://developers.facebook.com/docs/android/app-events)
* - [JS] Does not have an Events API, so the plugin functions are empty and will return an automatic success
*
* Activation events are automatically tracked for you in the plugin.
*
* Events are listed on the [insights page](https://www.facebook.com/insights/).
*
* For tracking events, see `logEvent` and `logPurchase`.
* @usage
* ```typescript
* import { FbSdk, FbSdkLoginResponse } from '@awesome-cordova-plugins/fbsdk/ngx';
*
* constructor(private fbSdk: FbSdk) { }
*
* ...
*
* this.fbSdk.login(['public_profile', 'user_friends', 'email'])
* .then((res: FbSdkLoginResponse) => console.log('Logged into Facebook!', res))
* .catch(e => console.log('Error logging into Facebook', e));
*
*
* this.fb.logEvent(this.fb.EVENTS.EVENT_NAME_ADDED_TO_CART);
*
* ```
*/
@Plugin({
pluginName: 'Facebook',
plugin: 'cordova-plugin-fbsdk',
pluginRef: 'facebookConnectPlugin',
repo: 'https://github.com/MaximBelov/cordova-plugin-fbsdk',
install:
'ionic cordova plugin add cordova-plugin-fbsdk --variable APP_ID="123456789" --variable APP_NAME="myApplication" --variable CLIENT_TOKEN="abcd1234"',
installVariables: ['APP_ID', 'APP_NAME', 'CLIENT_TOKEN'],
platforms: ['Android', 'iOS', 'Browser'],
})
@Injectable()
export class FbSdk extends AwesomeCordovaNativePlugin {
EVENTS = {
EVENT_NAME_ACTIVATED_APP: 'fb_mobile_activate_app',
EVENT_NAME_DEACTIVATED_APP: 'fb_mobile_deactivate_app',
EVENT_NAME_SESSION_INTERRUPTIONS: 'fb_mobile_app_interruptions',
EVENT_NAME_TIME_BETWEEN_SESSIONS: 'fb_mobile_time_between_sessions',
EVENT_NAME_COMPLETED_REGISTRATION: 'fb_mobile_complete_registration',
EVENT_NAME_VIEWED_CONTENT: 'fb_mobile_content_view',
EVENT_NAME_SEARCHED: 'fb_mobile_search',
EVENT_NAME_RATED: 'fb_mobile_rate',
EVENT_NAME_COMPLETED_TUTORIAL: 'fb_mobile_tutorial_completion',
EVENT_NAME_PUSH_TOKEN_OBTAINED: 'fb_mobile_obtain_push_token',
EVENT_NAME_ADDED_TO_CART: 'fb_mobile_add_to_cart',
EVENT_NAME_ADDED_TO_WISHLIST: 'fb_mobile_add_to_wishlist',
EVENT_NAME_INITIATED_CHECKOUT: 'fb_mobile_initiated_checkout',
EVENT_NAME_ADDED_PAYMENT_INFO: 'fb_mobile_add_payment_info',
EVENT_NAME_PURCHASED: 'fb_mobile_purchase',
EVENT_NAME_ACHIEVED_LEVEL: 'fb_mobile_level_achieved',
EVENT_NAME_UNLOCKED_ACHIEVEMENT: 'fb_mobile_achievement_unlocked',
EVENT_NAME_SPENT_CREDITS: 'fb_mobile_spent_credits',
EVENT_PARAM_CURRENCY: 'fb_currency',
EVENT_PARAM_REGISTRATION_METHOD: 'fb_registration_method',
EVENT_PARAM_CONTENT_TYPE: 'fb_content_type',
EVENT_PARAM_CONTENT_ID: 'fb_content_id',
EVENT_PARAM_SEARCH_STRING: 'fb_search_string',
EVENT_PARAM_SUCCESS: 'fb_success',
EVENT_PARAM_MAX_RATING_VALUE: 'fb_max_rating_value',
EVENT_PARAM_PAYMENT_INFO_AVAILABLE: 'fb_payment_info_available',
EVENT_PARAM_NUM_ITEMS: 'fb_num_items',
EVENT_PARAM_LEVEL: 'fb_level',
EVENT_PARAM_DESCRIPTION: 'fb_description',
EVENT_PARAM_SOURCE_APPLICATION: 'fb_mobile_launch_source',
EVENT_PARAM_VALUE_YES: '1',
EVENT_PARAM_VALUE_NO: '0',
};
/**
* Get the current application ID
*
* @returns {Promise<string>} Returns a Promise that resolves with the current application ID
*/
@Cordova()
getApplicationId(): Promise<string> {
return;
}
/**
* Set the application ID
*
* @param {string} id application ID
*/
@Cordova()
setApplicationId(id: string): Promise<void> {
return;
}
/**
* Get the current application name
*
* @returns {Promise<string>} Returns a Promise that resolves with the current application name
*/
@Cordova()
getApplicationName(): Promise<string> {
return;
}
/**
* Set the application name
*
* @param {string} name application name
*/
@Cordova()
setApplicationName(name: string): Promise<void> {
return;
}
/**
* Login to Facebook to authenticate this app.
*
* ```typescript
* {
* status: 'connected',
* authResponse: {
* accessToken: 'kgkh3g42kh4g23kh4g2kh34g2kg4k2h4gkh3g4k2h4gk23h4gk2h34gk234gk2h34AndSoOn',
* data_access_expiration_time: '1623680244',
* expiresIn: 5183979,
* userID: '634565435'
* }
* }
*
* ```
*
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-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.
*/
@Cordova()
login(permissions: string[]): Promise<FbSdkLoginResponse> {
return;
}
/**
* Login to Facebook using Limited Login (iOS Only)
*
* ```typescript
* {
* status: 'connected',
* authResponse: {
* authenticationToken: 'kgkh3g42kh4g23kh4g2kh34g2kg4k2h4gkh3g4k2h4gk23h4gk2h34gk234gk2h34AndSoOn',
* nonce: 'foo',
* userID: '634565435'
* }
* }
*
* ```
*
* @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.
*/
@Cordova()
loginWithLimitedTracking(permissions: string[]): Promise<FbSdkLoginResponse> {
return;
}
/**
* Check if the user has approved all necessary permissions
*
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/permissions) to check for
* @returns {Promise<string>} Returns a Promise that resolves with a success string if all passed permissions are granted, or an error string if any permissions are not granted
*/
@Cordova()
checkHasCorrectPermissions(permissions: string[]): Promise<string> {
return;
}
/**
* Check if data access has expired for the user
*
* @returns {Promise<string>} Returns a Promise that resolves with a success string if data access is expired, or rejects with an error
*/
@Cordova()
isDataAccessExpired(): Promise<string> {
return;
}
/**
* Reauthorize data access after it has expired
*
* @returns {Promise<FbSdkLoginResponse>} Returns a Promise that resolves with a status object if login succeeds, and rejects if login fails.
*/
@Cordova()
reauthorizeDataAccess(): Promise<FbSdkLoginResponse> {
return;
}
/**
* Logout of Facebook.
*
* For more info see the [Facebook docs](https://developers.facebook.com/docs/reference/javascript/FB.logout)
*
* @returns {Promise<any>} Returns a Promise that resolves on a successful logout, and rejects if logout fails.
*/
@Cordova()
logout(): Promise<any> {
return;
}
/**
* Determine if a user is logged in to Facebook and has authenticated your app. There are three possible states for a user:
*
* 1) the user is logged into Facebook and has authenticated your application (connected)
* 2) the user is logged into Facebook but has not authenticated your application (not_authorized)
* 3) the user is either not logged into Facebook or explicitly logged out of your application so it doesn't attempt to connect to Facebook and thus, we don't know if they've authenticated your application or not (unknown)
*
* Resolves with a response like:
*
* ```
* {
* authResponse: {
* userID: '12345678912345',
* accessToken: 'kgkh3g42kh4g23kh4g2kh34g2kg4k2h4gkh3g4k2h4gk23h4gk2h34gk234gk2h34AndSoOn',
* data_access_expiration_time: '1623680244',
* expiresIn: '5183738'
* },
* status: 'connected'
* }
* ```
*
* For more information see the [Facebook docs](https://developers.facebook.com/docs/reference/javascript/FB.getLoginStatus)
*
* @returns {Promise<any>} Returns a Promise that resolves with a status, or rejects with an error
*/
@Cordova()
getLoginStatus(): Promise<any> {
return;
}
/**
* Get a Facebook access token for using Facebook services.
*
* @returns {Promise<string>} Returns a Promise that resolves with an access token, or rejects with an error
*/
@Cordova()
getAccessToken(): Promise<string> {
return;
}
/**
* Get profile information for the currently logged in user
*
* @returns {Promise<any>} Returns a Promise that resolves with success data, or rejects with an error
*/
@Cordova()
getCurrentProfile(): Promise<any> {
return;
}
/**
* Show one of various Facebook dialogs. Example of options for a Share dialog:
*
* ```
* {
* method: 'share',
* href: 'http://example.com'
* }
* ```
*
* For more options see the [Cordova plugin docs](https://github.com/MaximBelov/cordova-plugin-fbsdk#show-a-dialog) and the [Facebook docs](https://developers.facebook.com/docs/javascript/reference/FB.ui)
*
* @param {Object} options The dialog options
* @returns {Promise<any>} Returns a Promise that resolves with success data, or rejects with an error
*/
@Cordova()
showDialog(options: any): Promise<any> {
return;
}
/**
* Make a call to Facebook Graph API. Can take additional permissions beyond those granted on login.
*
* For more information see:
*
* Calling the Graph API - https://developers.facebook.com/docs/javascript/reference/FB.api
* Graph Explorer - https://developers.facebook.com/tools/explorer
* Graph API - https://developers.facebook.com/docs/graph-api
*
* @param {string} requestPath Graph API endpoint you want to call
* @param {string[]} permissions List of [permissions](https://developers.facebook.com/docs/facebook-login/permissions) for this request.
* @param {string} httpMethod HTTP method for the request, one of "GET", "POST", or "DELETE" (default is "GET")
* @returns {Promise<any>} Returns a Promise that resolves with the result of the request, or rejects with an error
*/
@Cordova()
api(requestPath: string, permissions: string[], httpMethod?: string): Promise<any> {
return;
}
/**
* Set Data Processing Options for App events. For more information see [Facebook docs](https://developers.facebook.com/docs/app-events/guides/ccpa)
*
* @param {string[]} options List of options, i.e. ["LDU"]
* @param {number} country The numeric identifier for the country
* @param {number} state The numeric identifier for the state
*/
@Cordova()
setDataProcessingOptions(options: string[], country?: number, state?: number): Promise<void> {
return;
}
/**
* Set user data for Advanced Matching. For more information see [Facebook docs](https://developers.facebook.com/docs/app-events/advanced-matching/)
*
* @param {Object} userData An object containing data about the user
*/
@Cordova()
setUserData(userData: Object): Promise<void> {
return;
}
/**
* Clear user data. For more information see [Facebook docs](https://developers.facebook.com/docs/app-events/advanced-matching/)
*/
@Cordova()
clearUserData(): Promise<void> {
return;
}
/**
* Log an event. For more information see the Events section above.
*
* @param {string} name Name of the event
* @param {Object} [params] An object containing extra data to log with the event
* @param {number} [valueToSum] any value to be added to added to a sum on each event
* @returns {Promise<any>}
*/
@Cordova({
successIndex: 3,
errorIndex: 4,
})
logEvent(name: string, params?: Object, valueToSum?: number): Promise<any> {
return;
}
/**
* Enable or disable the auto log app event feature - https://developers.facebook.com/docs/app-events/gdpr-compliance/
*
* @param {boolean} enabled value to be set
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
setAutoLogAppEventsEnabled(enabled: boolean): Promise<void> {
return;
}
/**
* Enable or disable collection of advertiser-id
*
* @param {boolean} enabled value to be set
*/
@Cordova()
setAdvertiserIDCollectionEnabled(enabled: boolean): Promise<void> {
return;
}
/**
* Enable or disable advertiser tracking (iOS Only)
*
* @param {boolean} enabled value to be set
*/
@Cordova()
setAdvertiserTrackingEnabled(enabled: boolean): Promise<void> {
return;
}
/**
* Log a purchase. For more information see the Events section above.
*
* @param {number} value Value of the purchase.
* @param {string} currency The currency, as an [ISO 4217 currency code](http://en.wikipedia.org/wiki/ISO_4217)
* @param {Object} params An object containing extra data to log with the event
* @returns {Promise<any>}
*/
@Cordova()
logPurchase(value: number, currency: string, params?: Object): Promise<any> {
return;
}
/**
* Returns the deferred app link
*
* @returns {Promise<string>} Returns a Promise that resolves with the deep link
*/
@Cordova()
getDeferredApplink(): Promise<string> {
return;
}
/**
* Manually log activation events
*
* @returns {Promise<any>}
*/
@Cordova()
activateApp(): Promise<any> {
return;
}
}

View File

@@ -0,0 +1,74 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
export interface VideoInformation {
format: {
bit_rate: string;
duration: string;
filename: string;
format_name: string;
nb_programs: string;
nb_streams: string;
probe_score: string;
size: string;
start_time: string;
};
[key: string]: any;
}
/**
* @name FFMpeg
* @description
* Simple plugin that binds mobile ffmpeg to execute ffmpeg commands
*
* @usage
* ```typescript
* import { FFMpeg } from '@awesome-cordova-plugins/ffmpeg/ngx';
*
*
* constructor(private ffMpeg: FFMpeg) { }
*
* ...
*
*
* this.fFMpeg.exec('-i someinput.mp4 -vn -c:a copy out.mp3')
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
*
* this.fFMpeg.probe('somefile.mp4"')
* .then((res: VideoInformation) => console.log(res))
* .catch((error: any) => console.error(error));
*
*
* ```
*/
@Plugin({
pluginName: 'FFMpeg',
plugin: 'cordova-plugin-ffmpeg',
pluginRef: 'ffmpeg',
repo: 'https://github.com/MaximBelov/cordova-plugin-ffmpeg',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class FFMpeg extends AwesomeCordovaNativePlugin {
/**
* Execute ffmpeg command
* @param cmd {string} command
* @return {Promise<any>} Returns a promise that resolves when execute finished
*/
@Cordova()
exec(cmd: string): Promise<any> {
return;
}
/**
* Extracts media information for the file specified with path
* @param filePath {string} file path
* @return {Promise<VideoInformation>} Returns a promise that resolves when media information received
*/
@Cordova()
probe(filePath: string): Promise<VideoInformation> {
return;
}
}

View File

@@ -0,0 +1,47 @@
/* eslint-disable jsdoc/require-returns-check */
/* eslint-disable jsdoc/check-tag-names */
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name FileChooser Plugin
* @description
* Cordova FileChooser Plugin
* @usage
* ```typescript
* import { FileChooser } from '@awesome-cordova-plugins/file-chooser/ngx';
*
*
* constructor(private fileChooser: FileChooser) { }
*
* ...
*
*
* this.fileChooser.open()
* .then(() => console.log('Success'))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'FileChooser',
plugin: 'cordova-plugin-filechooser',
pluginRef: 'fileChooser',
repo: 'https://github.com/ihadeed/cordova-filechooser',
platforms: ['Android'],
})
@Injectable()
export class FileChooser extends AwesomeCordovaNativePlugin {
/**
* Launches a chooser dialog. The filter param allows filtering a the mime type
* { "mime": "application/pdf" }
*
* @param {string} [filter] Filter allowing filter by a mime type (text/plain, image/png, image/jpeg, audio/wav etc.)
* @returns {Promise<string>} URI of the selected file
*/
@Cordova()
open(filter?: string): Promise<string> {
return;
}
}

View File

@@ -0,0 +1,43 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name File MD5
* @description
* This plugin reads large files in chunks and build the md5sum incrementally.
* @usage
* ```typescript
* import { FileMD5 } from '@awesome-cordova-plugins/file-md5/nx';
*
*
* constructor(private fileMD5: FileMD5) { }
*
* ...
*
*
* this.fileMD5.file(fileEntry)
* .then((md5sum: string) => console.log(md5sum))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'FileMD5',
plugin: 'cordova-plugin-file-md5',
pluginRef: 'md5chksum',
repo: 'https://github.com/mramonlopez/cordova-plugin-file-md5',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class FileMD5 extends AwesomeCordovaNativePlugin {
/**
* Get MD5 checksum from a file
*
* @param fileEntry {FileEntry} File entry is a org.apache.cordova.file.FileEntry
* @returns {Promise<any>} Promise with md5sum
*/
@Cordova()
file(fileEntry: any): Promise<any> {
return;
}
}

View File

@@ -1,6 +1,96 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
// Biometric type
export type BIOMETRIC_TYPE = 'finger' | 'face' | 'biometric';
export enum BIOMETRIC_ERRORS {
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_UNKNOWN_ERROR = -100,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_UNAVAILABLE = -101,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_AUTHENTICATION_FAILED = -102,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SDK_NOT_SUPPORTED = -103,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_HARDWARE_NOT_SUPPORTED = -104,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_PERMISSION_NOT_GRANTED = -105,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_NOT_ENROLLED = -106,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_INTERNAL_PLUGIN_ERROR = -107,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_DISMISSED = -108,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_PIN_OR_PATTERN_DISMISSED = -109,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SCREEN_GUARD_UNSECURED = -110,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_LOCKED_OUT = -111,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_LOCKED_OUT_PERMANENT = -112,
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SECRET_NOT_FOUND = -113
}
export interface FingerprintOptions {
/**
* Title in biometric prompt (android only)
@@ -43,6 +133,14 @@ export interface FingerprintOptions {
* @default false
*/
disableBackup?: boolean;
/**
* (Android): If false user confirmation is NOT required after a biometric has been authenticated.
*
* @default true.
* See https://developer.android.com/training/sign-in/biometric-auth#no-explicit-user-action
*/
confirmationRequired?: boolean;
}
export interface FingerprintSecretOptions extends FingerprintOptions {
@@ -121,98 +219,15 @@ export interface FingerprintSecretOptions extends FingerprintOptions {
})
@Injectable()
export class FingerprintAIO extends AwesomeCordovaNativePlugin {
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_UNKNOWN_ERROR = -100;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_UNAVAILABLE = -101;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_AUTHENTICATION_FAILED = -102;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SDK_NOT_SUPPORTED = -103;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_HARDWARE_NOT_SUPPORTED = -104;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_PERMISSION_NOT_GRANTED = -105;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_NOT_ENROLLED = -106;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_INTERNAL_PLUGIN_ERROR = -107;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_DISMISSED = -108;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_PIN_OR_PATTERN_DISMISSED = -109;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SCREEN_GUARD_UNSECURED = -110;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_LOCKED_OUT = -111;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_LOCKED_OUT_PERMANENT = -112;
/**
* Convenience constant
*
* @type {number}
*/
BIOMETRIC_SECRET_NOT_FOUND = -113;
/**
* Check if fingerprint authentication is available
*
* @returns {Promise<any>} Returns a promise with result
* @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<any> {
isAvailable(): Promise<BIOMETRIC_TYPE> {
return;
}
@@ -220,10 +235,10 @@ export class FingerprintAIO extends AwesomeCordovaNativePlugin {
* Show authentication dialogue and register secret
*
* @param {FingerprintSecretOptions} options Options for platform specific fingerprint API
* @returns {Promise<any>} Returns a promise that resolves when authentication was successful
* @returns {Promise<void>} Returns a promise that resolves when authentication was successful
*/
@Cordova()
registerBiometricSecret(options: FingerprintSecretOptions): Promise<any> {
registerBiometricSecret(options: FingerprintSecretOptions): Promise<void> {
return;
}
@@ -231,7 +246,7 @@ export class FingerprintAIO extends AwesomeCordovaNativePlugin {
* Show authentication dialogue and load secret
*
* @param {FingerprintOptions} options Options for platform specific fingerprint API
* @returns {Promise<any>} Returns a promise that resolves when authentication was successful
* @returns {Promise<string>} Returns a promise that resolves when authentication was successful
*/
@Cordova()
loadBiometricSecret(options: FingerprintOptions): Promise<string> {
@@ -242,10 +257,10 @@ export class FingerprintAIO extends AwesomeCordovaNativePlugin {
* Show authentication dialogue
*
* @param {FingerprintOptions} options Options for platform specific fingerprint API
* @returns {Promise<any>} Returns a promise that resolves when authentication was successful
* @returns {Promise<void>} Returns a promise that resolves when authentication was successful
*/
@Cordova()
show(options: FingerprintOptions): Promise<any> {
show(options: FingerprintOptions): Promise<void> {
return;
}
}

View File

@@ -12,7 +12,7 @@ import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-pl
* NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.
*
* ## Using capacitor?
* For Android you'll have to add in __android/app/src/main/AndroidManfiest.xml__ under `<application>`
* For Android you'll have to add in __android/app/src/main/AndroidManifest.xml__ under `<application>`
* ```
* <meta-data
* tools:replace="android:value"

View File

@@ -112,7 +112,26 @@ export interface FirebaseUser {
*/
name?: string;
}
export interface MessagePayloadAps {
alert?: {
title: string;
body: string;
}
}
export interface MessagePayload {
title?: string;
body?: string;
collapse_key?: string;
from?: string;
id?: string;
messageType?: string;
notification_foreground?: string;
sent_time?: string;
show_notification?: string;
ttl?: string;
tap?: 'background' | 'foreground';
aps?: MessagePayloadAps;
}
/**
* @name Firebase X
* @description
@@ -237,7 +256,7 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
@Cordova({
observable: true,
})
onMessageReceived(): Observable<any> {
onMessageReceived<T = { [key: string]: string }>(): Observable<MessagePayload & T> {
return;
}
@@ -849,10 +868,11 @@ export class FirebaseX extends AwesomeCordovaNativePlugin {
* using a string other than retry to name that event if you are counting a different type of event.
*
* @param {string} name
* @param {string} counterName
* @returns {Promise<any>}
*/
@Cordova()
incrementCounter(name: string): Promise<any> {
incrementCounter(name: string, counterName: string): Promise<any> {
return;
}

View File

@@ -0,0 +1,69 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
AwesomeCordovaNativePlugin,
} from '@awesome-cordova-plugins/core';
export interface ServerOptions {
port?: number;
folder?: string;
}
/**
* @name gcdwebserver
* @description
* This plugin can start an HTTP server using GCDWebServer
*
* @usage
* ```typescript
* import { GCDWebServer } from '@awesome-cordova-plugins/gcdwebserver';
*
*
* constructor(private gcdwebserver: GCDWebServer) { }
*
* ...
*
*
* await this.gcdwebserver.startServer({});
*
*
* ```
*/
@Plugin({
pluginName: 'gcdwebserver',
plugin: 'cordova-plugin-gcdwebserver',
pluginRef: 'cordova.plugins.GCDServer',
repo: 'https://github.com/xulihang/cordova-plugin-gcdwebserver',
install: '',
installVariables: [],
platforms: ['iOS'],
})
@Injectable()
export class GCDWebServer extends AwesomeCordovaNativePlugin {
/**
* start the server
* @param options {ServerOptions}
* @return {Promise<any>} Returns a promise
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
startServer(options: ServerOptions): Promise<any> {
return;
}
/**
* stop the server
* @return {Promise<any>} Returns a promise
*/
@Cordova({ successIndex: 1, errorIndex: 2 })
stopServer(): Promise<any> {
return;
}
}

View File

@@ -237,6 +237,26 @@ export class HTTP extends AwesomeCordovaNativePlugin {
return;
}
/**
* Configure X.509 client certificate authentication. Takes mode and options. mode being one of following values:
* none: disable client certificate authentication
* systemstore (only on Android): use client certificate installed in the Android system store; user will be presented with a list of all installed certificates
* buffer: use given client certificate; you will need to provide an options object
*
* @see https://github.com/silkimen/cordova-plugin-advanced-http#setclientauthmode
* @param {string} mode auth mode
* @param {object} options useful for buffer mode
* @param {ArrayBuffer} options.rawPkcs ArrayBuffer containing raw PKCS12 container with client certificate and private key
* @param {string} options.pkcsPassword password of the PKCS container
*/
@Cordova()
setClientAuthMode(
mode: 'none' | 'systemstore ' | 'buffer',
options?: { rawPkcs: ArrayBuffer; pkcsPassword: string }
): Promise<void> {
return;
}
/**
* Make a POST request
*

View File

@@ -1,17 +1,8 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
AwesomeCordovaNativePlugin,
} from '@awesome-cordova-plugins/core';
import { kMaxLength } from 'buffer';
import { resolve } from 'dns';
import { reject } from 'lodash';
import { error } from 'console';
import { AwesomeCordovaNativePlugin, Cordova, Plugin } from '@awesome-cordova-plugins/core';
const hypertrackIonicPluginVersion = "0.2.0"
// Minimal cordova-plugin-hypertrack-v3 version: 0.5.0
@Plugin({
pluginName: 'cordova-plugin-hypertrack-v3',
plugin: 'cordova-plugin-hypertrack-v3',
@@ -50,6 +41,9 @@ interface FailureHandler {
interface SuccessHandler {
(): any;
}
interface LocationReceiver {
(location: CordovaLatestLocationResult): any;
}
// SDK instance that exposed from Cordova utilizes usage of callbacks, so we
// wrap it with adapter to avoid mix of callbacks and Promises
@@ -75,17 +69,23 @@ interface HyperTrackCordova {
syncDeviceSettings(success: SuccessHandler, error: FailureHandler): void;
start(success: SuccessHandler, error: FailureHandler): void;
stop(success: SuccessHandler, error: FailureHandler): void;
getLatestLocation(success: LocationReceiver, error: FailureHandler): void;
getCurrentLocation(success: LocationReceiver, error: FailureHandler): void;
}
export class CoordinatesValidationError extends Error {}
/** Wrapper class for passing spatial geoposition as a geotag's expected location */
export class Coordinates {
constructor(latitude: number, longitude: number) {
constructor(public latitude: number, public longitude: number) {
if (latitude < -90.0 || latitude > 90.0 || longitude < -180.0 || longitude > 180.0) {
throw new CoordinatesValidationError('latitude and longitude should be of correct valaues');
throw new CoordinatesValidationError('latitude and longitude should be of correct values');
}
}
public toString = (): string => {
return JSON.stringify(this);
}
}
/** A blocker is an obstacle that needs to be resolved to achieve reliable tracking. */
@@ -100,6 +100,40 @@ export interface Blocker {
resolve: () => void;
}
export type CordovaLatestLocationResult = {
type: "location",
location: Coordinates,
} | {
type: "outage",
outage: {
code: number,
name: keyof typeof Outage
}
}
export type LocationResult = {
type: LocationResultType.LOCATION,
value: Coordinates
} |
{
type: LocationResultType.OUTAGE,
value: Outage
}
export enum LocationResultType {
LOCATION, OUTAGE
}
export enum Outage {
MISSING_LOCATION_PERMISSION,
MISSING_ACTIVITY_PERMISSION,
LOCATION_SERVICE_DISABLED,
NOT_TRACKING,
START_HAS_NOT_FINISHED,
NO_GPS_SIGNAL,
RESTART_REQUIRED
}
/**
* @usage
* ```typescript
@@ -141,6 +175,7 @@ export class HyperTrack {
* @see {@link https://dashboard.hypertrack.com/setup}.
*/
static initialize(publishableKey: string): Promise<HyperTrack> {
console.log(`Hypertrack Ionic plugin version ${hypertrackIonicPluginVersion}`)
return new Promise((resolve, reject) => {
new HyperTrackPlugin()
.initialize(publishableKey)
@@ -185,7 +220,7 @@ export class HyperTrack {
*
* @param name
*/
setDeviceName(name: string): Promise<any> {
setDeviceName(name: string): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.setDeviceName(
name,
@@ -200,7 +235,7 @@ export class HyperTrack {
*
* @param metadata key-value pais of properties.
*/
setDeviceMetadata(metadata: Object): Promise<any> {
setDeviceMetadata(metadata: Object): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.setDeviceMetadata(
metadata,
@@ -216,7 +251,7 @@ export class HyperTrack {
* @param title
* @param message
*/
setTrackingNotificationProperties(title: string, message: string): Promise<any> {
setTrackingNotificationProperties(title: string, message: string): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.setTrackingNotificationProperties(
title,
@@ -233,7 +268,7 @@ export class HyperTrack {
* @param geotagData
* @param expectedLocation
*/
addGeotag(geotagData: Object, expectedLocation?: Coordinates): Promise<any> {
addGeotag(geotagData: Object, expectedLocation?: Coordinates): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.addGeoTag(
geotagData,
@@ -245,7 +280,7 @@ export class HyperTrack {
}
/** Pops up permission request dialog, if permissions weren't granted before or does nothing otherwise. */
requestPermissionsIfNecessary(): Promise<any> {
requestPermissionsIfNecessary(): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.requestPermissionsIfNecessary(
() => resolve(),
@@ -255,7 +290,7 @@ export class HyperTrack {
}
/** Allows injecting false locations into the SDK, which ignores them by default. */
allowMockLocations(): Promise<any> {
allowMockLocations(): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.allowMockLocations(
() => resolve(),
@@ -268,7 +303,7 @@ export class HyperTrack {
* Synchronizes tracking state with platform model. This method is used to
* harden platform2device communication channel.
*/
syncDeviceSettings(): Promise<any> {
syncDeviceSettings(): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.syncDeviceSettings(
() => resolve(),
@@ -278,7 +313,7 @@ export class HyperTrack {
}
/** Start tracking. */
start(): Promise<any> {
start(): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.start(
() => resolve(),
@@ -288,7 +323,7 @@ export class HyperTrack {
}
/** Stop tracking. */
stop(): Promise<any> {
stop(): Promise<void> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.stop(
() => resolve(),
@@ -297,5 +332,49 @@ export class HyperTrack {
});
}
/**
* Resolves latest device location that was sent by the SDK.
* Only available for Android platform.
* */
getLatestLocation(): Promise<LocationResult> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.getLatestLocation(
locationResult => resolve(this.handleLocationResult(locationResult)),
err => reject(err)
);
});
}
/**
* Resolves latest device location from system location provider.
* Only available for Android platform.
* */
getCurrentLocation(): Promise<LocationResult> {
return new Promise((resolve, reject) => {
this.cordovaInstanceHandle.getCurrentLocation(
locationResult => resolve(this.handleLocationResult(locationResult)),
err => reject(err)
);
});
}
private handleLocationResult(locationResult: CordovaLatestLocationResult): LocationResult {
switch (locationResult.type) {
case "location": {
return {
type: LocationResultType.LOCATION,
value: locationResult.location
}
}
case "outage": {
const outage = Outage[locationResult.outage.name]
return {
type: LocationResultType.OUTAGE,
value: outage
}
}
}
}
private constructor(private cordovaInstanceHandle: HyperTrackCordova) {}
}

View File

@@ -0,0 +1,89 @@
/* eslint-disable jsdoc/require-param-type */
/* eslint-disable jsdoc/check-tag-names */
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
export interface ImageResizerOptions {
/**
* The URI for the image on the device to get scaled
*/
uri: string;
/**
* The name of the folder the image should be put
* (Android only)
*/
folderName?: string;
/**
* A custom name for the file. Default name is a timestamp. You have to set this value on iOS
*/
fileName?: string;
/**
*
* Quality given as Number for the quality of the new image
* (Android and iOS only)
*/
quality?: number;
/**
* The width of the new image
*/
width: number;
/**
* The height of the new image
*/
height: number;
/**
* Whether or not to return a base64 encoded image string instead of the path to the resized image.
* iOS only
*/
base64?: boolean;
}
/**
* @name ImageResizer
* @description
* Cordova Plugin For Image Resize
* @usage
* ```typescript
* import { ImageResizer, ImageResizerOptions } from '@awesome-cordova-plugins/image-resizer/ngx';
*
* constructor(private imageResizer: ImageResizer) { }
*
* ...
*
* let options = {
* uri: uri,
* folderName: 'Protonet',
* quality: 90,
* width: 1280,
* height: 1280
* } as ImageResizerOptions;
*
* this.imageResizer
* .resize(options)
* .then((filePath: string) => console.log('FilePath', filePath))
* .catch(e => console.log(e));
*
* ```
*/
@Plugin({
pluginName: 'ImageResizer',
plugin: 'cordova-plugin-image-resizer', // npm package name, example: cordova-plugin-camera
pluginRef: 'ImageResizer', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/JoschkaSchulz/cordova-plugin-image-resizer', // the github repository URL for the plugin
platforms: ['Android', 'iOS'],
})
@Injectable()
export class ImageResizer extends AwesomeCordovaNativePlugin {
/**
* This function resizes the image based on the options provided
*
* @param options {ImageResizerOptions} image resize options
* @return {Promise<string>} Returns a Promise that resolves the resized image file URI
* otherwise rejects with an error.
*/
@Cordova()
resize(options: ImageResizerOptions): Promise<string> {
return;
}
}

View File

@@ -505,6 +505,7 @@ export class IAPError {
* | +--> APPROVED +--------------------------------+--> FINISHED +--> OWNED
* | |
* +-------------------------------------------------------------+
* ```
*
* #### Notes
*
@@ -744,7 +745,13 @@ export class InAppPurchase2 extends AwesomeCordovaNativePlugin {
products: IAPProducts;
@CordovaProperty()
validator: string | ((url: string | IAPProduct, callback: Function) => void);
validator:
| string
| ((url: string | IAPProduct, callback: Function) => void)
| {
url: string;
headers?: { [token: string]: string };
};
@CordovaProperty()
applicationUsername: string | (() => string);
@@ -914,4 +921,11 @@ export class InAppPurchase2 extends AwesomeCordovaNativePlugin {
/** Opens the Manage Billing page (AppStore, Play, Microsoft, ...), where the user can update his/her payment methods. */
@Cordova({ sync: true })
manageBilling(): void {}
/** Open the subscription price change notification workflow. (Play) See: https://developer.android.com/google/play/billing/subscriptions#price-change-communicate */
@Cordova({ sync: true })
launchPriceChangeConfirmationFlow(
productId: string,
callback: (status: 'OK' | 'UnknownProduct' | 'UserCanceled') => void
): void {}
}

View File

@@ -246,4 +246,14 @@ export class Intercom extends AwesomeCordovaNativePlugin {
setBottomPadding(bottomPadding: string | number): Promise<any> {
return;
}
/**
* Programmatically display a Survey
* @param surveyId {string}
* @returns {Promise<any>} Returns a promise
*/
@Cordova()
displaySurvey(surveyId: string): Promise<any> {
return;
}
}

View File

@@ -8,7 +8,7 @@ import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-pl
*
* Requires Cordova plugin: `cordova-plugin-ios-keychain`. For more info, please see the [Keychain plugin docs](https://github.com/ionic-team/cordova-plugin-ios-keychain).
*
* See also [Secure Storage](https://ionicframework.com/docs/native/secure-storage/) for more supported platforms.
* See also [Secure Storage](https://ionic.io/docs/secure-storage) for more supported platforms.
* @usage
* ```typescript
* import { Keychain } from '@awesome-cordova-plugins/keychain/ngx';
@@ -17,7 +17,7 @@ import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-pl
*
* ...
*
* this.keychain.set(key, value).then(() => {
* this.keychain.set(key, value, false).then(() => {
* this.keychain.get(key)
* .then(value => console.log('Got value', value))
* .catch(err => console.error('Error getting', err));
@@ -57,7 +57,7 @@ export class Keychain extends AwesomeCordovaNativePlugin {
@Cordova({
callbackOrder: 'reverse',
})
set(key: string, value: string | number | boolean, useTouchID?: boolean): Promise<any> {
set(key: string, value: string | number | boolean, useTouchID: boolean): Promise<any> {
return;
}

View File

@@ -322,8 +322,8 @@ export class LaunchNavigator extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova({
successIndex: 2,
errorIndex: 3,
successIndex: 1,
errorIndex: 2
})
navigate(destination: string | number[], options?: LaunchNavigatorOptions): Promise<any> {
return;

View File

@@ -0,0 +1,89 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
* @name Lets Cooee
* @description
* AI driven Personalised Notifications for Better Customer Engagement
*
* @usage
* ```typescript
* import { Cooee } from '@awesome-cordova-plugins/lets-cooee/nx';
*
*
* constructor(private cooee: Cooee) { }
*
* ...
*
*
* this.cooee.functionName('Hello', 123)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'Cooee',
plugin: '@letscooee/cordova-plugin',
pluginRef: 'cordova.plugins.Cooee',
repo: 'https://github.com/letscooee/cordova-plugin-cooee',
install: 'ionic cordova plugin add @letscooee/cordova-plugin --variable COOEE_APP_ID=appId',
installVariables: ['COOEE_APP_ID'],
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Cooee extends AwesomeCordovaNativePlugin {
/**
* Send the given user data and user properties to the server.
* @return {Promise<any>} Returns a promise so user can be notified.
* @param eventName {string} Name of the event
* @param eventProperties {Record<string, any>} Properties of the event
*/
@Cordova()
sendEvent(eventName: string, eventProperties: Record<string, any>): Promise<any> {
return;
}
/**
* Send the given user data and user properties to the server.
* @return {Promise<any>} Returns a promise so user can be notified.
* @param userProfile {Record<string, any>} User data to send to the server
*/
@Cordova()
updateUserProfile(userProfile: Record<string, any>): Promise<any> {
return;
}
/**
* Send the given screen name with every event.
* @return {Promise<any>} Returns a promise so user can be notified.
* @param screenName {string} Screen name to send to the server
*/
@Cordova()
setCurrentScreen(screenName: string): Promise<any> {
return;
}
/**
* Provide Cooee's userID assigned to the current user.
* @return {Promise<any>} Returns a promise with userId.
*/
@Cordova()
getUserID(): Promise<any> {
return;
}
/**
* Provides callback for the onCooeeCTAListener event.
* @return {Observable<Any>} Returns an observable record.
*/
@Cordova({
eventObservable: true,
event: 'onCooeeCTAListener',
element: document,
})
addCooeeCTAListener(): Observable<any> {
return;
}
}

View File

@@ -0,0 +1,87 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface MagnetometerReading {
/**
* X reading of magnetometer. (Number)
*/
x: number;
/**
* Y reading of magnetometer. (Number)
*/
y: number;
/**
* Z reading of magnetometer. (Number)
*/
z: number;
/**
* Calculated total - always positive of magnetometer. (Number)
*/
magnitude: number;
}
/**
* @name Device eMagnetometer
* @description
* Requires Cordova plugin: `cordova-plugin-magnetometer`. For more info, please see the [Device Orientation docs](https://github.com/sdesalas/cordova-plugin-magnetometer).
*
* @usage
* ```typescript
* // MagnetometerReading is an interface for compass
* import { Magnetometer, MagnetometerReading } from '@awesome-cordova-plugins/device-orientation/ngx';
*
* constructor(private magnetometer: Magnetometer) { }
*
* ...
*
* // Get the device current compass heading
* this.magnetometer.getReading().then(
* (data: MagnetometerReading) => console.log(data),
* (error: any) => console.log(error)
* );
*
* // Watch the device compass heading change
* var subscription = this.magnetometer.watchReadings().subscribe(
* (data: MagnetometerReading) => console.log(data)
* );
*
* // Stop watching heading change
* subscription.unsubscribe();
* ```
* @interfaces
* MagnetometerReading
*/
@Plugin({
pluginName: 'Magnetometer',
plugin: 'cordova-plugin-magnetometer',
pluginRef: 'cordova.plugins.magnetometer',
repo: 'https://github.com/sdesalas/cordova-plugin-magnetometer',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Magnetometer extends AwesomeCordovaNativePlugin {
/**
* Get the current compass reading.
* @returns {Promise<MagnetometerReading>}
*/
@Cordova()
getReading(): Promise<MagnetometerReading> {
return;
}
/**
* Get the device current heading at a regular interval
*
* Stop the watch by unsubscribing from the observable
* @param {DeviceOrientationCompassOptions} [options] Options for compass. Frequency and Filter. Optional
* @returns {Observable<DeviceOrientationCompassHeading>} Returns an observable that contains the compass heading
*/
@Cordova({
callbackOrder: 'reverse',
observable: true,
clearFunction: 'stop',
})
watchReadings(): Observable<MagnetometerReading> {
return;
}
}

View File

@@ -0,0 +1,57 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Market
* @description
* Opens an app's page in the market place (Google Play, App Store)
*
* @usage
* ```typescript
* import { Market } from '@awesome-cordova-plugins/market/ngx';
*
* constructor(private market: Market) { }
*
* ...
*
* this.market.open('your.package.name');
*
* ```
*/
@Plugin({
pluginName: 'Market',
plugin: 'cordova-plugin-market',
pluginRef: 'cordova.plugins.market',
repo: 'https://github.com/xmartlabs/cordova-plugin-market',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Market extends AwesomeCordovaNativePlugin {
/**
* Opens an app in Google Play / App Store
* @param appId {string} Package name
* @return {Promise<any>}
*/
@Cordova({
callbackStyle: 'object',
successName: 'success',
errorName: 'failure',
})
open(appId: string): Promise<any> {
return;
}
/**
* Search apps by keyword
* @param keyword {string} Keyword
* @return {Promise<any>}
*/
@Cordova({
callbackStyle: 'object',
successName: 'success',
errorName: 'failure',
platforms: ['Android'],
})
search(keyword: string): Promise<any> {
return;
}
}

View File

@@ -0,0 +1,258 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name Mobile Accessibility
* @description
* This plugin exposes information on the status of various accessibility features of mobile operating systems, including, for example, whether a screen reader is running, invert colors is enabled, and the preferred scaling for text.
* It also allows an application to send a string to be spoken by the screen reader, or a command to stop the screen reader from speaking.
*
* @usage
* ```typescript
* import { MobileAccessibility } from '@awesome-cordova-plugins/mobile-accessibility/ngx';
*
*
* constructor(private mobileAccessibility: MobileAccessibility) { }
*
* ...
*
*
* this.mobileAccessibility.isScreenReaderRunningCallback();
* ```
*/
@Plugin({
pluginName: 'MobileAccessibility',
plugin: 'phonegap-plugin-mobile-accessibility',
pluginRef: 'window.MobileAccessibility',
repo: 'https://github.com/phonegap/phonegap-mobile-accessibility',
install: '',
installVariables: [],
platforms: ['Android', 'iOS', 'Amazon Fire OS'],
})
@Injectable()
export class MobileAccessibility extends AwesomeCordovaNativePlugin {
/**
* This function does something
* @param arg1 {string} Some param to configure something
* @param arg2 {number} Another param to configure something
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
functionName(arg1: string, arg2: number): Promise<any> {
return; // We add return; here to avoid any IDE / Compiler errors
}
MobileAccessibilityNotifications: {
ANNOUNCEMENT: 'ANNOUNCEMENT';
BOLD_TEXT_STATUS_CHANGED: 'BOLD_TEXT_STATUS_CHANGED';
CLOSED_CAPTIONING_STATUS_CHANGED: 'CLOSED_CAPTIONING_STATUS_CHANGED';
DARKER_SYSTEM_COLORS_STATUS_CHANGED: 'DARKER_SYSTEM_COLORS_STATUS_CHANGED';
GRAYSCALE_STATUS_CHANGED: 'GRAYSCALE_STATUS_CHANGED';
GUIDED_ACCESS_STATUS_CHANGED: 'GUIDED_ACCESS_STATUS_CHANGED';
INVERT_COLORS_STATUS_CHANGED: 'INVERT_COLORS_STATUS_CHANGED';
LAYOUT_CHANGED: 'LAYOUT_CHANGED';
MONO_AUDIO_STATUS_CHANGED: 'MONO_AUDIO_STATUS_CHANGED';
PAGE_SCROLLED: 'PAGE_SCROLLED';
REDUCE_MOTION_STATUS_CHANGED: 'REDUCE_MOTION_STATUS_CHANGED';
REDUCE_TRANSPARENCY_STATUS_CHANGED: 'REDUCE_TRANSPARENCY_STATUS_CHANGED';
SCREEN_CHANGED: 'SCREEN_CHANGED';
SCREEN_READER_STATUS_CHANGED: 'SCREEN_READER_STATUS_CHANGED';
SPEAK_SCREEN_STATUS_CHANGED: 'SPEAK_SCREEN_STATUS_CHANGED';
SPEAK_SELECTION_STATUS_CHANGED: 'SPEAK_SELECTION_STATUS_CHANGED';
SWITCH_CONTROL_STATUS_CHANGED: 'SWITCH_CONTROL_STATUS_CHANGED';
TOUCH_EXPLORATION_STATUS_CHANGED: 'TOUCH_EXPLORATION_STATUS_CHANGED';
};
/**
* Makes an asynchronous call to native MobileAccessibility to determine if a screen reader is running.
* @returns {Promise<boolean>} A result method to receive the boolean result asynchronously from the native MobileAccessibility plugin.
*/
@Cordova()
isScreenReaderRunning(): Promise<boolean> {
return;
}
/**
* An iOS-specific proxy for the MobileAccessibility.isScreenReaderRunning method
* @returns {Promise<boolean>} A result method to receive the boolean result asynchronously from the native MobileAccessibility plugin.
*/
@Cordova()
isVoiceOverRunning(): Promise<boolean> {
return;
}
/**
* An Android/Amazon Fire OS-specific proxy for the MobileAccessibility.isScreenReaderRunning method.
* @returns {Promise<boolean>} A result method to receive the boolean result asynchronously from the native MobileAccessibility plugin.
*/
@Cordova()
isTalkBackRunning(): Promise<boolean> {
return;
}
/**
* On Android, this method returns true if ChromeVox is active and properly initialized with access to the text to speech API in the WebView.
* If TalkBack is running but ChromeVox is not active, this method is useful to alert the user of a potential problem.
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isChromeVoxActive(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isBoldTextEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isClosedCaptioningEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isDarkerSystemColorsEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isGrayscaleEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isGuidedAccessEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isInvertColorsEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isMonoAudioEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isReduceMotionEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isReduceTransparencyEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isSpeakScreenEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isSpeakSelectionEnabled(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isSwitchControlRunning(): Promise<boolean> {
return;
}
/**
*
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
isTouchExplorationEnabled(): Promise<boolean> {
return;
}
/**
*
* * @returns {Promise<number>} Returns the result
*/
@Cordova()
getTextZoom(): Promise<number> {
return;
}
/**
* @param textZoom {number} A percentage value by which text in the WebView should be scaled.
*/
@Cordova()
setTextZoom(textZoom: number): void {
return;
}
/**
*
*/
@Cordova()
updateTextZoom(): void {
return;
}
/**
* A Boolean value which specifies whether to use the preferred text zoom of a default percent value of 100.
* @param value {boolean} Returns the result
*/
@Cordova()
usePreferredTextZoom(value: boolean): void {}
/**
* Posts a notification with a string for the screen reader to announce if it is running.
* @param mobileAccessibilityNotification {any}
* @param value {string} A string to be announced by a screen reader.
* @returns {Promise<boolean>} Returns the result
*/
@Cordova()
postNotification(mobileAccessibilityNotification: any, value: string): Promise<boolean> {
return;
}
/**
* Speaks a given string through the screenreader. On Android, if ChromeVox is active, it will use the specified queueMode and properties.
* @param value {string}
* @param queueMode {mumber}
* @param properties {any}
*/
@Cordova()
speak(value: string, queueMode?: number, properties?: any): void {
return;
}
/**
* Stops speech.
*/
@Cordova()
stop(): void {
return;
}
}

View File

@@ -15,6 +15,8 @@ export type Event =
| 'userUpdated'
| 'personalized'
| 'depersonalized'
| 'inAppChat.availabilityUpdated'
| 'inAppChat.unreadMessageCounterUpdated'
| 'deeplink';
export interface CustomEvent {
@@ -32,7 +34,7 @@ export interface Configuration {
/**
* Message storage save callback
*/
messageStorage?: string;
messageStorage?: CustomMessageStorage;
defaultMessageStorage?: boolean;
ios?: {
notificationTypes?: string[]; // ['alert', 'badge', 'sound']
@@ -43,6 +45,15 @@ export interface Configuration {
notificationIcon?: string; // a resource name for a status bar icon (without extension), located in '/platforms/android/app/src/main/res/mipmap'
multipleNotifications?: boolean; // set to 'true' to enable multiple notifications
notificationAccentColor?: string; // set to hex color value in format '#RRGGBB' or '#AARRGGBB'
firebaseOptions?: {
apiKey: string;
applicationId: string;
databaseUrl?: string;
gaTrackingId?: string;
gcmSenderId?: string;
storageBucket?: string;
projectId: string;
};
};
privacySettings?: {
applicationCodePersistingDisabled?: boolean;
@@ -52,10 +63,10 @@ export interface Configuration {
};
notificationCategories?: [
{
identifier?: string;
identifier: string;
actions?: [
{
identifier?: string;
identifier: string;
title?: string;
foreground?: boolean;
authenticationRequired?: boolean;
@@ -71,7 +82,7 @@ export interface Configuration {
}
export interface UserData {
externalUserId: string;
externalUserId?: string;
firstName?: string;
lastName?: string;
middleName?: string;
@@ -117,6 +128,22 @@ export interface PersonalizeContext {
forceDepersonalize?: boolean;
}
export interface GeoData {
area: GeoArea;
}
export interface GeoArea {
id: string;
center: GeoCenter;
radius: number;
title: string;
}
export interface GeoCenter {
lat: number;
lon: number;
}
export interface Message {
messageId: string;
title?: string;
@@ -138,12 +165,14 @@ export interface Message {
browserUrl?: string;
deeplink?: string;
webViewUrl?: string;
inAppOpenTitle?: string | undefined;
inAppDismissTitle?: string;
}
export interface MobileMessagingError {
code: string;
message: string;
description: string;
domain?: string;
}
export interface ChatConfig {
@@ -174,6 +203,62 @@ export class DefaultMessageStorage {
}
}
export class CustomMessageStorage {
/**
* Will be called by the plugin when messages are received and it's time to save them to the storage
*
* @param array of message objects to save to storage
*/
@Cordova({ sync: true })
save(messages: Message[]) {
return;
}
/**
* Will be called by the plugin to find a message by message id
*
* @param callback has to be called on completion with one parameter - found message object
*/
@Cordova({ sync: true })
find(messageId: string, callback: (message: Message) => void) {
return;
}
/**
* Will be called by the plugin to find all messages in the storage
*
* @param callback has to be called on completion with one parameter - an array of available messages
*/
@Cordova({ sync: true })
findAll(callback: (messages: Message[]) => void) {
return;
}
/**
* Will be called by the plugin when its time to initialize the storage
*/
@Cordova({ sync: true })
start() {
return;
}
/**
* Will be called by the plugin when its time to deinitialize the storage
*/
@Cordova({ sync: true })
stop() {
return;
}
}
export interface ChatSettingsIOS {
title: string;
sendButtonColor: string;
navigationBarItemsColor: string;
navigationBarColor: string;
navigationBarTitleColor: string;
}
/**
* @name Mobile Messaging
* @description
@@ -472,4 +557,33 @@ export class MobileMessaging extends AwesomeCordovaNativePlugin {
showChat(config?: ChatConfig): Promise<any> {
return;
}
/**
* Setup chat settings for iOS only
*
* @param settings
*/
@Cordova()
setupiOSChatSettings(settings: ChatSettingsIOS): Promise<any> {
return;
}
/**
* Returns unread in-app chat push messages counter.
* The counter increments each time the application receives in-app chat push message
* (this usually happens when chat screen is inactive or the application is in background/terminated state).
*/
@Cordova({ sync: true })
getMessageCounter(onResult: (counter: number) => void) {
return;
}
/**
* MobileMessaging plugin automatically resets the counter to 0 whenever user opens the in-app chat screen.
* However, use the following API in case you need to manually reset the counter.
*/
@Cordova()
resetMessageCounter() {
return;
}
}

View File

@@ -0,0 +1,319 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
* @name newrelic mobile
* @description
* This NewRelic plugin collect crashes, network traffic, and other information for hybrid apps using native components.
*
* @usage
* ```typescript
* import { NewRelic } from "@awesome-cordova-plugins/newrelic/ngx";
*
*
* constructor(private newrelic: newrelic) { }
*
* ...
*
*
* NewRelic.startInteraction('Getting Data From Server')
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'NewRelic',
plugin: 'newrelic-cordova-plugin', // npm package name, example: cordova-plugin-camera
pluginRef: 'NewRelic', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/newrelic/newrelic-cordova-plugin', // the github repository URL for the plugin
install:
'ionic cordova plugin add https://github.com/newrelic/newrelic-cordova-plugin.git --variable IOS_APP_TOKEN="{ios-app-token}" --variable ANDROID_APP_TOKEN="{android-app-token}"', // OPTIONAL install command, in case the plugin requires variables
installVariables: ['IOS_APP_TOKEN', 'ANDROID_APP_TOKEN'], // OPTIONAL the plugin requires variables
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class NewRelic extends AwesomeCordovaNativePlugin {
/**
* Sets a custom user identifier value to associate mobile user
* @param {string} userId The user identifier string.
*/
@Cordova({
sync: true,
})
setUserId(userId: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Creates a custom attribute with a specified name and value.
* When called, it overwrites its previous value and type.
* The created attribute is shared by multiple Mobile event types.
* @param {string} attributeName Name of the attribute.
* @param {number} value Value of the attribute.
*/
@Cordova({
sync: true,
})
setAttribute(name: string, value: any): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Remove a custom attribute with a specified name and value.
* When called, it removes the attribute specified by the name string.
* The removed attribute is shared by multiple Mobile event types.
* @param {string} name Name of the attribute.
*/
@Cordova({
sync: true,
})
removeAttribute(name: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Creates and records a MobileBreadcrumb event.
* @param {string} eventName The name you want to give to a breadcrumb event.
* @param {Map<string, any>} attributes A map that includes a list of attributes.
*/
@Cordova({
sync: true,
})
recordBreadcrumb(name: string, eventAttributes: Map<string, any>): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Creates and records a custom event, for use in New Relic Insights.
* The event includes a list of attributes, specified as a map.
* @param {string} eventType The type of event.
* @param {string} eventName The name of the event.
* @param {Map<string, any>} attributes A map that includes a list of attributes.
*/
@Cordova({
sync: true,
})
recordCustomEvent(eventType: string, eventName: string, eventAttributes: Map<string, any>): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Track a method as an interaction.
* @param {string} actionName The name of the action.
* @param {function} cb A success callback function.
* @returns {Promise} A promise containing the interactionId.
*/
@Cordova({
sync: true,
})
startInteraction(name: string): Promise<any> {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* End an interaction
* @param {string} interactionId The string ID for the interaction you want to end. This string is returned when you use startInteraction().
*/
@Cordova({
sync: true,
})
endInteraction(name: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Throws a demo run-time exception to test New Relic crash reporting.
* @param {string} message An optional argument attached to the exception.
*/
@Cordova({
sync: true,
})
crashNow(message: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Returns the current session ID as a parameter to the successful callback function.
* This method is useful for consolidating monitoring of app data (not just New Relic data) based on a single session definition and identifier.
* @param {function} cb A success callback function.
* @returns {Promise} A promise containing the current session ID.
*/
@Cordova({
sync: true,
})
currentSessionId(name: string): Promise<any> {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Increments the count of an attribute with a specified name.
* When called, it overwrites its previous value and type each time.
* If attribute does not exist, it creates an attribute with a value of 1.
* The incremented attribute is shared by multiple Mobile event types.
* @param {string} name The name of the attribute.
* @param {number} value Optional argument that increments the attribute by this value.
*/
@Cordova({
sync: true,
})
incrementAttribute(name: string, value: any): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
*
* @param {string} name The name for the custom metric.
* @param {string} category The metric category name.
* @param {number} value Optional. The value of the metric. Value should be a non-zero positive number.
* @param {string} countUnit Optional (but requires value and valueUnit to be set). Unit of measurement for the metric count. Supported values are 'PERCENT', 'BYTES', 'SECONDS', 'BYTES_PER_SECOND', or 'OPERATIONS'.
* @param {string} valueUnit Optional (but requires value and countUnit to be set). Unit of measurement for the metric value. Supported values are 'PERCENT', 'BYTES', 'SECONDS', 'BYTES_PER_SECOND', or 'OPERATIONS'.
*/
@Cordova({
sync: true,
})
recordMetric(name: string, category: any, value: Number, countUnit: string, valueUnit: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Removes all attributes from the session..
*/
@Cordova({
sync: true,
})
removeAllAttributes(): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Sets the maximum size of the event pool stored in memory until the next harvest cycle.
* When the pool size limit is reached, the agent will start sampling events, discarding some new and old, until the pool of events is sent in the next harvest cycle.
* Default is a maximum of 1000 events per event harvest cycle.
* @param {number} maxPoolSize The maximum number of events per harvest cycle.
*/
@Cordova({
sync: true,
})
setMaxEventPoolSize(maxPoolSize: Number): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Sets the event harvest cycle length.
* Default is 600 seconds (10 minutes).
* Minimum value cannot be less than 60 seconds.
* Maximum value should not be greater than 600 seconds.
* @param {number} maxBufferTimeInSeconds The maximum time (in seconds) that the agent should store events in memory.
*/
@Cordova({
sync: true,
})
setMaxEventBufferTime(maxBufferTimeInSeconds: Number): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* FOR ANDROID ONLY.
* Enable or disable collection of event data.
* @param {boolean} enabled Boolean value for enabling analytics events.
*/
@Cordova({
sync: true,
})
analyticsEventEnabled(enabled: Boolean): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Enable or disable reporting sucessful HTTP request to the MobileRequest event type.
* @param {boolean} enabled Boolean value for enable successful HTTP requests.
*/
@Cordova({
sync: true,
})
networkRequestEnabled(enabled: Boolean): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Enable or disable reporting network and HTTP request errors to the MobileRequestError event type.
* @param {boolean} enabled Boolean value for enabling network request errors.
*/
@Cordova({
sync: true,
})
networkErrorRequestEnabled(enabled: Boolean): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Enable or disable capture of HTTP response bodies for HTTP error traces, and MobileRequestError events.
* @param {boolean} enabled Boolean value for enabling HTTP response bodies.
*/
@Cordova({
sync: true,
})
httpRequestBodyCaptureEnabled(enabled: Boolean): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
*
* @param {string} url The URL of the request.
* @param {string} method The HTTP method used, such as GET or POST.
* @param {number} status The statusCode of the HTTP response, such as 200 for OK.
* @param {number} startTime The start time of the request in milliseconds since the epoch.
* @param {number} endTime The end time of the request in milliseconds since the epoch.
* @param {number} bytesSent The number of bytes sent in the request.
* @param {number} bytesReceived The number of bytes received in the response.
* @param {string} body Optional. The response body of the HTTP response. The response body will be truncated and included in an HTTP Error metric if the HTTP transaction is an error.
*/
@Cordova({
sync: true,
})
noticeHttpTransaction(
url: string,
method: string,
status: Number,
startTime: Number,
endTime: Number,
bytesSent: Number,
bytesReceived: Number,
body: string
): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Records network failures.
* If a network request fails, use this method to record details about the failure.
* In most cases, place this call inside exception handlers.
* @param {string} url The URL of the request.
* @param {string} httpMethod The HTTP method used, such as GET or POST.
* @param {number} startTime The start time of the request in milliseconds since the epoch.
* @param {number} endTime The end time of the request in milliseconds since the epoch.
* @param {string} failure The name of the network failure. Possible values are 'Unknown', 'BadURL', 'TimedOut', 'CannotConnectToHost', 'DNSLookupFailed', 'BadServerResponse', 'SecureConnectionFailed'.
*/
@Cordova({
sync: true,
})
noticeNetworkFailure(url: string, method: string, startTime: Number, endTime: Number, failure: string): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* Records JavaScript errors for ionic.
* @param {Error} err The error to report.
*/
@Cordova({
sync: true,
})
recordError(err: Error): void {
return; // We add return; here to avoid any IDE / Compiler errors
}
}

View File

@@ -0,0 +1,68 @@
import { Injectable } from '@angular/core';
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
/**
* @name Power Management
* @description
* The PowerManagement plugin offers access to the devices power-management functionality.
* It should be used for applications which keep running for a long time without any user interaction.
* @usage
* ```
* import { PowerManagement } from '@awesome-cordova-plugins/power-management/ngx';
*
* constructor(private powerManagement: PowerManagement) { }
*
* ...
*
* this.powerManagement.acquire()
* .then(onSuccess)
* .catch(onError);
*
* ```
*/
@Plugin({
pluginName: 'PowerManagement',
plugin: 'cordova-plugin-powermanagement-orig',
pluginRef: 'powerManagement',
repo: 'https://github.com/Viras-/cordova-plugin-powermanagement',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class PowerManagement extends AwesomeCordovaNativePlugin {
/**
* Acquire a wakelock by calling this.
* @returns {Promise<any>}
*/
@Cordova()
acquire(): Promise<any> {
return;
}
/**
* This acquires a partial wakelock, allowing the screen to be dimmed.
* @returns {Promise<any>}
*/
@Cordova()
dim(): Promise<any> {
return;
}
/**
* Release the wakelock. It's important to do this when you're finished with the wakelock, to avoid unnecessary battery drain.
* @returns {Promise<any>}
*/
@Cordova()
release(): Promise<any> {
return;
}
/**
* By default, the plugin will automatically release a wakelock when your app is paused (e.g. when the screen is turned off, or the user switches to another app).
* It will reacquire the wakelock upon app resume. If you would prefer to disable this behaviour, you can use this function.
* @param set {boolean}
* @returns {Promise<any>}
*/
@Cordova()
setReleaseOnPause(set: boolean): Promise<any> {
return;
}
}

View File

@@ -2,22 +2,6 @@ import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
* @deprecated use ATTRIBUTION_NETWORK instead
*
* Enum for attribution networks
* @readonly
* @enum {number}
*/
export enum ATTRIBUTION_NETWORKS {
APPLE_SEARCH_ADS = 0,
ADJUST = 1,
APPSFLYER = 2,
BRANCH = 3,
TENJIN = 4,
FACEBOOK = 5,
}
export enum ATTRIBUTION_NETWORK {
APPLE_SEARCH_ADS = 0,
ADJUST = 1,
@@ -71,18 +55,6 @@ export enum BILLING_FEATURE {
PRICE_CHANGE_CONFIRMATION,
}
/**
* @deprecated use PURCHASE_TYPE instead
*
* Enum for attribution networks
* @readonly
* @enum {string}
*/
export enum ProductType {
SUBS = 'subs',
INAPP = 'inapp',
}
export enum PRORATION_MODE {
UNKNOWN_SUBSCRIPTION_UPGRADE_DOWNGRADE_POLICY = 0,
@@ -172,6 +144,10 @@ export enum INTRO_ELIGIBILITY_STATUS {
* The user is eligible for a free trial or intro pricing for this product.
*/
INTRO_ELIGIBILITY_STATUS_ELIGIBLE,
/**
* There is no free trial or intro pricing for this product.
*/
INTRO_ELIGIBILITY_STATUS_NO_INTRO_OFFER_EXISTS,
}
/**
@@ -211,7 +187,7 @@ export enum INTRO_ELIGIBILITY_STATUS {
* constructor(public platform: Platform, private purchases: Purchases) {
* platform.ready().then(() => {
* this.purchases.setDebugLogsEnabled(true); // Enable to get debug logs
* this.purchases.setup("my_api_key", "my_app_user_id");
* this.purchases.configure("my_api_key", "my_app_user_id");
* }
* }
* ```
@@ -229,15 +205,15 @@ export enum INTRO_ELIGIBILITY_STATUS {
* PurchasesOfferings
* PurchasesOffering
* PurchasesPackage
* PurchasesProduct
* PurchaserInfo
* PurchasesStoreProduct
* CustomerInfo
* PurchasesEntitlementInfos
* PurchasesEntitlementInfo
* PurchasesTransaction
* PurchasesStoreTransaction
*/
@Plugin({
pluginName: 'Purchases',
plugin: 'cordova-plugin-purchases@2.3.0',
plugin: 'cordova-plugin-purchases@3.2.1',
pluginRef: 'Purchases', // the variable reference to call the plugin, example: navigator.geolocation
repo: 'https://github.com/RevenueCat/cordova-plugin-purchases', // the github repository URL for the plugin
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
@@ -246,7 +222,6 @@ export enum INTRO_ELIGIBILITY_STATUS {
providedIn: 'root',
})
export class Purchases extends AwesomeCordovaNativePlugin {
static ATTRIBUTION_NETWORKS = ATTRIBUTION_NETWORK;
/**
* Enum for attribution networks
*
@@ -295,6 +270,8 @@ export class Purchases extends AwesomeCordovaNativePlugin {
static INTRO_ELIGIBILITY_STATUS = INTRO_ELIGIBILITY_STATUS;
/**
* @deprecated Use {@link configureWith} instead. It accepts a {@link PurchasesConfiguration} object which offers more flexibility.
*
* Sets up Purchases with your API key and an app user id.
*
* @param {string} apiKey RevenueCat API Key. Needs to be a String
@@ -307,28 +284,14 @@ export class Purchases extends AwesomeCordovaNativePlugin {
* suite, otherwise it will use standardUserDefaults. Default is null, which will make the SDK use standardUserDefaults.
*/
@Cordova({ sync: true })
setup(apiKey: string, appUserID?: string | null, observerMode = false, userDefaultsSuiteName?: string): void {}
configure(apiKey: string, appUserID?: string | null, observerMode = false, userDefaultsSuiteName?: string): void {}
/**
* Set this to true if you are passing in an appUserID but it is anonymous, this is true by default if you didn't pass an appUserID
* If a user tries to purchase a product that is active on the current app store account, we will treat it as a restore and alias
* the new ID with the previous id.
*
* @param allowSharing {boolean} true if enabled, false to disabled
* Sets up Purchases with your API key and an app user id.
* @param {PurchasesConfiguration} Object containing configuration parameters
*/
@Cordova({ sync: true })
setAllowSharingStoreAccount(allowSharing: boolean): void {}
/**
* Add a dict of attribution information
*
* @deprecated Use the set<NetworkId> functions instead.
* @param {object} data Attribution data from any of the attribution networks in Purchases.ATTRIBUTION_NETWORKS
* @param {ATTRIBUTION_NETWORK} network Which network, see Purchases.ATTRIBUTION_NETWORK
* @param {string?} networkUserId An optional unique id for identifying the user. Needs to be a string.
*/
@Cordova({ sync: true })
addAttributionData(data: { [key: string]: any }, network: ATTRIBUTION_NETWORK, networkUserId?: string): void {}
configureWith({ apiKey, appUserID, observerMode, userDefaultsSuiteName, useAmazon }: PurchasesConfiguration): void {}
/**
* Gets the Offerings configured in the dashboard
@@ -345,22 +308,19 @@ export class Purchases extends AwesomeCordovaNativePlugin {
*
* @param {string[]} productIdentifiers Array of product identifiers
* @param {PURCHASE_TYPE} type Optional type of products to fetch, can be inapp or subs. Subs by default
* @returns {Promise<PurchasesProduct[]>} Will return a [PurchasesError] if the products are not properly configured in RevenueCat or if there is another error retrieving them.
* @returns {Promise<PurchasesStoreProduct[]>} Will return a [PurchasesError] if the products are not properly configured in RevenueCat or if there is another error retrieving them.
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
getProducts(productIdentifiers: string[], type: PURCHASE_TYPE = PURCHASE_TYPE.SUBS): Promise<PurchasesProduct[]> {
getProducts(
productIdentifiers: string[],
type: PURCHASE_TYPE = PURCHASE_TYPE.SUBS
): Promise<PurchasesStoreProduct[]> {
return;
}
/**
* @typedef {Object} MakePurchaseResponse
* @property {string} productIdentifier - The product identifier that has been purchased
* @property {PurchaserInfo} purchaserInfo - The new PurchaserInfo after the successful purchase
*/
/**
* Make a purchase
*
@@ -379,7 +339,7 @@ export class Purchases extends AwesomeCordovaNativePlugin {
productIdentifier: string,
upgradeInfo?: UpgradeInfo | null,
type: PURCHASE_TYPE = PURCHASE_TYPE.SUBS
): Promise<{ productIdentifier: string; purchaserInfo: PurchaserInfo }> {
): Promise<{ productIdentifier: string; customerInfo: CustomerInfo }> {
return;
}
@@ -399,17 +359,17 @@ export class Purchases extends AwesomeCordovaNativePlugin {
purchasePackage(
aPackage: PurchasesPackage,
upgradeInfo?: UpgradeInfo | null
): Promise<{ productIdentifier: string; purchaserInfo: PurchaserInfo }> {
): Promise<{ productIdentifier: string; customerInfo: CustomerInfo }> {
return;
}
/**
* Restores a user's previous purchases and links their appUserIDs to any user's also using those purchases.
*
* @returns {Promise<PurchaserInfo>} Errors are of type [PurchasesError]
* @returns {Promise<CustomerInfo>} Errors are of type [PurchasesError]
*/
@Cordova()
restoreTransactions(): Promise<PurchaserInfo> {
restorePurchases(): Promise<CustomerInfo> {
return;
}
@@ -428,7 +388,7 @@ export class Purchases extends AwesomeCordovaNativePlugin {
* to identify a user without calling configure.
*
* @param {string} appUserID The appUserID that should be linked to the currently user
* @returns {Promise<LogInResult>} an object that contains the purchaserInfo after logging in, as well as a boolean indicating
* @returns {Promise<LogInResult>} an object that contains the customerInfo after logging in, as well as a boolean indicating
* whether the user has just been created for the first time in the RevenueCat backend.
*/
@Cordova()
@@ -440,45 +400,10 @@ export class Purchases extends AwesomeCordovaNativePlugin {
* Logs out the Purchases client clearing the saved appUserID. This will generate a random user id and save it in the cache.
* If the current user is already anonymous, this will produce a PurchasesError.
*
* @returns {Promise<PurchaserInfo>} new purchaser info after resetting.
* @returns {Promise<CustomerInfo>} new purchaser info after resetting.
*/
@Cordova()
logOut(): Promise<PurchaserInfo> {
return;
}
/**
* @deprecated, use logIn instead.
* This function will alias two appUserIDs together.
* @param newAppUserID {String} The new appUserID that should be linked to the currently identified appUserID. Needs to be a string.
* @returns {Promise<PurchaserInfo>} Errors are of type [PurchasesError] and get normally triggered if there
* is an error retrieving the new purchaser info for the new user or if there is an error creating the alias.
*/
@Cordova()
createAlias(newAppUserID: string): Promise<PurchaserInfo> {
return;
}
/**
* @deprecated, use logIn instead.
* This function will identify the current user with an appUserID. Typically this would be used after a logout to identify a new user without calling configure
* @param newAppUserID {String} The new appUserID that should be linked to the currently identified appUserID. Needs to be a string.
* @returns {Promise<PurchaserInfo>} Errors are of type [PurchasesError] and get normally triggered if there
* is an error retrieving the new purchaser info for the new user.
*/
@Cordova()
identify(newAppUserID: string): Promise<PurchaserInfo> {
return;
}
/**
* @deprecated, use logOut instead.
* Resets the Purchases client clearing the saved appUserID. This will generate a random user id and save it in the cache.
* @returns {Promise<PurchaserInfo>} Errors are of type [PurchasesError] and get normally triggered if there
* is an error retrieving the new purchaser info for the new user.
*/
@Cordova()
reset(): Promise<PurchaserInfo> {
logOut(): Promise<CustomerInfo> {
return;
}
@@ -486,25 +411,25 @@ export class Purchases extends AwesomeCordovaNativePlugin {
* Gets the current purchaser info. This call will return the cached purchaser info unless the cache is stale, in which case,
* it will make a network call to retrieve it from the servers.
*
* @returns {Promise<PurchaserInfo>} Errors are of type [PurchasesError] and get normally triggered if there
* @returns {Promise<CustomerInfo>} Errors are of type [PurchasesError] and get normally triggered if there
* is an error retrieving the purchaser info.
*/
@Cordova()
getPurchaserInfo(): Promise<PurchaserInfo> {
getCustomerInfo(): Promise<CustomerInfo> {
return;
}
/**
* Returns an observable that can be used to receive updates on the purchaser info
*
* @returns {Observable<PurchaserInfo>}
* @returns {Observable<CustomerInfo>}
*/
@Cordova({
eventObservable: true,
event: 'onPurchaserInfoUpdated',
event: 'onCustomerInfoUpdated',
element: 'window',
})
onPurchaserInfoUpdated(): Observable<PurchaserInfo> {
onCustomerInfoUpdated(): Observable<CustomerInfo> {
return;
}
@@ -542,6 +467,12 @@ export class Purchases extends AwesomeCordovaNativePlugin {
@Cordova({ sync: true })
setAutomaticAppleSearchAdsAttributionCollection(enabled: boolean): void {}
/**
* Enable automatic collection of Apple Search Ads attribution using AdServices. Disabled by default.
*/
@Cordova({ sync: true })
enableAdServicesAttributionTokenCollection(): void {}
/**
* @returns {Promise<boolean>} A boolean indicating if the `appUserID` has been generated
* by RevenueCat or not.
@@ -596,17 +527,17 @@ export class Purchases extends AwesomeCordovaNativePlugin {
}
/**
* Invalidates the cache for purchaser information.
* Invalidates the cache for customer information.
*
* Most apps will not need to use this method; invalidating the cache can leave your app in an invalid state.
* Refer to https://docs.revenuecat.com/docs/purchaserinfo#section-get-user-information for more information on
* Refer to https://docs.revenuecat.com/docs/customer-info#section-get-user-information for more information on
* using the cache properly.
*
* This is useful for cases where purchaser information might have been updated outside of the
* This is useful for cases where customer information might have been updated outside of the
* app, like if a promotional subscription is granted through the RevenueCat dashboard.
*/
@Cordova({ sync: true })
invalidatePurchaserInfoCache(): void {}
invalidateCustomerInfoCache(): void {}
/**
* iOS only. Presents a code redemption sheet, useful for redeeming offer codes
@@ -661,6 +592,87 @@ export class Purchases extends AwesomeCordovaNativePlugin {
@Cordova({ sync: true })
setPushToken(pushToken: string | null): void {}
/**
* Subscriber attribute associated with the Adjust Id for the user
* Required for the RevenueCat Adjust integration
*
* @param adjustID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setAdjustID(adjustID: string | null): void {}
/**
* Subscriber attribute associated with the AppsFlyer Id for the user
* Required for the RevenueCat AppsFlyer integration
*
* @param appsflyerID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setAppsflyerID(appsflyerID: string | null): void {}
/**
* Subscriber attribute associated with the Facebook SDK Anonymous Id for the user
* Recommended for the RevenueCat Facebook integration
*
* @param fbAnonymousID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setFBAnonymousID(fbAnonymousID: string | null): void {}
/**
* Subscriber attribute associated with the mParticle Id for the user
* Recommended for the RevenueCat mParticle integration
*
* @param mparticleID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setMparticleID(mparticleID: string | null): void {}
/**
* Subscriber attribute associated with the OneSignal Player Id for the user
* Required for the RevenueCat OneSignal integration
*
* @param onesignalID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setOnesignalID(onesignalID: string | null): void {}
/**
* Subscriber attribute associated with the Airship Channel Id for the user
* Required for the RevenueCat Airship integration
*
* @param airshipChannelID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setAirshipChannelID(airshipChannelID: string | null): void {}
/**
* Subscriber attribute associated with the Firebase App Instance ID for the user
* Required for the RevenueCat Firebase integration
*
* @param firebaseAppInstanceID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setFirebaseAppInstanceID(firebaseAppInstanceID: string | null): void {}
/**
* Subscriber attribute associated with the Mixpanel Distinct ID for the user
* Required for the RevenueCat Mixpanel integration
*
* @param mixpanelDistinctID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setMixpanelDistinctID(mixpanelDistinctID: string | null): void {}
/**
* Subscriber attribute associated with the CleverTap ID for the user
* Required for the RevenueCat CleverTap integration
*
* @param cleverTapID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setCleverTapID(cleverTapID: string | null): void {}
/**
* Subscriber attribute associated with the install media source for the user
*
@@ -709,51 +721,6 @@ export class Purchases extends AwesomeCordovaNativePlugin {
@Cordova({ sync: true })
setCreative(creative: string | null): void {}
/**
* Subscriber attribute associated with the Adjust Id for the user
* Required for the RevenueCat Adjust integration
*
* @param adjustID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setAdjustID(adjustID: string | null): void {}
/**
* Subscriber attribute associated with the AppsFlyer Id for the user
* Required for the RevenueCat AppsFlyer integration
*
* @param appsflyerID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setAppsflyerID(appsflyerID: string | null): void {}
/**
* Subscriber attribute associated with the Facebook SDK Anonymous Id for the user
* Recommended for the RevenueCat Facebook integration
*
* @param fbAnonymousID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setFBAnonymousID(fbAnonymousID: string | null): void {}
/**
* Subscriber attribute associated with the mParticle Id for the user
* Recommended for the RevenueCat mParticle integration
*
* @param mparticleID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setMparticleID(mparticleID: string | null): void {}
/**
* Subscriber attribute associated with the OneSignal Player Id for the user
* Required for the RevenueCat OneSignal integration
*
* @param onesignalID Empty String or null will delete the subscriber attribute.
*/
@Cordova({ sync: true })
setOnesignalID(onesignalID: string | null): void {}
/**
* Automatically collect subscriber attributes associated with the device identifiers.
* $idfa, $idfv, $ip on iOS
@@ -769,9 +736,8 @@ export class Purchases extends AwesomeCordovaNativePlugin {
* Note: Billing features are only relevant to Google Play Android users.
* For other stores and platforms, billing features won't be checked.
*
* @param feature An array of feature types to check for support. Feature types must be one of
* @param features An array of feature types to check for support. Feature types must be one of
* [BILLING_FEATURE]. By default, is an empty list and no specific feature support will be checked.
* @param features
* @returns {Promise<boolean>} Or [PurchasesError] if there is an error.
*/
@Cordova()
@@ -787,21 +753,6 @@ export class Purchases extends AwesomeCordovaNativePlugin {
@Cordova({ sync: true })
setProxyURL(url: string): void {}
}
/**
* @deprecated use PurchasesProduct instead
*/
export interface RCProduct {}
/**
* @deprecated use PurchaserInfo instead
*/
export interface RCPurchaserInfo {}
/**
* @deprecated use PurchasesError instead
*/
export interface RCError {}
/**
* The EntitlementInfo object gives you access to all of the information about the status of a user entitlement.
*/
@@ -875,11 +826,38 @@ export interface PurchasesEntitlementInfos {
* Map of active EntitlementInfo (`PurchasesEntitlementInfo`) objects keyed by entitlement identifier.
*/
readonly active: { [key: string]: PurchasesEntitlementInfo };
/**
* Dictionary of active ``EntitlementInfo`` objects keyed by their identifiers.
* @ Note: When queried from the sandbox environment, it only returns entitlements active in sandbox.
* When queried from production, this only returns entitlements active in production.
*/
readonly activeInCurrentEnvironment: { [key: string]: PurchasesEntitlementInfo };
/**
* Dictionary of active ``EntitlementInfo`` objects keyed by their identifiers.
*
* @note: these can be active on any environment.
*/
readonly activeInAnyEnvironment: { [key: string]: PurchasesEntitlementInfo };
}
export interface PurchaserInfo {
export interface PurchasesStoreTransaction {
/**
* Entitlements attached to this purchaser info
* RevenueCat Id associated to the transaction.
*/
readonly transactionIdentifier: string;
/**
* Product Id associated with the transaction.
*/
readonly productIdentifier: string;
/**
* Purchase date of the transaction in ISO 8601 format.
*/
readonly purchaseDate: string;
}
export interface CustomerInfo {
/**
* Entitlements attached to this customer info
*/
readonly entitlements: PurchasesEntitlementInfos;
/**
@@ -894,7 +872,7 @@ export interface PurchaserInfo {
* Returns all the non-subscription purchases a user has made.
* The purchases are ordered by purchase date in ascending order.
*/
readonly nonSubscriptionTransactions: PurchasesTransaction[];
readonly nonSubscriptionTransactions: PurchasesStoreTransaction[];
/**
* The latest expiration date of all purchased skus
*/
@@ -943,22 +921,65 @@ export interface PurchaserInfo {
readonly managementURL: string | null;
}
export interface PurchasesTransaction {
export interface PurchasesIntroPrice {
/**
* RevenueCat Id associated to the transaction.
* Price in the local currency.
*/
readonly revenueCatId: string;
readonly price: number;
/**
* Product Id associated with the transaction.
* Formatted price, including its currency sign, such as €3.99.
*/
readonly productId: string;
readonly priceString: string;
/**
* Purchase date of the transaction in ISO 8601 format.
* Number of subscription billing periods for which the user will be given the discount, such as 3.
*/
readonly purchaseDate: string;
readonly cycles: number;
/**
* Billing period of the discount, specified in ISO 8601 format.
*/
readonly period: string;
/**
* Unit for the billing period of the discount, can be DAY, WEEK, MONTH or YEAR.
*/
readonly periodUnit: string;
/**
* Number of units for the billing period of the discount.
*/
readonly periodNumberOfUnits: number;
}
export interface PurchasesProduct {
export interface PurchasesStoreProductDiscount {
/**
* Identifier of the discount.
*/
readonly identifier: string;
/**
* Price in the local currency.
*/
readonly price: number;
/**
* Formatted price, including its currency sign, such as €3.99.
*/
readonly priceString: string;
/**
* Number of subscription billing periods for which the user will be given the discount, such as 3.
*/
readonly cycles: number;
/**
* Billing period of the discount, specified in ISO 8601 format.
*/
readonly period: string;
/**
* Unit for the billing period of the discount, can be DAY, WEEK, MONTH or YEAR.
*/
readonly periodUnit: string;
/**
* Number of units for the billing period of the discount.
*/
readonly periodNumberOfUnits: number;
}
export interface PurchasesStoreProduct {
/**
* Product Id.
*/
@@ -978,35 +999,19 @@ export interface PurchasesProduct {
/**
* Formatted price of the item, including its currency sign, such as €3.99.
*/
readonly price_string: string;
readonly priceString: string;
/**
* Currency code for price and original price.
*/
readonly currency_code: string;
readonly currencyCode: string;
/**
* Introductory price of a subscription in the local currency.
* Introductory price.
*/
readonly intro_price: number | null;
readonly introPrice: PurchasesIntroPrice | null;
/**
* Formatted introductory price of a subscription, including its currency sign, such as €3.99.
* Collection of discount offers for a product. Null for Android.
*/
readonly intro_price_string: string | null;
/**
* Billing period of the introductory price, specified in ISO 8601 format.
*/
readonly intro_price_period: string | null;
/**
* Number of subscription billing periods for which the user will be given the introductory price, such as 3.
*/
readonly intro_price_cycles: number | null;
/**
* Unit for the billing period of the introductory price, can be DAY, WEEK, MONTH or YEAR.
*/
readonly intro_price_period_unit: string | null;
/**
* Number of units for the billing period of the introductory price.
*/
readonly intro_price_period_number_of_units: number | null;
readonly discounts: PurchasesStoreProductDiscount[] | null;
}
/**
@@ -1025,7 +1030,7 @@ export interface PurchasesPackage {
/**
* Product assigned to this package.
*/
readonly product: PurchasesProduct;
readonly product: PurchasesStoreProduct;
/**
* Offering this package belongs to.
*/
@@ -1134,13 +1139,43 @@ export interface IntroEligibility {
*/
export interface LogInResult {
/**
* The Purchaser Info for the user.
* The Customer Info for the user.
*/
readonly purchaserInfo: PurchaserInfo;
readonly customerInfo: CustomerInfo;
/**
* True if the call resulted in a new user getting created in the RevenueCat backend.
*/
readonly created: boolean;
}
/**
* Holds parameters to initialize the SDK.
*/
export interface PurchasesConfiguration {
/**
* RevenueCat API Key. Needs to be a string
*/
apiKey: string;
/**
* A unique id for identifying the user
*/
appUserID?: string | null;
/**
* An optional boolean. Set this to TRUE if you have your own IAP implementation and
* want to use only RevenueCat's backend. Default is FALSE. If you are on Android and setting this to ON, you will have
* to acknowledge the purchases yourself.
*/
observerMode?: boolean;
/**
* An optional string. iOS-only, will be ignored for Android.
* Set this if you would like the RevenueCat SDK to store its preferences in a different NSUserDefaults
* suite, otherwise it will use standardUserDefaults. Default is null, which will make the SDK use standardUserDefaults.
*/
userDefaultsSuiteName?: string;
/**
* An optional boolean. Android only. Required to configure the plugin to be used in the Amazon Appstore.
*/
useAmazon?: boolean;
}
export type ShouldPurchasePromoProductListener = (deferredPurchase: () => void) => void;

View File

@@ -7,7 +7,7 @@ import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-pl
* This plugin retrives the SMS which arrive without requiring READ permissions.
* @usage
* ```typescript
* import { SmsRetriever } from '@awesome-cordova-plugins/sms-retriever';
* import { SmsRetriever } from '@awesome-cordova-plugins/sms-retriever/ngx';
*
*
* constructor(private smsRetriever: SmsRetriever) { }
@@ -41,7 +41,7 @@ export class SmsRetriever extends AwesomeCordovaNativePlugin {
* @returns {Promise<string>} Returns a promise that resolves when retrives SMS text or TIMEOUT after 5 min.
*/
@Cordova()
startWatching(): Promise<string> {
startWatching(): Promise<{ Message: string }> {
return;
}

View File

@@ -74,7 +74,7 @@ export class SocialSharing extends AwesomeCordovaNativePlugin {
shareWithOptions(options: {
message?: string;
subject?: string;
files?: string | string[];
files?: string[];
url?: string;
chooserTitle?: string;
}): Promise<any> {

View File

@@ -634,7 +634,7 @@ export type CommandsArray = Array<PrintCommand>;
* ...
*
*
* this.starprnt.portDiscovery('all')
* this.starprnt.portDiscovery('All')
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
@@ -880,7 +880,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} Success! if printed correctly or error message string returned by the SDK.
*/
@Cordova()
printRawText(port: string, emulation: string, printObj: PrintObj): Promise<any> {
printRawText(port: string|null, emulation: string, printObj: PrintObj): Promise<any> {
return;
}
@@ -893,7 +893,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} Success! if printed correctly or error message string returned by the SDK.
*/
@Cordova()
printRasterReceipt(port: string, emulation: string, rasterObj: RasterObj): Promise<any> {
printRasterReceipt(port: string|null, emulation: string, rasterObj: RasterObj): Promise<any> {
return;
}
@@ -906,7 +906,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} Success! if printed correctly or error message string returned by the SDK.
*/
@Cordova()
printImage(port: string, emulation: string, imageObj: ImageObj): Promise<any> {
printImage(port: string|null, emulation: string, imageObj: ImageObj): Promise<any> {
return;
}
@@ -918,7 +918,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} Success! if opened or error message string returned by the SDK.
*/
@Cordova()
openCashDrawer(port: string, emulation: string): Promise<any> {
openCashDrawer(port: string|null, emulation: string): Promise<any> {
return;
}
@@ -931,7 +931,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>} Success! if printed correctly or error message string returned by the SDK.
*/
@Cordova()
print(port: string, emulation: string, commandsArray: CommandsArray): Promise<any> {
print(port: string|null, emulation: string, commandsArray: CommandsArray): Promise<any> {
return;
}

View File

@@ -111,7 +111,7 @@ export class SumUpKeys {
* .then((res: SumUpResponse) => console.log(res))
* .catch((error: SumUpResponse) => console.error(error));
*
* this.sumUp.pay(10.0, 'EUR')
* this.sumUp.pay(10.0, 'Transaction title', 'EUR')
* .then((res: SumUpPayment) => console.log(res))
* .catch((error: SumUpPayment) => console.error(error));
*
@@ -203,16 +203,38 @@ export class SumUp extends AwesomeCordovaNativePlugin {
return;
}
/**
* Will setup the SumUP SDK.
* This action is required before using other functions.
*
* @returns {Promise<SumUpResponse>} Return a SumUpResponse object
*/
@Cordova()
setup(): Promise<SumUpResponse> {
return;
}
/**
* Test the SumUp integration using SDK tests.
*
* @returns {Promise<SumUpResponse>} Return a SumUpResponse object
*/
@Cordova()
test(): Promise<SumUpResponse> {
return;
}
/**
* Opens a native SumUp window to proceed a payment. Parameter amount and currencycode are required.
* If the Payment was successful it returns an SumUpPayment object with information about the payment.
*
* @param amount {number}
* @param currencycode {string}
* @param title {string}
* @param currencyCode {string}
* @returns {Promise<SumUpResponse>} Return a SumUpResponse object
*/
@Cordova()
pay(amount: number, currencycode: string): Promise<SumUpPayment> {
pay(amount: number, title?: string, currencyCode?: string): Promise<SumUpPayment> {
return;
}
}

View File

@@ -1,229 +1,372 @@
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
AwesomeCordovaNativePlugin,
} from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface TealConfig {
/**
* Your Tealium account name
*/
export enum Collectors {
AppData = 'AppData',
Connectivity = 'Connectivity',
DeviceData = 'DeviceData',
Lifecycle = 'Lifecycle',
}
export enum Dispatchers {
Collect = 'Collect',
TagManagement = 'TagManagement',
RemoteCommands = 'RemoteCommands',
}
export enum Expiry {
forever = 'forever',
untilRestart = 'untilRestart',
session = 'session',
}
export enum ConsentPolicy {
ccpa = 'ccpa',
gdpr = 'gdpr',
}
export interface TealiumDispatch {
dataLayer: Map<string, any>;
type: string;
toJson(): string;
}
export class TealiumView implements TealiumDispatch {
public type = 'view';
constructor(public viewName: string, public dataLayer: Map<string, any>) {}
toJson() {
const dictionary: any = {};
dictionary['type'] = this.type;
dictionary['dataLayer'] = {};
this.dataLayer.forEach((k, v) => {
dictionary['dataLayer'][k] = v;
});
dictionary['type'] = this.type;
dictionary['viewName'] = this.viewName;
return JSON.stringify(dictionary);
}
}
export class TealiumEvent implements TealiumDispatch {
public type = 'event';
constructor(public eventName: string, public dataLayer: Map<string, any>) {}
toJson() {
const dictionary: any = {};
dictionary['type'] = this.type;
dictionary['dataLayer'] = {};
this.dataLayer.forEach((k, v) => {
dictionary['dataLayer'][k] = v;
});
dictionary['type'] = this.type;
dictionary['eventName'] = this.eventName;
return JSON.stringify(dictionary);
}
}
export class ConsentExpiry {
constructor(public time: number, public unit: TimeUnit) {}
}
export enum TimeUnit {
minutes = 'minutes',
hours = 'hours',
days = 'days',
months = 'months',
}
export enum ConsentStatus {
consented = 'consented',
notConsented = 'notConsented',
unknown = 'unknown',
}
export enum LogLevel {
dev = 'dev',
qa = 'qa',
prod = 'prod',
silent = 'silent',
}
export enum TealiumEnvironment {
dev = 'dev',
qa = 'qa',
prod = 'prod',
}
export enum ConsentCategories {
analytics = 'analytics',
affiliates = 'affiliates',
displayAds = 'display_ads',
email = 'email',
personalization = 'personalization',
search = 'search',
social = 'social',
bigData = 'big_data',
mobile = 'mobile',
engagement = 'engagement',
monitoring = 'monitoring',
crm = 'crm',
cdp = 'cdp',
cookieMatch = 'cookiematch',
misc = 'misc',
}
export interface TealiumConfig {
account: string;
/**
* Your Tealium profile name
*/
profile: string;
/**
* Your Tealium environment name (dev, qa, prod)
*/
environment: string;
/**
* Arbitrary instance name string. Must be consistent for all calls to Tealium API.
*/
instance: string;
/**
* Enables ("true") or disables ("false") lifecycle reporting. Default true if omitted.
*/
isLifecycleEnabled?: string;
/**
* Not usually required. Sets a custom URL override for dispatches to UDH.
*/
collectDispatchURL?: string;
/**
* Your Tealium UDH profile. Only active if you do not have collectDispatchURL set.
*/
collectDispatchProfile?: string;
/**
* Enables ("true") or disables ("false") Crash Reporter module for Android. Default false if omitted.
*/
isCrashReporterEnabled?: string;
environment: TealiumEnvironment;
dataSource?: string;
collectors: Collectors[];
dispatchers: Dispatchers[];
customVisitorId?: string;
memoryReportingEnabled?: boolean;
overrideCollectURL?: string;
overrideCollectBatchURL?: string;
overrideCollectDomain?: string;
overrideLibrarySettingsURL?: string;
overrideTagManagementURL?: string;
deepLinkTrackingEnabled?: boolean;
qrTraceEnabled?: boolean;
loglevel?: LogLevel;
consentLoggingEnabled?: boolean;
consentPolicy?: ConsentPolicy;
consentExpiry?: ConsentExpiry;
lifecycleAutotrackingEnabled?: boolean;
useRemoteLibrarySettings?: boolean;
visitorServiceEnabled?: boolean;
visitorServiceRefreshInterval?: string;
}
/**
* @paid
* @name Tealium
* @description
* This plugin provides a TypeScript wrapper around the [Tealium](https://www.tealium.com) Cordova plugin for Ionic Native.
* This plugin does provides a wrapper around the Tealium Cordova Plugin for Ionic Native.
*
* For full documentation, see [https://docs.tealium.com/platforms/cordova/](https://docs.tealium.com/platforms/cordova/)
*
* For full documentation, see [https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618](https://community.tealiumiq.com/t5/Mobile-Libraries/Tealium-for-Cordova/ta-p/17618)
* @usage
* ```
* import { Tealium, TealConfig } from '@awesome-cordova-plugins/tealium/ngx';
* ```typescript
* import { Tealium } from '@awesome-cordova-plugins/tealium/ngx';
*
*
* constructor(private tealium: Tealium) { }
*
* ...
*
* let tealConfig: TealConfig = {
* account: "<your-account>",
* profile: "<your-profile>",
* environment: "<your-environment>", // usually "dev", "qa" or "prod"
* isLifecycleEnabled: "true", // pass "false" to disable lifecycle tracking
* isCrashReporterEnabled: "false", // pass "true" to enable crash reporter (Android only)
* instance: "<your-instance-name" // an arbitrary instance name. use the same instance name for all subsequent API calls
* }
* let config: TealiumConfig = {
* account: <your_tealium_account>,
* profile: <your_tealium_profile>,
* environment: TealiumEnvironment.dev,
* dispatchers: [Dispatchers.Collect, Dispatchers.RemoteCommands, Dispatchers.TagManagement],
* collectors: [Collectors.AppData, Collectors.DeviceData, Collectors.Lifecycle, Collectors.Connectivity],
* consentLoggingEnabled: true,
* consentPolicy: ConsentPolicy.gdpr,
* visitorServiceEnabled: true,
* // visitorServiceRefreshInterval: '1',
* consentExpiry: new ConsentExpiry(3, TimeUnit.minutes),
* };
*
* this.tealium.init(tealConfig).then(()=>{
* this.tealium.trackView({"screen_name": "homescreen"});
* });
* Tealium.initialize(config);
*
* ```
* @interfaces
* TealConfig
*/
@Plugin({
pluginName: 'Tealium',
plugin: 'tealium-cordova-plugin', // npm package name, example: cordova-plugin-camera
pluginRef: 'window.tealium', // the variable reference to call the plugin, example: navigator.geolocation
plugin: 'tealium-cordova-plugin', // npm package name
pluginRef: 'tealium', // the variable reference to call the plugin
repo: 'https://github.com/Tealium/cordova-plugin', // the github repository URL for the plugin
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
install: '', // OPTIONAL install command, in case the plugin requires variables
installVariables: [], // OPTIONAL the plugin requires variables
platforms: ['Android', 'iOS'], // Array of platforms supported
})
@Injectable()
export class Tealium extends AwesomeCordovaNativePlugin {
/**
* This function initializes the Tealium Cordova plugin.
* This should usually be done inside the "deviceReady" handler.
*
* @param config {TealConfig}
* @returns {Promise<any>} Returns a promise that resolves when something happens
* This function initializes the Tealium Cordova Plugin
* @param config {TealiumConfig}
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
init(config: TealConfig): Promise<any> {
initialize(config: TealiumConfig, callback?: Function): Promise<any> {
return; // We add return; here to avoid any IDE / Compiler errors
}
/**
* This function tracks a view event in the Tealium Cordova plugin
*
* @param dataObject {any} The JSON data object containing your key-value pairs
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* This function tracks an event
* @param dispatch {TealiumDispatch} Dispatch containing event data
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
trackView(dataObject: any, instanceName: string): Promise<any> {
track(dispatch: TealiumDispatch): Promise<any> {
return;
}
/**
* This function tracks a link event in the Tealium Cordova plugin
*
* @param dataObject {any} The JSON data object containing your key-value pairs
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* This function terminatest the Tealium instance
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
trackEvent(dataObject: any, instanceName: string): Promise<any> {
terminateInstance(): Promise<any> {
return;
}
/**
* This function tracks a custom event in the Tealium Cordova plugin
*
* @param eventType {string} The event type, link or view
* @param dataObject {any} The JSON data object containing your key-value pairs
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Adds data to data layer
* @param data A map containing the key-value pairs to be added to data layer
* @param expiry When the data should expire. Choose `Expiry.session` if unsure.
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
track(eventType: string, dataObject: any, instanceName: string): Promise<any> {
addData(data: Map<string, any>, expiry: string): Promise<any> {
return;
}
/**
* This function adds data to the Tealium persistent data store
*
* @param keyName {string} The key name that this data will be stored under for later retrieval
* @param value {any} The value to be stored as persistent data
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* @param key The key of the data to retrieve from the data layer
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
addPersistent(keyName: string, value: string | string[] | any, instanceName: string): Promise<any> {
getData(key: string, callback?: Function): Promise<any> {
return;
}
/**
* This function adds data to the Tealium volatile data store
*
* @param keyName {string} The key name that this data will be stored under for later retrieval
* @param value {any} The value to be stored as volatile data
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Removes data from the data layer
* @param keys The keys of the data to be removed
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
addVolatile(keyName: string, value: string | string[], instanceName: string): Promise<any> {
removeData(keys: string[]): Promise<any> {
return;
}
/**
* This function removes data from the Tealium volatile data store
*
* @param keyName {string} The key name that this data will removed from the Tealium data store
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Retrieves the user's consent status
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
removeVolatile(keyName: string, instanceName: string): Promise<any> {
getConsentStatus(callback?: Function): Promise<any> {
return;
}
/**
* This function removes data from the Tealium persistent data store
*
* @param keyName {string} The key name that this data will removed from the Tealium data store
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Sets the user's consent status
* @param consentStatus
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
removePersistent(keyName: string, instanceName: string): Promise<any> {
setConsentStatus(consentStatus: ConsentStatus): Promise<any> {
return;
}
/**
* This function retrieves a value from the Tealium Persistent data store
*
* @param keyName {string} The key name that this data will retrieved from the Tealium data store
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @param callback {any} A callback function that will be called when the data has been retrieved
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Retrieves the user's consent categories
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
getPersistent(keyName: string, instanceName: string, callback: any): Promise<any> {
return;
}
/**
* This function retrieves a value from the Tealium Volatile data store
*
* @param keyName {string} The key name that this data will retrieved from the Tealium data store
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @param callback {any} A callback function that will be called when the data has been retrieved
* @returns {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
getVolatile(keyName: string, instanceName: string, callback: any): Promise<any> {
getConsentCategories(callback?: Function): Promise<any> {
return;
}
/**
* This function adds a remote command for later execution
*
* @param commandName {string} The command name for this Remote Command
* @param instanceName {string} Your arbitrary Tealium instance name provided at init time
* @param callback {any} A callback function that will be called when the data has been retrieved
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Sets the user's consent categories
* @param categories
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
addRemoteCommand(commandName: string, instanceName: string, callback: any): Promise<any> {
setConsentCategories(categories: ConsentCategories[]): Promise<any> {
return;
}
/**
* This function retrieves the Tealium Visitor ID
*
* @returns {Promise<any>} Returns a promise that resolves when something happens
* Joins a trace session weith the specified Trace ID
* @param id Trace ID
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
getVisitorId(): Promise<any> {
joinTrace(id: string): Promise<any> {
return;
}
/**
* Leaves a trace session
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
leaveTrace(): Promise<any> {
return;
}
/**
* Retrieves the Tealium Visitor ID
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
getVisitorId(callback?: Function): Promise<any> {
return;
}
/**
* Sets a listener to be called when the AudienceStream visitor profile is updated
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
setVisitorServiceListener(callback?: Function): Promise<any> {
return;
}
/**
* Sets a listener to be called when the consent has expired
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
setConsentExpiryListener(callback?: Function): Promise<any> {
return;
}
/**
* Adds a remote command for later execution
* @param id The ID used to invoke the remote command
* @param callback
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
addRemoteCommand(id: string, callback?: Function): Promise<any> {
return;
}
/**
* Removes a previously-added remote command
* @param id The ID of remote command to be removed
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
removeRemoteCommand(id: string): Promise<any> {
return;
}
/**
* Removes all listeners
* @return {Promise<any>} Returns a promise that resolves when something happens
*/
@Cordova()
removeListeners(): Promise<any> {
return;
}
}

View File

@@ -0,0 +1,42 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
/**
* @name Unique Device ID
* @description
* This plugin produces a unique, cross-install, app-specific device id.
*
* @usage
* ```typescript
* import { UniqueDeviceID } from '@awesome-cordova-plugins/unique-device-id/ngx';
*
* constructor(private uniqueDeviceID: UniqueDeviceID) { }
*
* ...
*
* this.uniqueDeviceID.get()
* .then((uuid: any) => console.log(uuid))
* .catch((error: any) => console.log(error));
*
* ```
*/
@Plugin({
pluginName: 'UniqueDeviceID',
plugin: 'cordova-plugin-uniquedeviceid',
pluginRef: 'window.plugins.uniqueDeviceID',
repo: 'https://github.com/Paldom/UniqueDeviceID',
install: '', // OPTIONAL install command, in case the plugin requires variables
installVariables: [], // OPTIONAL the plugin requires variables
platforms: ['Android', 'iOS', 'Windows Phone 8'], // Array of platforms supported, example: ['Android', 'iOS']
})
@Injectable()
export class UniqueDeviceID extends AwesomeCordovaNativePlugin {
/**
* Gets a unique, cross-install, app-specific device id.
* @return {Promise<string>} Returns a promise that resolves when something happens
*/
@Cordova()
get(): Promise<string> {
return;
}
}

View File

@@ -1663,4 +1663,13 @@ export class UnviredCordovaSDK extends AwesomeCordovaNativePlugin {
registerForPushNotification(): Promise<any> {
return;
}
/**
* Regenerates the JWT token used for communicating with the UMP server.
* The updated token will be available via the registered NotificationListener's callback |JWTTokenReceived|
*/
@Cordova()
refreshJWTToken(): Promise<any> {
return;
}
}

View File

@@ -2,10 +2,42 @@ import { Injectable } from '@angular/core';
import { Plugin, Cordova, AwesomeCordovaNativePlugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
/**
* Interface for UAirship Tag Editor
*/
export interface TagGroupEditor {
addTags(): void;
removeTags(): void;
apply(): void;
addTags(tagGroup: string, tags: string[]): TagGroupEditor;
removeTags(tagGroup: string, tags: string[]): TagGroupEditor;
apply(success: () => void, failure: (message: string) => void): TagGroupEditor;
}
/**
* Interface for UAirship Attributes Editor
*/
export interface AttributesEditor {
setAttribute(name: string, value: string | number | boolean | Date): AttributesEditor;
removeAttribute(name: string): AttributesEditor;
apply(success: () => void, failure: (message: string) => void): AttributesEditor;
}
/**
* Interface for UAirship ChannelSubscriptionList Editor
*/
export interface ChannelSubscriptionListEditor {
subscribe(subscriptionListID: string): ChannelSubscriptionListEditor;
unsubscribe(subscriptionListID: string): ChannelSubscriptionListEditor;
apply(success: () => void, failure: (message: string) => void): ChannelSubscriptionListEditor;
}
export type ContactSubscriptionScope = 'app' | 'email' | 'push' | 'sms';
/**
* Interface for UAirship ContactSubscriptionList Editor
*/
export interface ContactSubscriptionListEditor {
subscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor;
unsubscribe(subscriptionListID: string, contactScope: ContactSubscriptionScope): ContactSubscriptionListEditor;
apply(success: () => void, failure: (message: string) => void): ContactSubscriptionListEditor;
}
/**
@@ -214,6 +246,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* new config will not be used until the next app start.
*
* @param {object} config The Urban Airship config.
* @param {string} config.site Sets the cloud site, must be either EU or US.
* @param {object} config.development The Urban Airship development config.
* @param {string} config.development.appKey The development appKey.
* @param {string} config.development.appSecret The development appSecret.
@@ -504,7 +537,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {string} failure.message The error message.
*/
@Cordova()
getNamedUser(): Promise<any> {
getNamedUser(): Promise<string> {
return;
}
@@ -538,24 +571,90 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
/**
* Creates an editor to modify the named user tag groups.
*
* @returns {TagGroupEditor} A tag group editor instance.
*/
@Cordova()
@Cordova({ sync: true })
editNamedUserTagGroups(): TagGroupEditor {
return;
}
/**
* Creates an editor to modify the channel tag groups.
*
* @returns {TagGroupEditor} A tag group editor instance.
*/
@Cordova()
@Cordova({ sync: true })
editChannelTagGroups(): TagGroupEditor {
return;
}
/**
* Creates an editor to modify the channel attributes.
*/
@Cordova({ sync: true })
editChannelAttributes(): AttributesEditor {
return;
}
/**
* Creates an editor to modify the named user attributes.
*/
@Cordova({ sync: true })
editNamedUserAttributes(): AttributesEditor {
return;
}
/**
* Creates an editor to modify the channel subscription lists.
*
* @returns {ChannelSubscriptionListEditor} A subscription list editor instance.
* @since 13.3.0
*/
@Cordova({ sync: true })
editChannelSubscriptionLists(): ChannelSubscriptionListEditor {
return;
}
/**
* Creates an editor to modify the contact subscription lists.
*
* @returns {ContactSubscriptionListEditor} A subscription list editor instance.
* @since 13.3.0
*/
@Cordova({ sync: true })
editContactSubscriptionLists(): ContactSubscriptionListEditor {
return;
}
/**
* Returns the current set of subscription lists for the current channel,
* optionally applying pending subscription list changes that will be applied during the next channel update.
* An empty set indicates that this contact is not subscribed to any lists.
*
* @param {Function} [success] Success callback.
* @param {string} failure.message The error message.
*/
@Cordova({
successIndex: 0,
errorIndex: 1,
})
getChannelSubscriptionLists(): Promise<string[]> {
return;
}
/**
* Returns the current set of subscription lists for the current contact,
* optionally applying pending subscription list changes that will be applied during the next contact update.
* An empty set indicates that this contact is not subscribed to any lists.
*
* @param {Function} [success] Success callback.
* @param {string} failure.message The error message.
*/
@Cordova({
successIndex: 0,
errorIndex: 1,
})
getContactSubscriptionLists(): Promise<string[]> {
return;
}
/**
* Sets an associated identifier for the Connect data stream.
*
@@ -566,7 +665,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {string} failure.message The error message.
*/
@Cordova()
setAssociatedIdentifier(key: string, identifier: string): Promise<any> {
setAssociatedIdentifier(key: string, identifier: string): Promise<void> {
return;
}
@@ -592,6 +691,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {boolean} success.enabled Flag indicating if location is enabled or not.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @deprecated removed in version 8.0
*/
@Cordova()
isLocationEnabled(): Promise<any> {
@@ -605,6 +705,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @deprecated removed in version 8.0
*/
@Cordova()
setBackgroundLocationEnabled(enabled: boolean): Promise<any> {
@@ -618,6 +719,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {boolean} success.enabled Flag indicating if background location updates are enabled or not.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @deprecated removed in version 8.0
*/
@Cordova()
isBackgroundLocationEnabled(): Promise<any> {
@@ -666,6 +768,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @deprecated removed in version 10.0
*/
@Cordova()
dismissOverlayInboxMessage(): Promise<any> {
@@ -752,6 +855,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @deprecated removed in version 10.0
*/
@Cordova()
overlayInboxMessage(messageId: string): Promise<any> {
@@ -946,4 +1050,135 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
addCustomEvent(event: object): Promise<any> {
return;
}
/**
* Initiates screen tracking for a specific app screen, must be called once per tracked screen.
*
* @param {string} screen The screen's string identifier.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 11.0.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
trackScreen(screen: string): Promise<any> {
return;
}
/**
* Enables features, adding them to the set of currently enabled features.
*
* @param {Array<string>} features The features to enable.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
enableFeature(features: string[]): Promise<any> {
return;
}
/**
* Disables features, removing them from the set of currently enabled features.
*
* @param {Array<string>} features The features to disable.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
disableFeature(features: string[]): Promise<any> {
return;
}
/**
* Sets the current enabled features, replacing any currently enabled features with the given set.
*
* @param {Array<string>} features The features to set as enabled.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
setEnabledFeatures(features: string[]): Promise<any> {
return;
}
/**
* Gets the current enabled features.
*
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
@Cordova({
successIndex: 0,
errorIndex: 1,
})
getEnabledFeatures(): Promise<any> {
return;
}
/**
* Checks if all of the given features are enabled.
*
* @param {Array<string>} features The features to check.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
isFeatureEnabled(features: string[]): Promise<any> {
return;
}
/**
* Returns the configuration of the Preference Center with the given ID trough a callback method.
*
* @param {string} preferenceCenterId The preference center ID.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.3.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
getPreferenceCenterConfig(preferenceCenterId: string): Promise<any> {
return;
}
/**
* Opens the Preference Center with the given preferenceCenterId.
*
* @param {string} prenferenceCenterId The preference center ID.
* @param {Function} [success] Success callback.
* @param {function(message)} [failure] Failure callback.
* @param {string} failure.message The error message.
* @since 13.0.0
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
})
openPreferenceCenter(prenferenceCenterId: string): Promise<any> {
return;
}
}

View File

@@ -0,0 +1,297 @@
import { Injectable } from '@angular/core';
import { AwesomeCordovaNativePlugin, Cordova, Plugin } from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface InitParams {
accountName: string;
closeWithClearVisitorData: boolean;
storeHistoryLocally: boolean;
pushToken: string;
location: string;
visitorFields: string;
}
export interface DefaultResponse {
result: string;
}
export interface Quote {
state: string;
id: string;
text: string;
url: string;
timestamp: string;
senderName: string;
authorID: string;
}
export interface Employee {
id: string;
firstname: string;
avatar: string;
}
export interface Keyboard {
state: string;
buttons: Array<KeyboardButton>;
keyboardResponse: KeyboardResponse;
}
export interface KeyboardRequest {
messageID: string;
button: KeyboardButton;
}
export interface KeyboardButton {
text: string;
id: string;
}
export interface KeyboardResponse {
buttonID: string;
messageID: string;
}
export interface Message {
id: string;
currentChatID: string;
text: string;
url: string;
imageWidth: number;
imageHeight: number;
thumbUrl: string;
timestamp: string;
sender: string;
quote: Quote;
operator: Employee;
keyboard: Keyboard;
keyboardRequest: KeyboardRequest;
isFirst: boolean;
isReadByOperator: boolean;
canBeReplied: boolean;
}
export interface DialogState {
employee: Employee;
}
export type MessagesHistoryResponse = Array<Message>;
export type MessageResponse = Message;
export type DialogStateResponse = DialogState;
/**
* @name Webim
* @description
* A cordova plugin, a JS version of Webim SDK
* @usage
* ```typescript
* import { Webim } from '@awesome-cordova-plugins/webim/ngx';
*
*
* constructor(private webim: Webim) { }
*
* ...
*
*
* this.webim.functionName('Hi bro', 42)
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
* ```
*/
@Plugin({
pluginName: 'Webim',
plugin: 'ru.webim.sdk',
pluginRef: 'webimsdk',
repo: 'https://github.com/webim/webim-cordova-plugin.git',
install: 'cordova plugin add https://github.com/webim/webim-cordova-plugin.git',
platforms: ['Android', 'iOS', 'Browser'],
})
@Injectable()
export class Webim extends AwesomeCordovaNativePlugin {
@Cordova()
init(params: InitParams): Promise<DefaultResponse> {
return;
}
@Cordova()
requestDialog(): Promise<DefaultResponse> {
return;
}
@Cordova()
getMessagesHistory(limit: number, offset: number): Promise<MessagesHistoryResponse | DefaultResponse> {
return;
}
@Cordova()
typingMessage(message: string): Promise<string> {
return;
}
@Cordova()
sendMessage(message: string): Promise<MessageResponse | DefaultResponse> {
return;
}
@Cordova()
replyMessage(message: string, repliedMessage: Message): Promise<MessageResponse | DefaultResponse> {
return;
}
@Cordova()
sendFile(filePath: string): Promise<string | DefaultResponse> {
return;
}
@Cordova()
sendSurveyAnswer(surveyAnswer: string): Promise<any> {
return;
}
@Cordova()
cancelSurvey(): Promise<any> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onMessage(): Observable<MessageResponse> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onDeletedMessage(): Observable<MessageResponse> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onFile(message: string): Observable<MessageResponse> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onTyping(): Observable<unknown> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onConfirm(): Observable<MessageResponse> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onDialog(): Observable<DialogStateResponse> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onBan(): Observable<unknown> {
return;
}
@Cordova()
close(): Promise<DefaultResponse> {
return;
}
@Cordova()
rateOperator(id: string, rating: number): Promise<any> {
return;
}
@Cordova()
rateOperatorWithNote(id: string, rating: number, note: string): Promise<any> {
return;
}
@Cordova()
sendDialogToEmailAddress(emailAddress: string): Promise<any> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onUnreadByVisitorMessageCount(): Observable<unknown> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onSurvey(): Observable<unknown> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onNextQuestion(): Observable<unknown> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onSurveyCancel(): Observable<unknown> {
return;
}
@Cordova()
getUnreadByVisitorMessageCount(): Promise<any> {
return;
}
@Cordova()
sendKeyboardRequest(): Promise<any> {
return;
}
@Cordova()
setChatRead(): Promise<any> {
return;
}
@Cordova()
getShowEmailButton(): Promise<any> {
return;
}
@Cordova()
showRateOperatorWindow(): Promise<any> {
return;
}
@Cordova({
observable: true,
clearFunction: 'close',
})
onLogging(): Observable<unknown> {
return;
}
}

View File

@@ -619,4 +619,118 @@ export class WonderPush extends AwesomeCordovaNativePlugin {
}
UserPreferences = new UserPreferencesMethods(this);
/**
* Gets the user's country, either as previously stored, or as guessed from the system.
* @returns {Promise<string>}
*/
@Cordova()
getCountry(): Promise<string> {
return;
}
/**
* Overrides the user's country. You should use an ISO 3166-1 alpha-2 country code. Defaults to getting the country code from the system default locale.
* Use `null` to disable the override.
* @param {string} country
* @returns {Promise<void>}
*/
@Cordova()
setCountry(country: string): Promise<void> {
return;
}
/**
* Gets the user's currency, either as previously stored, or as guessed from the system.
* @returns {Promise<string>}
*/
@Cordova()
getCurrency(): Promise<string> {
return;
}
/**
* Overrides the user's currency. You should use an ISO 4217 currency code. Defaults to getting the currency code from the system default locale.
* Use `null` to disable the override.
* @param {string} currency -
* @returns {Promise<void>}
*/
@Cordova()
setCurrency(currency: string): Promise<void> {
return;
}
/**
* Gets the user's locale, either as previously stored, or as guessed from the system.
* @returns {Promise<string>}
*/
@Cordova()
getLocale(): Promise<string> {
return;
}
/**
* Overrides the user's locale.
* You should use an `xx-XX` form of RFC 1766, composed of a lowercase ISO 639-1 language code, an underscore or a dash, and an uppercase ISO 3166-1 alpha-2 country code.
* Defaults to getting the locale code from the system default locale.
* Use `null` to disable the override.
* @param {string} locale -
* @returns {Promise<void>}
*/
@Cordova()
setLocale(locale: string): Promise<void> {
return;
}
/**
* Gets the user's time zone, either as previously stored, or as guessed from the system.
* @returns {Promise<string>}
*/
@Cordova()
getTimeZone(): Promise<string> {
return;
}
/**
* You should use an IANA time zone database codes, `Continent/Country` style preferably, abbreviations like `CET`, `PST`, `UTC`, which have the drawback of changing on daylight saving transitions.
* Defaults to getting the time zone code from the system default locale.
* Use `null` to disable the override.
* @param {string} timeZone -
* @returns {Promise<void>}
*/
@Cordova()
setTimeZone(timeZone: string): Promise<void> {
return;
}
/**
* Enables the collection of the user's geolocation.
* @returns {Promise<void>}
*/
@Cordova()
enableGeolocation(): Promise<void> {
return;
}
/**
* Disables the collection of the user's geolocation.
* @returns {Promise<void>}
*/
@Cordova()
disableGeolocation(): Promise<void> {
return;
}
/**
* Overrides the user's geolocation.
* Using this method you can have the user's location be set to wherever you want.
* This may be useful to use a pre-recorded location.
* @param {number} latitude
* @param {number} longitude
* @returns {Promise<void>}
*/
@Cordova()
setGeolocation(latitude: number, longitude: number): Promise<void> {
return;
}
}

View File

@@ -0,0 +1,43 @@
import { AwesomeCordovaNativePlugin, Cordova, Plugin } from '@awesome-cordova-plugins/core';
import { Injectable } from '@angular/core';
/**
* @name Zip
* @description
* A Cordova plugin to unzip files in Android and iOS.
* @usage
* ```typescript
* import { Zip } from '@awesome-cordova-plugins/zip/nx'
* ...
*
* const result = await Zip.unzip('path/to/source.zip', 'path/to/dest', (progress) =>
* console.log('Unzipping, ' + Math.round((progress.loaded / progress.total) * 100) + '%')
* );
*
* if(result === 0) console.log('SUCCESS');
* if(result === -1) console.log('FAILED');
*
* ```
*/
@Plugin({
pluginName: 'Zip',
plugin: 'cordova-plugin-zip',
pluginRef: 'zip',
repo: 'https://github.com/MobileChromeApps/cordova-plugin-zip',
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Zip extends AwesomeCordovaNativePlugin {
/**
* Extracts files from a ZIP archive
* @param {string} sourceZip Source ZIP file
* @param {string} destFolder Destination folder
* @param {Function} onProgress optional callback to be called on progress update
* @returns {Promise<number>} returns a promise that resolves with a number. 0 is success, -1 is error
*/
@Cordova()
unzip(sourceZip: string, destFolder: string, onProgress?: Function): Promise<number> {
return;
}
}

View File

@@ -17,5 +17,9 @@
"sourceMap": true
},
"include": ["src/@awesome-cordova-plugins/core/**/*.ts"],
"exclude": ["node_modules", "src/@awesome-cordova-plugins/core/**/*.spec.ts"]
"exclude": ["node_modules", "src/@awesome-cordova-plugins/core/**/*.spec.ts"],
"angularCompilerOptions": {
"genDir": "aot",
"compilationMode": "partial"
}
}

View File

@@ -21,6 +21,7 @@
},
"include": ["src/@awesome-cordova-plugins/plugins/**/*.ts"],
"angularCompilerOptions": {
"genDir": "aot"
"genDir": "aot",
"compilationMode": "partial"
}
}