Compare commits

...

25 Commits

Author SHA1 Message Date
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
6 changed files with 1095 additions and 1255 deletions

View File

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

File diff suppressed because it is too large Load Diff

View File

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

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

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

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