mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-02-04 00:06:19 +08:00
Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
792cb5ce11 | ||
|
|
d3f2b02b30 | ||
|
|
4a42674d6b | ||
|
|
7de0f637fd | ||
|
|
8e257f3e08 | ||
|
|
0a772198fb | ||
|
|
1f8545f739 | ||
|
|
52acb0d003 | ||
|
|
b721017a17 | ||
|
|
c6794d2257 | ||
|
|
d2613cb17f | ||
|
|
145a60685e | ||
|
|
72dc59123a | ||
|
|
204d7df921 | ||
|
|
827e722d4c | ||
|
|
77730dd2e1 | ||
|
|
021ba2c68b | ||
|
|
65165200d7 | ||
|
|
bb1f3268de | ||
|
|
24c61a50a7 | ||
|
|
d382e3e17e | ||
|
|
e03e869f76 | ||
|
|
72cc3c79e6 | ||
|
|
fce7f2c1af | ||
|
|
286d7d8298 |
23
CHANGELOG.md
23
CHANGELOG.md
@@ -1,3 +1,26 @@
|
||||
## [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)
|
||||
|
||||
|
||||
|
||||
1903
package-lock.json
generated
1903
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "awesome-cordova-plugins",
|
||||
"version": "5.38.0",
|
||||
"version": "5.39.1",
|
||||
"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)",
|
||||
@@ -35,40 +35,40 @@
|
||||
"@types/fs-extra": "9.0.13",
|
||||
"@types/jest": "27.4.0",
|
||||
"@types/lodash": "4.14.178",
|
||||
"@types/node": "16.11.21",
|
||||
"@types/node": "16.11.24",
|
||||
"@types/rimraf": "3.0.2",
|
||||
"@types/webpack": "5.28.0",
|
||||
"@typescript-eslint/eslint-plugin": "5.10.1",
|
||||
"@typescript-eslint/parser": "5.10.1",
|
||||
"@typescript-eslint/eslint-plugin": "5.11.0",
|
||||
"@typescript-eslint/parser": "5.11.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": "8.7.0",
|
||||
"eslint": "8.9.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-jsdoc": "37.7.0",
|
||||
"eslint-plugin-jsdoc": "37.9.1",
|
||||
"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.7",
|
||||
"lint-staged": "12.3.2",
|
||||
"jest": "27.5.1",
|
||||
"lint-staged": "12.3.3",
|
||||
"lodash": "4.17.21",
|
||||
"minimist": "1.2.5",
|
||||
"prettier": "2.5.1",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "2.66.1",
|
||||
"rollup": "2.67.2",
|
||||
"rxjs": "6.6.7",
|
||||
"terser-webpack-plugin": "5.3.0",
|
||||
"terser-webpack-plugin": "5.3.1",
|
||||
"ts-jest": "27.1.3",
|
||||
"ts-node": "10.4.0",
|
||||
"ts-node": "10.5.0",
|
||||
"typescript": "4.1.6",
|
||||
"unminified-webpack-plugin": "3.0.0",
|
||||
"webpack": "5.67.0",
|
||||
"winston": "3.4.0",
|
||||
"webpack": "5.68.0",
|
||||
"winston": "3.5.1",
|
||||
"zone.js": "0.11.4"
|
||||
},
|
||||
"jest": {
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user