Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to [email protected] #4658

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
* [GCDWebServer](plugins/gcdwebserver.md)
* [Smtp Client](plugins/smtp-client.md)
* [Cashfree PG](plugins/cashfree-pg/README.md)
* [Save Dialog](plugins/save-dialog/README.md)
* [Installation](installation.md)
* [FAQ](faq.md)

18 changes: 18 additions & 0 deletions docs/plugins/save-dialog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Save Dialog

```text
$ ionic cordova plugin add cordova-plugin-save-dialog
$ npm install @awesome-cordova-plugins/save-dialog
```

## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/save-dialog/)

Plugin Repo: [https://github.com/Amphiluke/cordova-plugin-save-dialog](https://github.com/Amphiluke/cordova-plugin-save-dialog)

This Cordova plugin displays the native Save dialog which allows users to store a file in the selected location.

## Supported platforms

* Android
* iOS

20 changes: 20 additions & 0 deletions docs/plugins/save-dialog/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Save Dialog

```text
$ ionic cordova plugin add cordova-plugin-save-dialog
$ npm install @awesome-cordova-plugins/save-dialog
```

## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/save-dialog/)

Plugin Repo: [https://github.com/Amphiluke/cordova-plugin-save-dialog](https://github.com/Amphiluke/cordova-plugin-save-dialog)

This Cordova plugin displays the native Save dialog which allows users to store a file in the selected location.

## Supported platforms

* Android
* iOS



5 changes: 1 addition & 4 deletions docs/plugins/smtp-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ Plugin Repo: [https://github.com/CWBudde/cordova-plugin-smtp-client](https://git
## Supported platforms

- Android
- iOS



- iOS
153 changes: 153 additions & 0 deletions src/@awesome-cordova-plugins/plugins/clevertap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,28 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
markReadInboxMessageForId(messageId: string): Promise<any> {
return;
}

/**
* Call this to Mark Read Inbox Messages For Ids in bulk
*
* @param messageIds {any} array of strings
* @returns {Promise<any>}
*/
@Cordova()
markReadInboxMessagesForIds(messageIds: any): Promise<any> {
return;
}

/**
* Call this to dismiss Inbox
*
* @returns {Promise<any>}
*/
@Cordova()
dismissInbox(): Promise<any> {
return;
}

/**
* Call this to Mark Push Inbox Notification Viewed Event for Id
*
Expand Down Expand Up @@ -893,6 +914,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get Feature Flag for key
*
* @param key {string}
Expand All @@ -905,6 +927,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Set Defaults for Product Config
*
* @param defaults {any}
Expand All @@ -916,6 +939,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this for Product Config Fetch
*
* @param defaults {any}
Expand All @@ -927,6 +951,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this for Product Config Fetch with Min Interval
*
* @param timeInterval {number}
Expand All @@ -938,6 +963,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this for Product Config Activate
*
* @returns {Promise<any>}
Expand All @@ -948,6 +974,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this for Product Config Fetch and Activate
*
* @returns {Promise<any>}
Expand All @@ -958,6 +985,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to set Product Config Fetch with Min Interval
*
* @param timeInterval {number}
Expand All @@ -969,6 +997,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get Last Fetch Time Interval
*
* @returns {Promise<any>}
Expand All @@ -979,6 +1008,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get String
*
* @param key {string}
Expand All @@ -990,6 +1020,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get Boolean
*
* @param key {string}
Expand All @@ -1001,6 +1032,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get Long
*
* @param key {string}
Expand All @@ -1012,6 +1044,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Get Double
*
* @param key {string}
Expand All @@ -1023,6 +1056,7 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
}

/**
* @deprecated - Since version 2.7.0 and will be removed in the future versions of this SDK.
* Call this to Reset Product Config
*
* @returns {Promise<any>}
Expand All @@ -1032,6 +1066,125 @@ export class CleverTap extends AwesomeCordovaNativePlugin {
return;
}

/****************************
* Product Experiences methods
****************************/

/**
*
* Uploads variables to the server. Requires Development/Debug build/configuration.
* @returns {Promise<any>}
*/
@Cordova()
syncVariables(): Promise<any> {
return;
}

/**
* Uploads variables to the server.
* @param {boolean} isProduction Provide `true` if variables must be sync in Productuon build/configuration.
* @returns {Promise<any>}
*
*
* Note: This is NO-OP in Android
*/
@Cordova()
syncVariablesinProd(isProduction: boolean): Promise<any> {
return;
}

/**
* Forces variables to update from the server.
* @returns {Promise<any>}
*/
@Cordova()
fetchVariables(): Promise<any> {
return;
}

/**
* Create variables.
* @returns {Promise<any>}
* @param {object} variables The JSON Object specifying the varibles to be created.
*/
@Cordova()
defineVariables(variables: any): Promise<any> {
return;
}

/**
* Get a variable or a group for the specified name.
* @param {string} name - name.
* @returns {Promise<any>}
*/
@Cordova()
getVariable(name: string): Promise<any> {
return;
}

/**
* Get all variables via a JSON object.
* @returns {Promise<any>}
*/
@Cordova()
getVariables(): Promise<any> {
return;
}

/**
* Adds a callback to be invoked when variables are initialised with server values. Will be called each time new values are fetched.
* @returns {Promise<any>}
*/
@Cordova()
onVariablesChanged(): Promise<any> {
return;
}

/**
* Called when the value of the variable changes.
* @param {name} string the name of the variable
* @returns {Promise<any>}
*/
@Cordova()
onValueChanged(name: string): Promise<any> {
return;
}

/****************************
* Android 13 Push Primer
****************************/

/**
* Method to prompt the push primer for android 13 onwards.
* @param {object} value - key-value belongs to the localInApp properties. Refer documentation for details.
* @returns {Promise<any>}
*/
@Cordova()
promptPushPrimer(localInAppObject: any): Promise<any> {
return;
}

/**
* Method to prompt the hard permission dialog directly, if the push primer is not required.
* @param {string} showFallbackSettings - If the value is true then SDK shows an alert dialog which routes to app's notification settings page.
* @returns {Promise<any>}
*/
@Cordova()
promptForPushPermission(showFallbackSettings: boolean): Promise<any> {
return;
}

/**
* Returns true/false based on whether push permission is granted or denied.
*
* @returns {Promise<any>}
*/
@Cordova()
isPushPermissionGranted(): Promise<any> {
return;
}


/*******************
* Developer Options
******************/
Expand Down
Loading