Compare commits

...

240 Commits

Author SHA1 Message Date
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
49 changed files with 3345 additions and 3058 deletions

View File

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

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

@@ -11,9 +11,9 @@ jobs:
node-version: [14.x]
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.0.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.5.0
uses: actions/setup-node@v3.2.0
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,8 +9,8 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v2.5.0
- uses: actions/checkout@v3.0.2
- uses: actions/setup-node@v3.2.0
with:
node-version: 14
- name: Install dependencies
@@ -24,8 +24,8 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/setup-node@v2.5.0
- uses: actions/checkout@v3.0.2
- uses: actions/setup-node@v3.2.0
with:
node-version: 14
registry-url: https://registry.npmjs.org/

View File

@@ -13,7 +13,7 @@ jobs:
pull-requests: write
steps:
- uses: actions/stale@v4
- uses: actions/stale@v5
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,96 @@
# [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)

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,8 @@
* [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)
* [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,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

@@ -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"

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

@@ -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

4320
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.2",
"version": "5.43.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.0"
},
"devDependencies": {
"@angular/common": "^11.2.14",
"@angular/compiler": "^11.2.14",
"@angular/compiler-cli": "^11.2.14",
"@angular/core": "^11.2.14",
"@angular/common": "11.2.14",
"@angular/compiler": "11.2.14",
"@angular/compiler-cli": "11.2.14",
"@angular/core": "11.2.14",
"@types/cordova": "0.0.34",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.12",
"@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.1",
"@types/lodash": "4.14.182",
"@types/node": "16.11.36",
"@types/rimraf": "3.0.2",
"@types/webpack": "5.28.0",
"@typescript-eslint/eslint-plugin": "5.26.0",
"@typescript-eslint/parser": "5.26.0",
"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": "^37.2.0",
"fs-extra": "^10.0.0",
"gulp": "^4.0.2",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"jest": "^27.4.3",
"lint-staged": "^12.1.2",
"lodash": "^4.17.21",
"minimist": "^1.2.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.61.0",
"rxjs": "^6.6.7",
"terser-webpack-plugin": "^5.2.5",
"ts-jest": "^27.1.1",
"ts-node": "^10.4.0",
"typescript": "~4.1.6",
"unminified-webpack-plugin": "^3.0.0",
"webpack": "^5.65.0",
"winston": "^3.3.3",
"zone.js": "^0.11.4"
"eslint": "8.16.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "39.3.1",
"fs-extra": "10.1.0",
"gulp": "4.0.2",
"gulp-rename": "2.0.0",
"gulp-replace": "1.1.3",
"husky": "8.0.1",
"is-ci": "3.0.1",
"jest": "27.5.1",
"lint-staged": "12.4.2",
"lodash": "4.17.21",
"minimist": "1.2.6",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"rollup": "2.74.1",
"rxjs": "6.6.7",
"terser-webpack-plugin": "5.3.1",
"ts-jest": "27.1.5",
"ts-node": "10.8.0",
"typescript": "4.1.6",
"unminified-webpack-plugin": "3.0.0",
"webpack": "5.72.1",
"winston": "3.7.2",
"zone.js": "0.11.5"
},
"jest": {
"testEnvironment": "jsdom",

5
renovate.json Normal file
View File

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

View File

@@ -31,7 +31,7 @@ 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 RXJS_VERSION = '^5.5.0 || ^6.5.0 || ^7.3.0';
const PLUGIN_PEER_DEPENDENCIES = {
'@awesome-cordova-plugins/core': MIN_CORE_VERSION,

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

@@ -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

@@ -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

@@ -474,28 +474,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 +487,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 +499,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 +510,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 +592,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 +727,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
/****************************
* Notification Inbox methods
****************************/
/**
* Call this method to initialize the App Inbox
*/
@@ -785,293 +837,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 +973,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getString(): Promise<any> {
getString(key: string): Promise<any> {
return;
}
@@ -1219,7 +984,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getBoolean(): Promise<any> {
getBoolean(key: string): Promise<any> {
return;
}
@@ -1230,7 +995,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getLong(): Promise<any> {
getLong(key: string): Promise<any> {
return;
}
@@ -1241,7 +1006,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
getDouble(): Promise<any> {
getDouble(key: string): Promise<any> {
return;
}

View File

@@ -0,0 +1,167 @@
import { Injectable } from '@angular/core';
import {
Plugin,
Cordova,
CordovaProperty,
CordovaInstance,
InstanceProperty,
AwesomeCordovaNativePlugin,
} from '@awesome-cordova-plugins/core';
import { Observable } from 'rxjs';
export interface FrameResult {
frameWidth: number;
frameHeight: number;
results: BarcodeResult[];
}
export interface BarcodeResult {
barcodeText: string;
barcodeFormat: string;
x1: number;
x2: number;
x3: number;
x4: number;
y1: number;
y2: number;
y3: number;
y4: number;
}
/**
* @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 dceLicense {string} License of Dynamsoft Camera Enhancer
* @return {Observable<FrameResult>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2,
observable: true,
})
startScanning(dceLicense?: string): 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;
}
}

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

@@ -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

@@ -849,10 +849,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

@@ -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,6 +1,8 @@
import { Injectable } from '@angular/core';
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',
@@ -39,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
@@ -64,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. */
@@ -89,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
@@ -130,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)
@@ -286,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

@@ -505,6 +505,7 @@ export class IAPError {
* | +--> APPROVED +--------------------------------+--> FINISHED +--> OWNED
* | |
* +-------------------------------------------------------------+
* ```
*
* #### Notes
*
@@ -914,4 +915,8 @@ 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

@@ -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

@@ -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

@@ -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) { }

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

@@ -2,10 +2,40 @@ 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;
}
/**
* Interface for UAirship ContactSubscriptionList Editor
*/
export interface ContactSubscriptionListEditor {
subscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor;
unsubscribe(subscriptionListID: string, contactScope: 'APP' | 'EMAIL'): ContactSubscriptionListEditor;
apply(success: () => void, failure: (message: string) => void): ContactSubscriptionListEditor;
}
/**
@@ -214,6 +244,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 +535,7 @@ export class UrbanAirShip extends AwesomeCordovaNativePlugin {
* @param {string} failure.message The error message.
*/
@Cordova()
getNamedUser(): Promise<any> {
getNamedUser(): Promise<string> {
return;
}
@@ -538,24 +569,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: 1,
errorIndex: 2,
})
getChannelSubscriptionLists(): Promise<any> {
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: 1,
errorIndex: 2,
})
getContactSubscriptionLists(): Promise<any> {
return;
}
/**
* Sets an associated identifier for the Connect data stream.
*
@@ -592,6 +689,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 +703,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 +717,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 +766,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 +853,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 +1048,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

@@ -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"
}
}